Date: Mon, 31 Dec 2018 22:23:30 -0500 From: "Garance A Drosehn" <drosih@rpi.edu> To: "Brian Neal" <brian@aceshardware.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Speculative: Rust for base system components Message-ID: <72922F2C-9D27-47AA-BB1C-2DA8589CF008@rpi.edu> In-Reply-To: <7d7bc47d-04cf-2f9b-00a3-e3d9d92b3623@aceshardware.com> References: <ca76e5f7-6e59-bd67-144a-90ad66f0252e@metricspace.net> <7d7bc47d-04cf-2f9b-00a3-e3d9d92b3623@aceshardware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72922F2C-9D27-47AA-BB1C-2DA8589CF008>