from Hacker News

How to talk to your parents about hardware memory safety

by miloignis on 8/7/24, 11:05 PM with 40 comments

  • by nullc on 8/8/24, 5:39 PM

    I found the cheribuild ( https://github.com/CTSRD-CHERI/cheribuild ) script to build a cross compiler, vm image, and CHERI riscv emulator to be very easy to use and effective.

    My code mostly compiled on CHERI without issue-- I was hoping to find some interesting bug as that's a pretty realistic prospect when porting to CHERI but didn't do so on the code I've tried so far.

  • by alberth on 8/8/24, 4:01 AM

    Why has Apple not brought this kind of hardware/software memory safety to their platform?

    They control the entire stack, even down to the silicon.

  • by bjornsing on 8/8/24, 9:39 AM

    Cool. Wasn’t aware of CHERI, but was thinking about a “CHERI light” that would use the regular x86/arm MMU to enforce some compartmentalization within programs the other day. Anybody know if there is such a project?
  • by JohnFen on 8/9/24, 3:00 PM

    Sheesh. That leans so hard on ageist bigotry that it actually made me angry.