Re:Call for support for Lisp in WebAssembly development
by dreamcompiler on Saturday March 12, 2016 @06:02PM
(#11275147)
The original rationale for the JVM -- "write once, run anywhere" -- no longer exists since nobody downloads applets anymore.
The more sensible technology for making code run on multiple platforms still works quite well. It's called a compiler.
Re:Call for support for Lisp in WebAssembly development
by qwertyuiop924 on Tuesday March 15, 2016 @07:43AM
(#11288873)
Not if you make OS specific syscalls. Your system has to account for the fact that not everybody runs on the same system. VMs do that, and do it far better than most compilers, when it comes to reliable cross-platform without doing a ton of re-writing.
The problem with a modern CPU+OS as a VM is that it cannot be re-implemented on other hardware effectively. you can't pull a piece of software designed to run on the x86+unix "VM" and write a VM to make it run on ARM+Windows. Not fast, not in a way that you'd want to use. Try writing native code translation fast enough that you can run Quake3 without even noticing the difference. That's why VMs exist.