5 ms·
Because JavaScript runtimes are the best dynamic language VMs by a long shot.
by peterhunt 13y ago
Because JavaScript runtimes are the best dynamic language VMs by a long shot.
- admax88q 13y agoThe JVM would like to have a word with you.
- drdaeman 13y agoNitpicking: while JVM implementations can run, they're not particularly tailored for dynamically typed languages.
- SimHacker 13y agoLuaJIT would like to have a word with JVM. Plus, Lua isn't controlled by a creepy asshole who thinks the NSA is essential and says stupid shit like "Who's ever heard of government misusing information?"
- drdaeman 13y agoI'm curious. I persume, with quite powerful hardware, task's not going to be trivial and may require some concurrently running processes. JVM has threads. Akka adds actors (those seem quite nice when used with Scala). Does Lua/LuaJIT offer something simple-looking-yet-powerful in that area?
- anonymoushn 13y agoThis comment is a bit incoherent, so I'm not sure if I'm responding correctly at all. Your C/C++ program can contain any number of Lua states, and can also contain an infrastructure for passing messages between these states. The states themselves are single-threaded. Within a single Lua state, you can have any number of coroutines, but these do not work like JVM threads or goroutines; they must be scheduled explicitly.
- peterhunt 13y agoI don't think invokedynamic beats V8.
- MatthewPhillips 13y agoI'll wait an hour for it to warm up, then come back and hear what it has to say.
- dkuntz2 13y agoSource?