News for hackers. Stuff that matters.
Re:Major new iOS bug can crash iPhones and disable access to... by ksk on Thursday February 15, 2018 @11:32AM (#16385304)
>This is why we shouldn't be writing new code in C.

Depends on your priorities. I'd take occasional bugs over jitter, latency, CPU inefficiency, and excess memory usage. And all that in practical terms means C is very environmentally friendly.

Re:Major new iOS bug can crash iPhones and disable access to... by iknowstuff on Thursday February 15, 2018 @01:25PM (#16386283)
Choose Rust. It has zero-overhead memory and data race safety.
Re:Major new iOS bug can crash iPhones and disable access to... by ksk on Thursday February 15, 2018 @02:09PM (#16386615)
I suppose so. As an embedded developer it appeals to me, but I haven't looked too much into it TBH. Do you know of any analysis done on the bugs in servo or any other large-ish project?
Re:Major new iOS bug can crash iPhones and disable access to... by iknowstuff on Friday February 16, 2018 @09:48AM (#16392657)
I haven't studied this extensively, but Mozilla made the following claim:

>Mozilla made two previous attempts to parallelize its style system in C++, and both of them failed. But Rust’s fearless concurrency has made parallelism practical! https://blog.rust-lang.org/2017/11/14/Fearless-Concurrency-I...

Re:Major new iOS bug can crash iPhones and disable access to... by ksk on Friday February 16, 2018 @01:22PM (#16394489)
Right, I just wanted to examine it in the 'proof is in the pudding' sense where if Rust is as good as people claim, then certain types of bugs would be entirely eliminated. I'm usually weary of such claims :)