My initial plan is as follows:
A. Roadmap: Version 0.1 is a subset of C++23. The advantage is that it can coexist with the existing C++ ecosystem, all programs and libraries can be shared.
Version 1.0beta is a hardbreak. At this stage, tools or AI should be available to completely convert version 0.1 and C++23 code into CZ1.0 + independent compiler tools.
B. Language design: Currently considered: 1. No header; use modules; 2. C++20 + Multidimensional Subscript Operator/if consteval; 3. Use the C++23 library.
The overall goal is:
One-page cheat sheet (+half a page of basic ideas, if you have zero coding knowledge); 10 pages of a full book. This means roughly no more than 20 basic syntax rules. This will allow both AI and humans to easily learn and communicate with it, achieving ease use as Python. And put everything else in the library.
Based on C++, it should achieve similar speed, and even more efficient because it's simpler.
Besides the safety of Rust, we also need to add Trust, which means strict code review before sharing (including test code, which exploited by hackers of XZ).
Given the speed of AI development, a complete course should take about 18 months, which isn't an exaggeration?
stop50•1h ago
In my opinion Rust has at the moment an good chance to be an successor to c++. Traits and derive macros already reduce the boilerplate an dev has to do.
For example Debugging: - i want to export the default debugging information: #[derive(Debug)] - i have so items that should not be debugged: custom derive implementation for the type or the secret information
jerryzhang66•52m ago