3 ms·
I just want: C with: - bounds checking - use after free checks - modules - sane metaprograming/template - tagged union built in without: - macro - pre
by Kukumber 4y ago
I just want:
C with:
- bounds checking
- use after free checks
- modules
- sane metaprograming/template
- tagged union built in
without:
- macro
- pre declaration
- split header/source
That's it, no borrow checker, no weird syntax, no nothing
So far D is the answser for me, but i'm worried about its future, will they keep improve the language in that direction? or will they continue with their high level stuff
Zig/Jai/Odin so far are looking interesting, the problem is they all depart from the C syntax, wich is annoying, the only syntax i'd like to change is the primitive type, i32/f32/size/usize, and that's it, no need more
- steeleduncan 4y agoI have a similar list, but I think part the difficulty with C replacements is that the sort of people who want to go out and write a new language generally do so because they have something more radical in mind. I have pondered forking tinycc and using that as a startpoint for a more conservative set of changes like you describe. It would limit the amount of work to be done and lead to something useable quite quickly.
- valepine 4y agoHave you looked at C3 (the language OP is making)? I think it hits a lot of your boxes.
- Kukumber 4y agoI looked at it; and i'm not really a fan of the syntax, `fn` feels out of place Also no language server is a hard pass, tooling is important