Seriously, Heartbleed was entirely caused by pointers being dangerous. This is not hard - we should get rid of general purpose pointers.
1
@frabcus The danger in languages like C come from their power. If you remove the danger you remove the power. Sometimes power is needed.
5
1
@dsilverstone that's the point though, pretty well all uses of C/C++ don't need that power. e.g. Gecko didn't, c.f. Servo. What uses do?
1
@frabcus Also, you're still assuming that the compiler is good and that the author understands the chip in question.
1
@frabcus Yes it's a smaller surface, but all that means is that all the attacks are focussed there. There's money in attacks :-(
Jan 19, 2015 ยท 10:38 AM UTC
1

