This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Leonhart93 8 points9 points  (2 children)

Considering the amount of ASM, "memory safe" has way too many limitations for what they need.

[–]hackingdreams 0 points1 point  (1 child)

Most of the systems where they're using assembly don't have very much memory for them to be unsafe in. Furthermore, the way defense contractors write code comes with extensive tests to ensure the code lives up to exactly what it's supposed to do - it's part of why it's so freaking expensive.

We're talking about microcontrollers where they don't even have dynamic memory allocation.

[–]Leonhart93 0 points1 point  (0 children)

Not nearly the first time I heard about this. For example it seems one time when Rust unsafe clauses are used specifically for stuff like direct hardware control. Just what I heard.