|
|
|
|
|
by Animats
3074 days ago
|
|
That's not bad. It would be useful to be able to use some kind of "C slice" in an extern fn declaration, so you could talk about arrays, rather than pointers. Same function call code, but more Rust-line syntax. Then you don't need unsafe imperative code at all. This would put all the memory-risky stuff in declarations of external functions. |
|