News for hackers. Stuff that matters.
Re:Moonshine – A lightweight Lua VM for the browser by rubiquity on Tuesday April 01, 2014 @09:20AM (#7507874)
Personally, I feel that the biggest slap in the face to developers in the last decade is that V8 uses native code instead of byte code. In 10-20 years I hope we look back on Google's decision to do that and hate them for it.
Re:Moonshine – A lightweight Lua VM for the browser by CmonDev on Tuesday April 01, 2014 @01:01PM (#7509773)
"In 10-20 years" - let's hope ES6 is released before that.
Re:Moonshine – A lightweight Lua VM for the browser by herokusaki on Tuesday April 01, 2014 @07:40PM (#7512565)
Honest question: why is it a slap in the face to developers?
Re:Moonshine – A lightweight Lua VM for the browser by rubiquity on Sunday April 06, 2014 @11:52AM (#7541330)
Because we could then have a virtual machine that we could send bytecode to, instead of having all of these languages that compile to JavaScript, which eventually gets compiled to native code by V8.
Re:Moonshine – A lightweight Lua VM for the browser by jlebrech on Tuesday April 01, 2014 @09:25AM (#7507911)
it compiles to an ast first
Re:Moonshine – A lightweight Lua VM for the browser by stcredzero on Tuesday April 01, 2014 @10:34AM (#7508452)
Years ago at Camp Smalltalk, Smalltalk VM implementers talked about compiling everything to ASTs instead of bytecode.
Re:Moonshine – A lightweight Lua VM for the browser by espadrine on Tuesday April 01, 2014 @11:22AM (#7508919)
I do understand why nobody would want to target Hydrogen directly, but here's a Hydrogen IR inspector tool: http://mrale.ph/irhydra/1/#ir