|
|
|
|
|
by wizzwizz4
2172 days ago
|
|
> Have you tried writing low level IO? The logic is too complex to capture on types, if you try to use them you'll have a huge problem. Rust's got a very Haskell-like type system, but it's a systems programming language. People are literally writing kernels in it. I think this is a pure-functional-is-a-bad-way-to-do-real-time-I/O thing, not a typing thing. |
|
That said, I don't think it's impossible to type IO. https://lexi-lambda.github.io/blog/2020/01/19/no-dynamic-typ... isn't the same problem, but it's related.