Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This has been circulated on the Rust-dev mailinglist:

https://mail.mozilla.org/pipermail/rust-dev/2013-September/0...

Rust did quite well (given that it's not even production ready i'd say it's impressive): https://mail.mozilla.org/pipermail/rust-dev/2013-September/0...

The only thing they noted was that the Go version "cheated" by precomptuing some values which someone removed to make the algorithms the same.. maybe kid0m4n can comment on this :)



I was looking at the Rust-dev mailing list before going to sleep :)

I would argue that it is not cheating "anymore" as both the Go and C++ version are now equal. In fact, I wanna compare how Rust performs in this exact same test with all optimizations applied. Studying those optimizations will be fun itself.

I have also explained why optimizations are perfectly fine (IMHO) here:

https://github.com/kid0m4n/rays#why-optimize-the-base-algori...


Ok, but with different algorithms you are not testing the languages/compilers anymore but the algorithms ;)

I understand that now when the C and Go version we can't compare with the rust version anymore uless someone applies the same changes.. anyway, t was a very interesting read on the rust ML and frankly i was surprised to see rust fare so well


True...

But, I guess algorithmic advances will happen much less frequently compared to other micro optimizations. And it will keep things interesting across the board.


The Rust code that ML thread is discussing: http://github.com/huonw/card-trace


Hey, possible to optimize the code and send over a PR? I would love to rerun the benchmarks with a optimized Rust version and my rust is totally rusty (pun intended :P)


I'm sure it's possible. ;)

I'm occupied by other things now so won't do it myself, but people are free to work from my code.


Oh the possibilities :D


I wonder, do the Rust guys have any intention of supporting AMD's HSA or Mantle API in any way? I know Mozilla wants to make Rust take full advantage of multi-core systems, and AMD is doing that, too, so I wonder if there can be some synergy there, or if that's outside of their goals for Rust.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: