Hacker News new | ask | show | jobs
by notsohuman 3335 days ago
I mean an actual compiler rather which is much more optimized than node environment rather than just making things into executables
2 comments

V8 includes JIT compiler. Could it really be "much more" optimized?
If you look at Hiphop vs. HHVM there is certainly a significant performance upside in taking advantage of clangs or gccs ability to produce efficient code.

I'm not sure why Facebook decided to stop maintaining hiphop. Perhaps manageability wasn't great.

Perhaps. JIT compiler has to care deeply for compilation time. For AOT compiler compilation time is a little bit less pressing problem which leaves some space for optimization passes that take too long for JIT.
I agree V8 does an awesome job buts it compilation phase is not done separate before running. Lot could done to gain the speed in those areas.
there is always something more that can be done
This would be pretty useful. Something like hiphop which could transpile into C or C++ would mean we (IncludeOS) could build tooling to run a node application on directly in a vm without a underlying OS.
What kind of thread support does IncludeOS offer?

Edit: IncludeOS does not offer thread support, so it's unclear how the GC of the JS VM is supposed to run.