4 ms·
I'm not the OP, but could try to venture an answer as someone who's used some of those languages. D is nice. I could see myself picking it instead of go. It's
by lhorie 6y ago
I'm not the OP, but could try to venture an answer as someone who's used some of those languages.
D is nice. I could see myself picking it instead of go. It's much more expressive than go and it's mature enough. Cross compilation story isn't as great though. Haven't tried asBetterC. I was under the impression this corner of D isn't as mature as D proper.
Java, IMHO, has limited uses, in the sense that making distributable binaries for client side usage (e.g. CLIs) is quite a hassle, and the need for a JRE makes it quite a bit bulkier than a C or go thing.
I'm partial to Nim and Crystal (and V). They aren't as appealing to me personally because they feel complex compared to C and go (and zig). If the appeal of these languages is "a better golang", I think D has beat them to the punch. Also, again, cross compilation tends to be a bit of a deal breaker for me.
Another language that seem interesting in this space is Odin, but I could not for the life of me find stdlib docs for it.
Another seemingly interesting language is Beef, which has a sort of C# feel (a good thing in my books), but unfortunately I haven't had a chance to play around with it yet.
Cosmopolitan is cool, but is just C, and younger than even zig.