3 ms·
Can you explain the assembler bit? Are you talking about the handling of inline assembly? I though Rust allowed that in unsafe code.
by throwaway17_17 10mo ago
Can you explain the assembler bit? Are you talking about the handling of inline assembly? I though Rust allowed that in unsafe code.
- steveklabnik 10mo agoIt does! And it's in the language proper, unlike being a compiler extension like it is in C.
- tialaramex 10mo agoAnd Rust also has a good story for all the accompanying baggage such as naked assembler functions, whereas even with your extension in C or C++ there may just be a shrug emoji, or some blog posts because hey it's not part of the language.