Open nico-abram opened 2 years ago
Hey, good question, and you've inspired me to add this page to the guide: https://vale.dev/guide/unsafe
I think these unsafe blocks actually give us a really nice place to put inline assembly.
Some caveats:
pure
restriction on those unsafe blocks, there's probably a way to do that without interfering with other features (i.e. deterministic replayability).I'd love to hear more, since I've rarely gone down to assembly for my systems programming endeavors. What would you like to see here, and what languages have done particularly well with their inline assembly features?
This is mostly a question. After reading about vale's safety claims, and it's various comparisons with C++ and rust, I'm wondering how it plans to handle inline assembly, which is necessary for many C++/rust usecases.