| ▲ | namr2000 2 hours ago | |||||||||||||||||||||||||
Rust is a world away from Zig as far as being low-level. Rust does not have manual memory management and revolves around RAII which hides a great deal of complexity from you. Moreover it is not unusual for a Rust project to have 300+ dependencies that deal with data structures, synchronization, threading etc. Zig has a rich std lib, but is otherwise very bare and expects you to implement the things you actually want. | ||||||||||||||||||||||||||
| ▲ | Ygg2 2 hours ago | parent [-] | |||||||||||||||||||||||||
This depends on what you mean by low level. Commonly it means, how much you need to take care about minute, low-level issues. In that way C, Rust, and Zig are about the same. Dependencies have nothing to do with low-level vs. high-level but just package management, how well the language composes, and how rich the standard library is. Are assumptions in package A able to affect package B. In C that's almost impossible to avoid, because different people have different ideas about how long their objects live. Having a rich standard library isn't just a pure positive. More code means more maintenance. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||