5 ms·
What does it mean by a language can be multiplexed trivially?
by iamcreasy 10y ago
What does it mean by a language can be multiplexed trivially?
- qwertyuiop924 10y agoYou can run multiple interpreters, embedded in the same application, in separate threads: multiplexing, as you have multiple instances, as opposed to multithreading, where you have a single instance.
- safewayclubcard 10y agoIs that what https://github.com/rvirding/luerl https://github.com/rvirding/luerl is doing in the erlang VM? From the docs: > It should give you a Lua environment that allows you to effortlessly run tens of thousands of Lua processes in parallel, leveraging the famed microprocesses implementation of the Erlang VM. The empty Luerl State footprint will be yet smaller than the C Lua State footprint.
- qwertyuiop924 10y agoYes. Lua does it quite well by default. Apparently, luerl aspires to do it better.
- duaneb 10y agoIt really speaks more to the runtime than the language. There's nothing fundamentally anti-parallel about lua, but even just concurrent GC is difficult to execute well. Look at how big of a deal Go's recent low latency claims are.