Re:Why is Rust difficult?
by jonathanstrange on Monday January 22, 2018 @07:07AM
(#16203765)
Because you have to add support for GCing of foreign structures from these libraries, or keep the interface low-level and force the user of the GCed language to manually manage these foreign objects. Adding support for GC can be difficult if not impossible, because GCs often arrange memory in special ways (different pools, etc.) whereas the foreign library probably just uses malloc.
[ Parent
| on HN ]
There are no comments on this comment yet.