DEV Community

Discussion on: Why we migrated our CLI from NodeJS to GoLang 💻

Collapse
 
picocreator profile image
Eugene Cheah • Edited

Never heard of it, but just took a look into.... and holy batman!

While not so comfortable with the way it does things internally. I am impressed, in the crazy sense that they are pushing the idea of compiling programs, not just to exe's but to run within Oracle / My SQL.

Shameless self plug here : its like GPU.JS style of crazy rewrites (of JS to WebGL).... Dun ask why we compile from one language to another which makes no sense... just know it has been done.

Collapse
 
ntrp profile image
Ivan Gregurić Ortolan

The interesting part is that the node execution performance is almost 85% for V8 and GraalVM is still in beta. Hopefully they will manage to reach the same performance and then you could compile you node app into a native one and have no drawbacks. Currently a JAX-RS rest endpoint compiled into native boots in ~5ms and uses 20mb of ram.

Thread Thread
 
qm3ster profile image
Mihail Malo

I like that GraalR runs an order of magnitude faster than the reference R runtime :D

Thread Thread
 
ntrp profile image
Ivan Gregurić Ortolan

I guess R is a scripting language so it makes sense, I expect python to run faster too

Thread Thread
 
qm3ster profile image
Mihail Malo

There's MicroPython :v