3 ms·
What would be a good alternative to Go, with - large and well maintained standard lib - great runtime characteristics - esp. reasonable memory usage - develope
by mause_piep 4y ago
What would be a good alternative to Go, with
- large and well maintained standard lib
- great runtime characteristics - esp. reasonable memory usage
- developer ergonomics
- matureness
- long term stability
- preferably managed memory
I really have used a lot of languages. They all have some downsides. I like Kotlin a lot but the JVM is just to cumbersome and resource heavy. Grade is way to complex. Rust is way to cumbersome to write and lacks the standard lib. The only one that comes to my mind is actually .NET Core (C#). But I don't know mature it is on Linux for your standard backend.
- christophilus 4y agoI really like C#, and F# is one of my favorite languages. I just really hate having to manage csproj files, and I miss Go’s compilation speed and compact binaries. C# is pretty decent on Linux, though, so I’d at least kick the tires a bit.
- mikevin 4y agoI'm not up to date on Core but .NET/C# on Windows with Visual Studio is by far the best development experience I've ever had. It's so mature and well integrated. If Core offers 10% of that I'd highly recommend looking into it.
- kaba0 4y agoHow is the JVM cunbersome? I do understand your concern about it using more memory (though I feel it is often overblown. Sure, it’s not a hand-optimized C executable, but the performance is top-notch and the memory usage can be very well controlled)
- christophilus 4y agoThe binaries you get from GraalVM are bigger than Go's and if you are doing something like hosting a bunch of little services on a cheap VPS, Go definitely is nicer there.
- andag 4y agoI've been tempted to consider kotlin + graalvm as an option as well. Graalvm is getting pretty cool, but it does add some complexity, and it's too tied to Oracle in my opinion... C# might be cool again as well though, haven't really considered that since before .NET core. (And I think Go is ok, but I find coding in kotlin more enjoyable)
- joshbaptiste 4y agoTried https://nim-lang.org/ https://nim-lang.org/ ?