|
|
Subscribe / Log in / New account

Not just Ada...

Not just Ada...

Posted Apr 25, 2013 14:55 UTC (Thu) by viro (subscriber, #7872)
In reply to: Not just Ada... by phred14
Parent article: A taste of Rust

And how safe does it remain after you add those extensions?


to post comments

Not just Ada...

Posted Apr 25, 2013 18:44 UTC (Thu) by phred14 (guest, #60633) [Link]

At least part of the idea has always been to mark those extensions as unsafe. You can't always be safe, but you can at least identify and minimize the times when you're not. You have a better idea of where the dragons are likely hiding.

Admittedly once you're messing with the stack frame, which I was with the interrupt handler, you've kind of unlocked the doors for the dragons, too. But I only played with the stack frame in that one example, knew it was a very risky thing, and tried to use extra care.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds