bcjdjsndon
Joined 1 year ago
Joined 1 year ago
Apart from when that tool is a memory unsafe language though...
Isn't rust as a replacement to c one of the central selling points of rust? Ie the tool is crap because people are misusing it
Rust was an attempt to have the compiler manage memory, but they couldn't crack it, so they had to just push all the failures to conquer c style UB under rusts unsafe keyword...
Good codebases already do what rust is doing with the borrow checker, it's not rocket science.
There's a serious argument for cherry picking rusts good parts and Retrofitting them into a more entrenched language.
1. And? The unsafe code could still be memory unsafe
2. But coders can't be trusted to manually manage memory, otherwise you'd just use c++ right? Doesn't matter whether it's marked unsafe or not, you could do that on c code.
3. Not in unsafe rust, that's my whole point. There is only vague guidance on correct unsafe rust. (Because they haven't managed to crack the problem, just draw a perimeter around them)
4. See point 2 rebuttal
You can still find a lot of that in production code though. You're imagining a perfect world where everyone does the correct thing, but id that world existed we would need rust in the first place
Same thing will happen to unsafe rust once it becomes ubiquitous and we will be back talking about how to fix the problem of stupid coders
Then answer me this... What would be an appropriate level of diversity?
> I try to keep myself sharp by still manually doing a fair amount of things in my life.
I then list a load of shit that shows hes doing next to fuck all manually.
The man is larping.
So yes, he's larping if he thinks not using an llm is the humble life
Rustaeceans often play this card... What you should really say is safe rust achieves it through syntax, yet as a systems language you will need to invoke unsafe rust, which by definition is not "memory safe". And memory unsafe is bad right? So bad it's worth changing the language to avoid it.... Yet rust doesnt avoid it?
I'm just not as impressed by that as you are