# hpx

Published articles for hpx.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Parallel Computing in Node.js via HPX Addons

DevFeed: [Parallel Computing in Node.js via HPX Addons](<https://devfeed.tech/articles/parallel-computing-in-node-js-via-hpx-addons-25136.md>)

Original publisher: [Read original article](<https://blog.brakmic.com/parallel-computing-in-node-js-via-hpx-addons/>)

Author: brakmic

Published: 2024-12-16T13:21:02Z

Content type: tutorial

Language: en

Sources: [Harris Brakmic - Coding](<https://devfeed.tech/sources/harris-brakmic-coding.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>)

Tags: [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [coding](<https://devfeed.tech/tags/coding.md>), [hpx](<https://devfeed.tech/tags/hpx.md>), [integration](<https://devfeed.tech/tags/integration.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [nodejs](<https://devfeed.tech/tags/nodejs.md>), [performance](<https://devfeed.tech/tags/performance.md>)

### AI overview

A practical guide to building a Node.js addon that integrates HPX, a C++ parallelization framework. It explains integration challenges such as asynchronous operations, thread management, predicate functions, data-copy overhead, and performance trade-offs, with examples and benchmark results for algorithms including countIf and sort.

### Source excerpt

Explore building a Node.js addon with HPX, a C++ parallelization framework. This article covers the integration challenges, such as managing asynchronous operations and reducing performance overhead. Learn how batch predicate functions can enhance the performance of complex algorithms like countIf and sort, while simpler tasks see limited gains. Ideal for developers interested in combining JavaScript with parallel C++ capabilities, the guide includes practical examples and benchmark results.

## Revisiting HPX

DevFeed: [Revisiting HPX](<https://devfeed.tech/articles/revisiting-hpx-25138.md>)

Original publisher: [Read original article](<https://blog.brakmic.com/revisiting-hpx/>)

Author: brakmic

Published: 2024-09-23T09:53:03Z

Content type: tutorial

Language: en

Sources: [Harris Brakmic - Coding](<https://devfeed.tech/sources/harris-brakmic-coding.md>)

Topics: [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Testing](<https://devfeed.tech/topics/testing.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [coding](<https://devfeed.tech/tags/coding.md>), [cpp](<https://devfeed.tech/tags/cpp.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-computing](<https://devfeed.tech/tags/distributed-computing.md>), [examples](<https://devfeed.tech/tags/examples.md>), [framework](<https://devfeed.tech/tags/framework.md>), [hpx](<https://devfeed.tech/tags/hpx.md>), [installation](<https://devfeed.tech/tags/installation.md>), [macos](<https://devfeed.tech/tags/macos.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [parallelism](<https://devfeed.tech/tags/parallelism.md>), [programming](<https://devfeed.tech/tags/programming.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

This hands-on article revisits HPX, a runtime system for asynchronous, parallel, and distributed computing. It covers installation on macOS, configuration, compilation, and testing, and discusses HPX features including task-based parallelism and components.

### Source excerpt

This article explores the powerful parallelization and distributed computing capabilities of the HPX framework. Starting with installation on macOS, it walks through configuring, compiling, and testing HPX on a modest machine, highlighting key features like asynchronous programming, task-based parallelism, and HPX components. Whether new to HPX or looking for practical examples, this guide offers a hands-on approach to understanding and utilizing HPX in real-world scenarios.