-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
draftNow ready for takingNow ready for taking
Description
Comparing the language design of C, C++, Rust, and Zig, there are some merits and demerits. I want to find a golden standard for Inference. C/Zig uses pointers * and C++/Rust use both pointers * and references &. Since university, when I studied C and then C++, references sounded a bit unnatural, and I didn't see much value in introducing this concept. Simply because this concept somehow adds an additional layer of unneeded abstraction to the memory access. But the problem with raw pointers (C style) is that they enable direct, unchecked access to the memory, which is error-prone.
Metadata
Metadata
Assignees
Labels
draftNow ready for takingNow ready for taking