Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would love to hear how - validated constraints on input/types/flow is one of the design objectives of Ada. In what way is Rust relevant here?


Even just the Ada ability to define integer and other ranges always seemed great! Rust doesn't provide integer overflow checking on release builds unless you use specialized methods.

I think creating new number types like "Positive" also seems to require using unsafe, or at least the stdlib used it for a few of the number types I looked into.


Can you describe what you mean here? I don't understand this feature re: Ada.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: