ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 3 个月前Pointers explained:lemmy.worldimagemessage-square77linkfedilinkarrow-up1517arrow-down129
arrow-up1488arrow-down1imagePointers explained:lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 3 个月前message-square77linkfedilink
minus-squareCanadaPluslinkfedilinkarrow-up4·edit-23 个月前They all have footguns that cause different crashes. If you want to do explicit memory access without inevitable safety problems, you need Rust. That’s the whole hype with Rust.
minus-squareMonkderVierte@lemmy.ziplinkfedilinkarrow-up1·3 个月前But… per-process-isolation is a hardware feature…
minus-squareCanadaPluslinkfedilinkarrow-up1·3 个月前Sure, that may be (it’s definitely not in userspace). But don’t forget it works by crashing your program.
They all have footguns that cause different crashes.
If you want to do explicit memory access without inevitable safety problems, you need Rust. That’s the whole hype with Rust.
But… per-process-isolation is a hardware feature…
Sure, that may be (it’s definitely not in userspace). But don’t forget it works by crashing your program.