HNHacker News
TopNewBestAskShowJobs

dhsjxhx

-5 karma · joined January 3, 2017

submissionscomments
dhsjxhx··on Getting Past C
>if people really want zero cost abstraction

That one "if" is (by definition) not zero-cost.

dhsjxhx··on Getting Past C
>A one byte buffer overflow can cause your program to crash an hour later, with almost no hope of figuring out why it happened.

I don't know about rust, but you can have an ArrayOutOfBoundsException in Java, and equivalent in Go and other safe languages

dhsjxhx··on Getting Past C
Rather than looking for a new language, why not ban programs from writing to executable memory?