ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 6 days agoPointers explained:lemmy.worldimagemessage-square77fedilinkarrow-up1583arrow-down135
arrow-up1548arrow-down1imagePointers explained:lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 6 days agomessage-square77fedilink
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up4·edit-25 days agoThey 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-24 days agoBut… per-process-isolation is a hardware feature, no?
minus-squarepsud@aussie.zonelinkfedilinkEnglisharrow-up2·12 hours agoSo you really should implement it in your compiler so you don’t contravene it
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up2·edit-24 days agoSure, 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, no?
So you really should implement it in your compiler so you don’t contravene it
Sure, that may be (it’s definitely not in userspace). But don’t forget it works by crashing your program.