4 ms·
I have an entirely different take on the speed with which libraries have developed for Node and Go – I don't believe that it's because they are "web languages",
by StefanKarpinski 13y ago
I have an entirely different take on the speed with which libraries have developed for Node and Go – I don't believe that it's because they are "web languages", but rather because both JavaScript and Go are languages where libraries are written in the high-level user language rather than being written in C via an API. JavaScript gestated in the browser where writing extensions in some other language simply wasn't possible; with the advent of V8, it suddenly became a fast language and all that JavaScript code became the core of an ecosystem of pure JavaScript libraries. Go is new and fast and therefore it has never made sense to write Go libraries in a lower level language.
That being said, writing web apps in Julia is great and very much supported and encouraged. Like Node, we use libuv for I/O and networking. Others have mentioned Morsel, Julia's Sinatra-like web framework, which unsurprisingly – since it's based on the same underlying event framework – gets similar performance to Node.js.