Hacker News new | ask | show | jobs
by nerdponx 1832 days ago
Does the Julia runtime have good properties for something like a Web server?

Slow startup makes it questionable for CLI tools, although that is supposedly improving a lot.

But what about high-concurrency "server-like" workloads? The language itself I think would be great for such an application, but I have no idea if the runtime itself would be good.

1 comments

Currently Julia will probably lose to C++ here due to some GC quirks and less well optimized strings. That said, both of these issues are being worked on, and I would expect fairly major progress by 1.8. (some of this work is already done. Specifically, as of 2 days ago memory alignment of strings has changed to save 8 bytes for most strings). Future improvements will likely include some form of small string optimization to prevent them from being heap allocated, and making julia's GC more efficient for highly threaded code.