Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
evmar
· 2y ago · 0 comments
With Rust you could get by with "match bool { true => ..., _ => ... }" and "loop { ... break }" I think.
Comments
[–]
Trung0246
2y ago
`unsafe` code is a little bit tough since the keyword have an F, unless there's another way to create unsound code by abusing rustc.
[–]
xanathar
2y ago
But you would not be able to define functions.
[–]
notpushkin
2y ago
Yeah, using a language with pattern matching should do the trick. Maybe OCaml or even F#.
rimshot