4 ms·
Zig maybe. While it is still in a quite early phase it in my eyes keep much closer to C syntax and language feeling than C++, while still having smart new solut
by olodus 6y ago
Zig maybe. While it is still in a quite early phase it in my eyes keep much closer to C syntax and language feeling than C++, while still having smart new solutions. Some of these are in the pointer domain.
For example it has a couple of different pointer types for the different ways arrays can be handled in C, such as Null terminated, compile-time-known size or runtime-known size. This could help you think about how pointers and collections go together.