| ▲ | shilgapira 2 hours ago | |||||||
It's also a modern C. If you enjoy C and wish it was less verbose and more modern, try Go. | ||||||||
| ▲ | VorpalWay 39 minutes ago | parent | next [-] | |||||||
Go has a garbage collector though. This makes it unsuitable for many use cases where you could have used C or C++ in the past. Rust and Zig don't have a GC, so they are able to fill this role. GC is a showstopper for my day job (hard realtime industrial machine control/robotics), but would also be unwanted for other use cases where worst case latency is important, such as realtime audio/video processing, games (where you don't want stutter, remember Minecraft in Java?), servers where tail latency matters a lot, etc. | ||||||||
| ||||||||
| ▲ | bayindirh 2 hours ago | parent | prev [-] | |||||||
Thanks. I write some Go, and feel the same about it. I really enjoy it actually. Maybe I'll jump to Zig as a side-gig (ha, it rhymes), but I still can't motivate myself to play with Rust. I'm happy with C++ on that regard. Maybe gccrs will change that, IDK, yet. | ||||||||