ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · il y a 18 joursPointers explained:lemmy.worldimagemessage-square77fedilinkarrow-up1522
arrow-up1522imagePointers explained:lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · il y a 18 joursmessage-square77fedilink
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up4·edit-2il y a 18 joursThey 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·edit-2il y a 17 joursBut… per-process-isolation is a hardware feature, no?
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up2·edit-2il y a 17 joursSure, that may be (it’s definitely not in userspace). But don’t forget it works by crashing your program.
minus-squarepsud@aussie.zonelinkfedilinkEnglisharrow-up2·il y a 13 joursSo you really should implement it in your compiler so you don’t contravene it
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, no?
Sure, that may be (it’s definitely not in userspace). But don’t forget it works by crashing your program.
So you really should implement it in your compiler so you don’t contravene it