3 ms·
With Rust you could get by with "match bool { true => ..., _ => ... }" and "loop { ... break }" I think.
by evmar 2y ago
With Rust you could get by with "match bool { true => ..., _ => ... }" and "loop { ... break }" I think.
- notpushkin 2y agoYeah, using a language with pattern matching should do the trick. Maybe OCaml or even F#. rimshot
- 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 agoBut you would not be able to define functions.