Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
masklinn
· 8y ago · 0 comments
There kinda can in the sense that you could just make every function `unsafe`, but that's a bit of a giant blinking red flag.
Comments
[–]
internetionals
8y ago
And even then it will warn in many situations. Unsafe does not suddenly make everything okay, it only allows 3 specific things that are otherwise not allowed.
[–]
masklinn
OP
8y ago
Yes, but through these it does let you break the language by creating invalid values (and thus trigger wide-ranging UBs).