4 ms·
There are actually quite a few nice features that go beyond memory safety: - Type-safe generics (sorry C, `void*` doesn't count) - Compiler errors that try to
by bennettnate5 2y ago
There are actually quite a few nice features that go beyond memory safety:
- Type-safe generics (sorry C, `void*` doesn't count)
- Compiler errors that try to give you the root reason why your code isn't compiling and a solution to the problem
- Procedural macros to automatically generate boilerplate code for arbitrary structs/enums
- Solid package management tooling built into the workflow that doesn't rely on what Linux distro you're running
- consistent and easy-to-use macros for writing code meant to be used across OSs or architectures. I've written system-level packages compatible with Windows/Linux/MacOS/Every BSD flavor/Solaris with relative ease.
- BlueTemplar 2y agoThat their tooling (and community, starting from teaching examples) seems to rely on Github so much is worse than dealing with a diversity of distributions.