Re:C-for-all: Extending C with modern safety and productivit...
by saagarjha on Wednesday December 04, 2019 @06:37AM
(#21701337)
So you’re looking for Rust with C’s syntax?
[ Parent
| on HN ]
Re:C-for-all: Extending C with modern safety and productivit...
by F-0X on Wednesday December 04, 2019 @06:51AM
(#21701390)
Would be a big improvement on Rust.
Re:C-for-all: Extending C with modern safety and productivit...
by wwright on Wednesday December 04, 2019 @07:01AM
(#21701452)
What part of Rust’s syntax do you think is a detriment vs C? A lot of it is very similar to C, but with ambiguity removed.
- Variable types are changed to avoid ambiguity in lexing.
- Loops and conditionals require {}, which means the parentheses can be dropped on the condition and there’s no ambiguity about nested if’s and else’s.
What would you like improved?