Designing an ultra low-overhead multithreading runtime for Nimlow-overhead multithreading runtime for Nim Mamy Ratsimbazafy mamy@numforge.co Weave https://github.com/mratsim/weave Hello! I am Mamy Ratsimbazafy During the day blockchain/Ethereum 2 developer (in Imperative: pass a “ready” handle between the data producer and the consumer(s). => Strategy used in Weave, the handle is called a Pledge (~Promises with adapted semantics) Can be implemented with broadcasting Memory overhead 26 Zoom on cactus stacks / segmented stacks https://github.com/mratsim/weave/blob/v0.3.0/weave/memory/multithreaded_ memory_management.md - Plagued Go and Rust (abandoned) - Decades0 码力 | 37 页 | 556.64 KB | 1 年前3
Computer Programming with the Nim Programming Language
may be used by the spawn construct or the parallel keyword. Furthermore, external packages, like weave, can be used for high-performance parallel processing. And finally, when we use the C compiler backend advanced WEAVE package. Recently, two more modules for threading support, called Malebolgia and Constantine, have arrived. https://github.com/status-im/nim-taskpools https://github.com/mratsim/weave https://github Malebolgia We already mentioned a few external packages for parallel code execution, including Weave, Taskpools, and Malebolgia. While Malebolgia is not yet part of Nim’s standard library, it was created0 码力 | 865 页 | 7.45 MB | 1 年前3
Computer Programming with the Nim Programming Language
may be used by the spawn construct or the parallel keyword. Furthermore, external packages, like weave, can be used for high-performance parallel processing. And finally, when we use the C compiler backend advanced WEAVE package. Recently, two more modules for threading support, called Malebolgia and Constantine, have arrived. https://github.com/status-im/nim-taskpools https://github.com/mratsim/weave https://github Malebolgia We already mentioned a few external packages for parallel code execution, including Weave, Taskpools, and Malebolgia. While Malebolgia is not yet part of Nim’s standard library, it was created0 码力 | 784 页 | 2.13 MB | 1 年前3
Computer Programming with the Nim Programming Languagemay be used by the spawn construct or the par allel keyword. Furthermore, external packages, like weave, can be used for high-performance paral lel processing. And finally, when we use the C compiler Constantine, have arrived. • https://github.com/status-im/nim-taskpools • https://github.com/mratsim/weave • https://github.com/Araq/malebolgia Using the threads module to create new threads If for some Malebolgia We already mentioned a few external packages for parallel code execution, including Weave, Taskpools, and Malebolgia. While Malebolgia is not yet part of Nim’s standard library, it was cre0 码力 | 512 页 | 3.54 MB | 1 年前3
Computer Programming with the Nim Programming Languagemay be used by the spawn construct or the parallel key word. Furthermore, external packages, like weave, can be used for high-performance parallel process ing. And finally, when we use the C compiler Constantine, have arrived. • https://github.com/status-im/nim-taskpools • https://github.com/mratsim/weave • https://github.com/Araq/malebolgia Using the threads module to create new threads If for some Malebolgia We already mentioned a few external packages for parallel code execution, including Weave, Taskpools, and Malebolgia. While Malebolgia is not yet part of Nim’s standard library, it was created0 码力 | 508 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming Languagemay be used by the spawn construct or the par allel keyword. Furthermore, external packages, like weave, can be used for high-performance paral lel processing. And finally, when we use the C compiler Constantine, have arrived. • https://github.com/status-im/nim-taskpools • https://github.com/mratsim/weave • https://github.com/Araq/malebolgia Using the threads module to create new threads If for some Malebolgia We already mentioned a few external packages for parallel code execution, including Weave, Taskpools, and Malebolgia. While Malebolgia is not yet part of Nim’s standard library, it was cre0 码力 | 512 页 | 3.53 MB | 1 年前3
Computer Programming with the Nim Programming Languagemay be used by the spawn construct or the parallel key word. Furthermore, external packages, like weave, can be used for high-performance parallel process ing. And finally, when we use the C compiler Constantine, have arrived. • https://github.com/status-im/nim-taskpools • https://github.com/mratsim/weave • https://github.com/Araq/malebolgia Using the threads module to create new threads If for some Malebolgia We already mentioned a few external packages for parallel code execution, including Weave, Taskpools, and Malebolgia. While Malebolgia is not yet part of Nim’s standard library, it was created0 码力 | 508 页 | 3.54 MB | 1 年前3
Computer Programming with the Nim Programming Languagemay be used by the spawn construct or the parallel key word. Furthermore, external packages, like weave, can be used for high-performance parallel process ing. And finally, when we use the C compiler Constantine, have arrived. • https://github.com/status-im/nim-taskpools • https://github.com/mratsim/weave • https://github.com/Araq/malebolgia Using the threads module to create new threads If for some Malebolgia We already mentioned a few external packages for parallel code execution, including Weave, Taskpools, and Malebolgia. While Malebolgia is not yet part of Nim’s standard library, it was created0 码力 | 508 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming Languagemay be used by the spawn construct or the parallel key word. Furthermore, external packages, like weave, can be used for high-performance parallel process ing. And finally, when we use the C compiler Constantine, have arrived. • https://github.com/status-im/nim-taskpools • https://github.com/mratsim/weave • https://github.com/Araq/malebolgia Using the threads module to create new threads If for some Malebolgia We already mentioned a few external packages for parallel code execution, including Weave, Taskpools, and Malebolgia. While Malebolgia is not yet part of Nim’s standard library, it was created0 码力 | 508 页 | 3.52 MB | 1 年前3
Computer Programming with the Nim Programming Languagemay be used by the spawn construct or the parallel key word. Furthermore, external packages, like weave, can be used for high-performance parallel process ing. And finally, when we use the C compiler Constantine, have arrived. • https://github.com/status-im/nim-taskpools • https://github.com/mratsim/weave • https://github.com/Araq/malebolgia Using the threads module to create new threads If for some Malebolgia We already mentioned a few external packages for parallel code execution, including Weave, Taskpools, and Malebolgia. While Malebolgia is not yet part of Nim’s standard library, it was created0 码力 | 508 页 | 3.53 MB | 1 年前3
共 29 条
- 1
- 2
- 3













