Get the latest tech news

Show HN: Asyncpal: Preemptive concurrency and parallelism for sporadic workloads


Preemptive concurrency and parallelism for sporadic workloads - pyrustic/asyncpal

Additionally, a Future class (never directly instantiated by the user) is provided, whose objects allow a task to be cancelled or its result to be collected. Overall, the characteristics of Asyncpal make it suitable for both implicit use in the background through higher-level abstractions provided by frameworks or libraries, and for explicit use with or without a context manager. Feel free to open an issue to report a bug, suggest some changes, show some useful code snippets, or discuss anything related to this project.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of parallelism

parallelism

Photo of sporadic workloads

sporadic workloads

Photo of Asyncpal

Asyncpal

Related news:

News photo

SIMD < SIMT < SMT: Parallelism in Nvidia GPUs (2011)