Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
einpoklum
on Sept 20, 2022
|
parent
|
context
|
favorite
| on:
It's time to halt starting any new projects in C/C...
> All the old, problematic approaches are still valid code, and hence from a security perspective they are vulnerabilities.
So, you would mandate using Rust without "unsafe", then? Good luck with that.
chriswarbo
on Sept 20, 2022
[–]
Perfect is the enemy of good. If you can avoid "unsafe", then yes: forbid it. If you can't, then permit it for
only
those modules which need it; and have them expose a safer API, for use by the rest of the safe-subset-of-Rust system.
patrick451
on Sept 20, 2022
|
parent
[–]
This argument is indistinguishable from what you are trying to rebut.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So, you would mandate using Rust without "unsafe", then? Good luck with that.