Designing an ultra low-overhead multithreading runtime for NimClients-server - Video decoding - ... Cooperative vs Preemptive 10 Cooperative multithreading: - Coroutines, fibers, green threads, first-class continuations - Userland, lightweight context switches - depth-restricted and does not scale on certain workloads) - Practical solutions for passing task inputs - coroutines/continuation (save/restore a “task frame”) - capturing inputs by value and saving in the task0 码力 | 37 页 | 556.64 KB | 1 年前3
Nim - the first high performance language with full support for hot codereloading at runtimeby the NimVM concepts discriminated unions strong typedefs (distinct type) - can has $ currency? coroutines & closures switch & pattern matching dynamic dispatch & multi-methods converters - explicit (for0 码力 | 63 页 | 2.91 MB | 1 年前3
Computer Programming with the Nim Programming Language
library. Some other programming languages like Lua or Go offer also virtual (green) threads, or coroutines and fibers, and some languages use the CPS system for a very flexible parallel and asynchronous0 码力 | 865 页 | 7.45 MB | 1 年前3
Computer Programming with the Nim Programming Language
library. Some other programming languages like Lua or Go offer also virtual (green) threads, or coroutines and fibers, and some languages use the CPS system for a very flexible parallel and asynchronous0 码力 | 784 页 | 2.13 MB | 1 年前3
Computer Programming with the Nim Programming Languagelibrary. Some other programming languages like Lua or Go offer also virtual (green) threads, or coroutines and fibers, and some languages use the CPS system for a very flexible parallel and asynchronous0 码力 | 512 页 | 3.54 MB | 1 年前3
Computer Programming with the Nim Programming Languagelibrary. Some other programming languages like Lua or Go offer also virtual (green) threads, or coroutines and fibers, and some languages use the CPS system for a very flexible parallel and asynchronous0 码力 | 508 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming Languagelibrary. Some other programming languages like Lua or Go offer also virtual (green) threads, or coroutines and fibers, and some languages use the CPS system for a very flexible parallel and asynchronous0 码力 | 512 页 | 3.53 MB | 1 年前3
Computer Programming with the Nim Programming Languagelibrary. Some other programming languages like Lua or Go offer also virtual (green) threads, or coroutines and fibers, and some languages use the CPS system for a very flexible parallel and asynchronous0 码力 | 508 页 | 3.54 MB | 1 年前3
Computer Programming with the Nim Programming Languagelibrary. Some other programming languages like Lua or Go offer also virtual (green) threads, or coroutines and fibers, and some languages use the CPS system for a very flexible parallel and asynchronous0 码力 | 508 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming Languagelibrary. Some other programming languages like Lua or Go offer also virtual (green) threads, or coroutines and fibers, and some languages use the CPS system for a very flexible parallel and asynchronous0 码力 | 508 页 | 3.52 MB | 1 年前3
共 30 条
- 1
- 2
- 3













