3 ms·
And then you find out pjlegato switched to Elixir, where he gets lightweight libraries by default, real threading, no GILs, no callback hell, uses all the cores
by lostcolony 11y ago
And then you find out pjlegato switched to Elixir, where he gets lightweight libraries by default, real threading, no GILs, no callback hell, uses all the cores trivially, in a single process, -and- gets a concurrency model that doesn't suck, baked in distribution that doesn't suck, better VM introspection, fault tolerance second to none, tail call optimization, soft real time performance, higher order functions, and glorious, glorious pattern matching.
Or maybe not, but just sayin', you're making assumptions in trying to defend Java there. It's enough to say "You don't have to write Java that way", and then find reasons why Java stands on its own ("It's the lingua franca of software development", and related, is the best I can come up with, but eh), rather than attacking a strawman by assuming what traits the language(s) he switched to are and comparing Java against those.
- didibus 11y agoI think pjlegato switched to Clojure, where you get pretty much everything you mentioned there too. At least looking at his github commits.
- lostcolony 11y agoThere ya go then. Though, Clojure doesn't have most of those additional things I listed either, as most of them are requirements of the VM rather than the language (it does, however, have a slew of other things that make it awesome, and it has the language level features I mentioned)
- pjlegato 11y agoYep, this. I <3 Clojure! Lein is one of the simplest and sanest build tools I've ever used.