News for hackers. Stuff that matters.
Re:I want off Mr. Golang’s Wild Ride (2020) by mause_piep on Thursday April 28, 2022 @02:57PM (#31196715)
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.

Re:I want off Mr. Golang’s Wild Ride (2020) by mikevin on Thursday April 28, 2022 @03:10PM (#31196876)
I'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.
Re:I want off Mr. Golang’s Wild Ride (2020) by christophilus on Thursday April 28, 2022 @03:04PM (#31196805)
I 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.
Re:I want off Mr. Golang’s Wild Ride (2020) by joshbaptiste on Friday April 29, 2022 @01:09PM (#31207867)
Re:I want off Mr. Golang’s Wild Ride (2020) by andag on Thursday April 28, 2022 @03:37PM (#31197205)
I'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)

Re:I want off Mr. Golang’s Wild Ride (2020) by kaba0 on Thursday April 28, 2022 @03:18PM (#31196973)
How 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)
Re:I want off Mr. Golang’s Wild Ride (2020) by christophilus on Thursday April 28, 2022 @05:03PM (#31198185)
The 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.