Toot

Written by nous@programming.dev on 2024-10-28 at 00:27

There are quite a few places where a GC is just not acceptable. Anything that requires precise timing for one. This includes kernel development, a lot of embedded systems, gaming, high frequency trading and even latency critical web servers. Though you are right that a lot of places a GC is fine to have. But IMO rust adds more than just fast and safe code without a GC - lots of people come to the language for those but stay for the rest of the features it has to offer.

IMO a big one is the enum support it has and how they can hold values. This opens up a lot of patterns that are just nice to use and one of the biggest things I miss when using other languages. Built with that are Options and Results which are amazing for representing missing values and errors (which is nicer than coding with exceptions IMO). And generally they whole type system leads you towards thinking about the state things can be in and accounting for those states which tends to make it easier to write software with fewer issues in production.

=> More informations about this toot | View the thread | More toots from nous@programming.dev

Mentions

=> View solrize@lemmy.world profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113382212538823672
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
223.828404 milliseconds
Gemini-to-HTML Time
0.460431 milliseconds

This content has been proxied by September (ba2dc).