Re:Rust's 2018 roadmap
by voidlogic on Monday March 12, 2018 @11:49PM
(#16573780)
For specific needs I have occasionally made my Go struct constructors (NewFoobar() *Foobar) use malloc ported to Go + mmap to allocate memory and said structs have a .Close() method (think defer foobar.Close()). It worked fine... This is a fine solution/compromise, in 95+% of development solutions you don't want your devs wasting their time managing memory manually, and in the worse cases they will get it wrong.
[ Parent
| on HN ]
There are no comments on this comment yet.