News for hackers. Stuff that matters.
Re:Nectar: A Native JavaScript Compiler Inspired by Crystal ... by geocar on Saturday December 31, 2016 @03:38AM (#13290176)
I can't speak to Go or Crystal. V8 performs well on microbenchmarks, but very poorly with a sustained high volume of input due to GC pressure. I've used node.js in such an application and "version 2" was written in another language because of the GC pauses.
Re:Nectar: A Native JavaScript Compiler Inspired by Crystal ... by gogodancer on Sunday January 01, 2017 @04:33AM (#13295232)
So what was the language C, C++, Rust?
Re:Nectar: A Native JavaScript Compiler Inspired by Crystal ... by geocar on Sunday January 01, 2017 @02:44PM (#13296948)
KDB, although I'm experimenting with Erlang for some things and it seems sufficient.
Re:Nectar: A Native JavaScript Compiler Inspired by Crystal ... by danielearwicker on Tuesday January 03, 2017 @04:07AM (#13307872)
Odd. Erlang uses GC.
Re:Nectar: A Native JavaScript Compiler Inspired by Crystal ... by geocar on Tuesday January 03, 2017 @05:11PM (#13313624)
Yes, but many small heaps means small GC pauses. It's not as deterministically/fast as reference counting (KDB) but it's close.