Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
whatshisface
16 hours ago
|
parent
|
context
|
favorite
| on:
Rust--: Rust without the borrow checker
If you could disable the borrow checker globally, projects would do it, and it would become impossible to compile anything with it enabled.
You can already disable it locally: the unsafe keyword is for that.
gpm
15 hours ago
[–]
The unsafe keyword doesn't disable the borrow checker... it lets you interact with different pointer types that aren't borrow checked, but if you're using the normal reference types in rust the same guardrails are still in place.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You can already disable it locally: the unsafe keyword is for that.