3 ms·
Good point, though i would argue this could be little bloat compared to what we see today. The traditional C ABI is a demonstration that it does not have to hav
by southerntofu 5y ago
Good point, though i would argue this could be little bloat compared to what we see today. The traditional C ABI is a demonstration that it does not have to have a huge performance impact, though in this specific case at the cost of soundness/safety.
Also, with a project like Nushell specifically, it would be very interesting to explore zero-copy piping. Rust's memory model and mutability rules sound very adapted to making such optimizations in a safe way. Some mutating functions may clone the data at some point to mutate it, but for example filtering could be applied by chaining filtering iterators without requiring ownership.