Monday Morning Haskell: Ownership: Managing Memory in Rust

Published: 2/12/2019
Monday Morning Haskell: Ownership: Managing Memory in Rust
Source: MMHASKELL.COM

When we first discussed Rust we mentioned how it has a different memory model than Haskell. The suggestion was that Rust allows more control over memory usage, like C++. In C++, we explicitly allocate memory on the heap with new and de-allocate it with delete . In Rust, we do allocate memory and de-allocate memory at specific points in our program. Thus it doesn't have garbage collection, as Hask

Read more
Related news
Comment
FACEBOOK