Odpowiedzi na post #1 895

Pluciferous

Hector Martin / Héctor Martín Cantero / @marcan42 / マルカン / @marcan42x / @marcan@treehouse.systems / Asahi Lina / Asahi Linux

Rust et al. have never promised to eliminate memory leaks (indeed it is very possible to leak memory in Rust), what they promise is memory safety...
The giant penis of doom

Hector Martin / Héctor Martín Cantero / @marcan42 / マルカン / @marcan42x / @marcan@treehouse.systems / Asahi Lina / Asahi Linux

That's not the crux of the issue, proper ownership handling is. You can use whatever you want, as long as it is always clear who owns what object...
Wstecz
Top Na dole