News for hackers. Stuff that matters.
Re:C/C++ vs. Rust Performance by steveklabnik on Sunday November 01, 2020 @01:51PM (#24961533)
Rust stable still does not have inline assembly. Additionally, we have moved away from the "whatever LLVM does" feature, and built our own.

There are significant language issues with doing something like this. Yes, in theory, you could do something. But it's going to be very unsafe, and very error prone.

Re:C/C++ vs. Rust Performance by Subsentient on Sunday November 01, 2020 @05:58PM (#24963292)
I do see that the LLVM IR thing isn't being used anymore. I hope asm! ends up in stable Rust soon, seems like a pretty big oversight. Then again, MSVC dropped inline ASM altogether, which seems really dumb.

One of these days I'm going to write a crate that easily enables doing all the unsafe, dangerous, stupid things that C programmers want to do, including gotos, with no safety checks or variable lifespan verification of any kind. And I'm going to name it "evil". :^)

I will do it, eventually. ^^

Re:C/C++ vs. Rust Performance by taxcoder on Sunday November 01, 2020 @10:00PM (#24964472)
As long as you don't name it evil-mode.