News for hackers. Stuff that matters.
Re:Rust via its Core Values by rntz on Monday April 04, 2016 @03:55AM (#11420119)
> I'm guessing aside form a dangling pointer GC doesn't offer much protection form a segfault?

Correct. By using GC and banning free() you avoid use-after-free bugs, but not out-of-bounds accesses.

Out of bounds accesses have to be forbidden in some other fashion; most languages do bounds-checking and throw an exception rather than trying to access the memory and getting a segfault (or, worse, reading some random other object's memory).

Re:Rust via its Core Values by bogomipz on Monday April 04, 2016 @06:23AM (#11420691)
Thanks