4 ms·
Maybe learn Rust as a middle ground between ML and C, then? It has sum types like ML and teaches you memory management like C.
by giovannibonetti 1mo ago
Maybe learn Rust as a middle ground between ML and C, then? It has sum types like ML and teaches you memory management like C.
- MeetingsBrowser 29d agoThe allure of Rust is that you don’t have to manually manage memory. Lifetimes are a compiler safety abstraction and mostly unrelated with how the computer runs your program. Learning a language like C helps to understand why lifetime annotations are needed and how the compiler uses them.