News for hackers. Stuff that matters.
Re:Goals and Priorities for C++ by fwsgonzo on Friday May 22, 2020 @08:05AM (#23271204)
https://gist.github.com/fwsGonzo/6b12f502a3873725c17f44dc5e2...

Very preliminary benchmark C++ Vs Rust on RISCV. C++ is just in its own league. Alone.

Having been at CppCon I can attest to the atmosphere of performance first in C++.

Re:Goals and Priorities for C++ by steveklabnik on Friday May 22, 2020 @09:35AM (#23271890)
What is the context here? This doesn’t describe the test at all, it’s just a bunch of numbers.
Re:Goals and Priorities for C++ by fwsgonzo on Friday May 22, 2020 @11:27AM (#23273121)
The explanation is long but I have written about it here:

https://medium.com/@fwsgonzo/adventures-in-game-engine-progr...

The benchmarks are done here: https://github.com/fwsGonzo/script_bench

I am trying to reach out to someone who is really good at Rust to see if there's ways to balance the scales.

One of the things I am dealing with: https://gist.github.com/fwsGonzo/ff0b7f41c521eb0cc4212f3c42f...

Re:Goals and Priorities for C++ by steveklabnik on Friday May 22, 2020 @12:57PM (#23274227)
Seems like you're getting the bounds check, which makes sense, there's no real way to eliminate that with this simple example.

> I am trying to reach out to someone who is really good at Rust to see if there's ways to balance the scales.

If you use reddit, posting to /r/rust will be super helpful. If you don't, users.rust-lang.org is a decent spot. If you tweet, I can retweet from the rust account.