Better HN
topnewbestaskshowjobs
Log inSign up

xiphias

768 karma · joined Apr 12, 2013 (13y ago) · 622 submissions

Submissions

comment 7y ago · link · parent

benchmars game is great, but sadly not well maintained anymore. Rust has it's flaws, but it's not runtime speed (much more compilation speed, IDE support, distributed compilation support).

comment 7y ago · link · parent

The Rust - C++ speed comparison is sadly quite bad. On a modern machine, some of the benchmarks from the benchmarks game ran faster in Rust than in C++. It usually depends on the explicit / implicit vectorisation support, and a lot of it is taken care of by LLVM.

Also if you look at the C code, the multi-threaded optimizations are quite hard to write in C, while Rust has Rayon (which is not yet used in the Benchmarks game examples).

comment 8y ago · link · parent

Sounds interesting, thanks! I had a few informative but controversial comments in the past... that may be the reason.

comment 8y ago · link · parent

It looks impressive, I just don't understand why computer games don't use these techniques to feature realistic human bodies/faces.

comment 8y ago · link · parent

If by PBKDF2 you mean PBKDF2-HMAC-SHA256, it should die as it's so much less secure than using Argon2 as a password hash function.

comment 8y ago · link · parent

Adding other tents are probably easy, the hard part is slashing the cost of manufacturing to be profitable with $35000/car

comment 8y ago · link · parent

Even if Rust becomes almost as complex than C++ (which may be necessary to be able to move all low level code base from C/C++ to Rust), the world becomes a safer place by not having so many memory corruption bugs while being CPU/memory friendly. I really appreciate the fast pace the Rust team has and hope for this transition to start ASAP (though features are still missing for big code bases, like distributed compilation).
12345
21