|
|
|
|
|
by MichaelGG
4153 days ago
|
|
Imagine if the CLR allowed optional borrowing annotations ala Rust. Then safe non leaking functions would no longer need their callers to use the heap. Even APIs like String.Split could be actually efficient. In fact you might even get away with zero alloc for it, for some small cases. |
|
There was, maybe is, some work being done on systems C#, not sure about the status though.