3 ms·
No. WASM will have the same problem that every "run everywhere" system ever had: what makes software hard to port is not the ability to execute it, it's the env
by marcosdumay 4y ago
No. WASM will have the same problem that every "run everywhere" system ever had: what makes software hard to port is not the ability to execute it, it's the environment differences.
But it will be a powerful low trust portable VM, like none mainstream today. Odds are it kills Lua.
(And yeah, it removes the Javascript monopoly on the browser. At this point, it can't be killed, but it will shrink.)
- satvikpendem 4y agoPerhaps we can compile a Docker image into WASM too, we've seen Postgres recently. Or do you mean something else?
- chubot 4y agoLua is more like a C library and less like a VM. (Similarly, LLVM isn't a VM, which is a common misunderstanding, given the name) As far as I know, people don't ship code to remote Lua VMs and execute it. There is no compatibility guarantee across versions, and there are nontrivial compile-time options (like what the number type is). That doesn't mean Lua isn't useful; it's just not designed for the same things that WASM is.
- marcosdumay 4y ago> As far as I know, people don't ship code to remote Lua VMs and execute it. So, you never used some software scripted with Lua? Or just never shared scripts? Lua does have other uses, but the vast majority of it is as a low trust VM.