News for hackers. Stuff that matters.
Re:Rust's unsafe pointer types need an overhaul by spc476 on Sunday March 20, 2022 @12:53AM (#30740241)
What's funny about "all the world's a VAX" is that the VAX could trap on integer overflow. I suspect that C compilers on VAX never set that mode though (it's a flag in the status register).
Re:Rust's unsafe pointer types need an overhaul by reincarnate0x14 on Sunday March 20, 2022 @01:10AM (#30740328)
IIRC the Alpha did that as well but due to instruction pipelining it was more complicated in practice. I want to say it was used on some SCADA software but that's an ancient memory -- and it wasn't even everywhere in that software as I remember an integer overflow error in an alarm processing program that we had to hot-patch one night with live data, that was exciting.

Making myself nostalgic for the Alpha again ... I'll be over in the corner crying into my beer.

Re:Rust's unsafe pointer types need an overhaul by renox on Sunday March 20, 2022 @04:31AM (#30741087)
The MIPS could do it too some instructions trap on integer overflow 'for green (no Icache cost) but AFAIK there were unused..

Convenience trump's security apparently..