Speculative: Rust for base system components
Garance A Drosehn
drosih at rpi.edu
Tue Jan 1 03:31:52 UTC 2019
On 31 Dec 2018, at 23:04, Brian Neal wrote:
> This is a good read on some of the pitfalls of Rust:
>
> https://hackernoon.com/why-im-dropping-rust-fd1c32986c88
>
> In terms of performance, take a look at Rust on godbolt...a quick test
> I just ran with a trivial program that sums up a sequence of odd
> numbers is 29 instructions in C on clang 7.0 and a whopping 137 (!!!)
> on rustc 1.31.0!
>
> Crazy...
Did you compile your program as a "release build", or just as a
standard (quick) build?
--
Garance Alistair Drosehn = drosih at rpi.edu
Senior Systems Programmer or gad at FreeBSD.org
Rensselaer Polytechnic Institute; Troy, NY; USA
More information about the freebsd-hackers
mailing list