Ignoring GC costs, does the lack of raw pointers cause possible performance issues (compared to C) if you want to implement pointer-based data structures like linked lists and trees? Julia exposes some pointers for C interrop - is this also useful for writing low-level data structures within Julia?
You don’t usually work with pointers directly in julia. If anything, you’d use Ref
or mutable structs. The pointers are handled for you by the compiler.
3 Likes