Writing time this weekend: an introduction to scientific computing in #rustlang, getting into crates and language features at the same time (hopefully with the right pace). It's geared to people in the Python/R/Julia world who are curious to have a peek at #rustlang.
Yep, people have pointed to the return typo on Reddit as well, fixed it :P You can find the benchmark code in a footnote now if you refresh.
-
-
I wouldn't rule out the possibility that different optimizations are used by the compiler for integers compared to floats. We could have a look at the disassembled binary, but that is way too hardcore for me I am afraid.
-
well, that's intrinsic LLVM! Any factor comes into play with micobenchmarking. That's why every single one of them isn't really reliable. There's a recent issue showing an interesting/weird kind of ref optimization that needs to be addressed https://github.com/rust-lang/rust/issues/58622 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Writing about stuff to learn how it works, mostly in Rust.
Lead Engineer at