Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
1–10 of 143 posts
Re: Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
#2Re: Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
#3I’d love to see a language that kept everything as familiar as possible and implement memory safety as “the hard bit”, instead of the Rust approach of cooking in multiple different new sub languages and concepts.
Re: Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
#4I’d love to see a language that kept everything as familiar as possible and implement memory safety as “the hard bit”, instead of the Rust approach of cooking in multiple different new sub languages and concepts.
Memory safety is just one aspect where the compiler can help making sure a program is correct. The more the compiler helps with static analysis, the less we need to rely on creating tests for edge cases.
Re: Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
#5I’d love to see a language that kept everything as familiar as possible and implement memory safety as “the hard bit”, instead of the Rust approach of cooking in multiple different new sub languages and concepts.
Re: Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
#6Re: Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
#7It reminds me of the early days of the web, when text was king and content was king. I particularly like the sidenotes in the margins approach.
(Hope the author sees this comment :) Hats off)
Re: Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
#8With an acute accent, that should be roughly /ˌkɜːrˈseɪd/ “curse-ay-d”. (Think “café” or “sashayed”.)
The stylised pronunciation being evoked is roughly /ˈkɜːrˌsɛd/, “curse-ed”, and would be written with a grave accent: “cursèd”.
Re: Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
#9I’d love to see a language that kept everything as familiar as possible and implement memory safety as “the hard bit”, instead of the Rust approach of cooking in multiple different new sub languages and concepts.
Re: Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
#10I’d love to see a language that kept everything as familiar as possible and implement memory safety as “the hard bit”, instead of the Rust approach of cooking in multiple different new sub languages and concepts.
As a long time C programmer I like Rust because it combines two things from C that are important to me (low runtime overhead, no runtime system required) with a focus on writing correct programs. Memory safety is just one aspect where the compiler can help making sure a program is correct. The more the compiler helps with static analysis, the less we need to rely on creating tests for edge cases.
I feel as though not enough attention is given to how std is designed. For example: [u8], str, Path, and OsStr may be confusing at first, but when you understand why they are there any other approach feels icky. std guides you down a path of caring about things that really should matter (at least if you're only unwrapping provably safe values).
Have you considered what happens if not-utf8 data winds up in an environment variable that you are writing to stdout? What if it contains malicious VT commands?