r/ProgrammingLanguages • • 14d ago

Evolving the Java Language: An Inside Perspective

Thumbnail
youtube.com
3 Upvotes

r/ProgrammingLanguages • • 4d ago

Go with manual memory management / no garbage collector?

26 Upvotes

Go is my ideal programming language, except for there being no ergonomic way to work without the garbage collector (to my knowledge). Is there a language that has the simplicity and elegance of Go, but without a garbage collector?

Some big pros for Go in no particular order:

  • dead simple cross-compilation

  • first-class support for unit testing

  • quick builds

  • first-class support for debugging and profiling

  • goroutines and channels are extremely ergonomic primitives for concurrency

A con for Go:

  • the runtime is pretty hefty and results in large binaries.

Zig is the closest thing I have found, though I do find the build system a little complex. Profiling is do-able, though not great; the best way I've found is to use Tracy.

I am not a fan of Rust's syntax and am not able to develop at the speed of thought like I can with Go. This is definitely a skill issue but Rust just doesn't feel very ergonomic to me.

Odin is a strong contender. For profiling, Tracy seems to be the best option again, which isn't ideal. An allocator stored in context is exactly what I wish Go had. The syntax leaves something to be desired for me.

I need to look more into C3.

Any other languages I've missed?