3 ms·
Lua already has coroutines. I think if you're looking to peg multiple cores or SIMD then your going to want to drop down to another language anyway.
by vvanders 10y ago
Lua already has coroutines. I think if you're looking to peg multiple cores or SIMD then your going to want to drop down to another language anyway.
- redahs 10y agoI do use C, but my point is that it is feasible to incorporate both of those features in an embedded VM, by using Erlang style actors for concurrency, and by providing builtin vector types that use SIMD instructions where available. If future language designers were to do so, they would be able to better differentiate their language from Lua, which does not provide these features.