3 ms·
You’re describing exactly what I am describing: you still call out into a syscall that is not safe. You prevent that by checking things in the wrapper. Very sta
by steveklabnik 3y ago
You’re describing exactly what I am describing: you still call out into a syscall that is not safe. You prevent that by checking things in the wrapper. Very standard.
- btown 3y agoAnd even in the lowest level assembly code imaginable, sometimes the syscall called by your assembly is really unsafe code: https://github.com/chrislgarry/Apollo-11/blob/master/Luminary099/BURN_BABY_BURN--MASTER_IGNITION_ROUTINE.agc https://github.com/chrislgarry/Apollo-11/blob/master/Luminar...
- pizlonator 3y agoYou’re disingenuously conflating calling into a pile of userland unsafe code that does crypto using arrays and ptr math, which also does unsafe syscalls, with making all that memory safe except the syscall. They’re not the same thing. If they were the same thing then there would be no point to memory safety at all.
- steveklabnik 3y ago> You’re disingenuously Cool man. Reaching for insults isn’t a good way to have a conversation. Good luck on your project.
- pizlonator 3y agoUsing disingenuous arguments will get you to nothing but bad ideas. I'm just trying to help you out.