News for hackers. Stuff that matters.
Re:OpenSSL Security Advisory by seangrogg on Tuesday May 03, 2016 @12:00PM (#11621792)
There are penalties, they are just relatively marginal.
Re:OpenSSL Security Advisory by kibwen on Tuesday May 03, 2016 @12:07PM (#11621859)
Specifically, Rust does runtime bounds checking when you index into an array. LLVM is theoretically capable of optimizing these checks out if they're unnecessary, but it's far from guaranteed. It would take a dependent type system to perform compile-time bounds checking, and Rust isn't that sophisticated.

However, indexing is far, far less prevalent in Rust than it is in C, due to the existence of iterators. I've asked the Servo team on multiple occasions whether the cost of bounds checking shows up in performance profiles, and they never have, likely because they just aren't doing very much indexing to begin with.

Re:OpenSSL Security Advisory by pcwalton on Tuesday May 03, 2016 @03:44PM (#11623613)
> There are penalties, they are just relatively marginal.

What are the penalties, specifically?