Live data from Hacker News

Rust is tier-1 language at Microsoft

rustfoundation.org

271–280 of 521 posts

Re: Rust is tier-1 language at Microsoft

#275

does it mean there is a rust.net?

Just had a PTSD flashback... The year was 2002, VB6 had just been retired for VB.NET which had 0 backward compatibility. And then we all became Flash/AS3 developers. The End

Cold Fusion 1,000 mile gaze says hello

Re: Rust is tier-1 language at Microsoft

#276

Earlier quoted context omitted.

That's less because of what it's implemented in - and more to do with all the tracking and libraries they want to reuse... BigCo apps will take up lots of space and memory for BigCo reasons - obviously less if it's in Rust vs Go vs Python, but you could easily write Go apps that use far less memory than Rust apps written at BigCo due to BigCo reasons. It's just not really that much of a priority for them to have thei…

I've been having _a lot of fun_ writing Go apps that don't allocate anything and that use small, preallocated buffers to stream through requests/etc. Basically TigerStyle for Go. I don't use arenas, I just size everything for the worst case (or make the sizes configurable at startup) and still end up using much less memory. This is really only possible because I told Fable to build the underlying allocation-free HTTP…

Have you considered doing this in OCaml?

You'd get most of the benefits of Go and Rust.

Re: Rust is tier-1 language at Microsoft

#277

I hope announcements like this show that Rust is not a fledgling little language that moves fast and breaks things anymore. It's a mature, serious competitor to well established languages like C++ and C#. This is particularly important when trying to compare the experience of using Rust to other languages in the "better C/C++" space like Zig and Odin -- these are much newer and have more rough edges than Rust.

Rust 1.0 was in 2015. Most of these languages you're thinking of out of the Handmade Community didn't even start development until around the point Rust 1.0 shipped. In theory Odin 2027, the 1.0 release of Bill's Odin language, is scheduled for, as the name suggests, early 2027. Zig does not have an announced 1.0 schedule, and who knows for the other two famous Handmade languages. From the rash of "C++ successor" lan…

As an embedded dev, it still feels a decade away, at least. Rust is perfectly usable as a lang to make a little module that links into your main project as a .a file. But, as the language for your whole embedded codebase? Forget it. I have a litany of complaints including Cargo fuckery, ecosystem neglect, lack of first-party support, excessive code size, bad documentation, and bad IR that wastes stack by creating copies on immutable moves.

Don't get me wrong, Rust is lightyears ahead of any other alleged C/C++ successor. But I work in a space where C and C++ have been the only option for the last 30 years with absolutely no production-ready alternative. It looks like that won't be changing anytime soon, which is disappointing.

Post reply on HN