Re:V 0.3
by gompertz on Friday July 01, 2022 @04:23PM
(#31952284)
If you look at the C that's generated using -keepc flag, I think you will be hard pressed to find any glaring inefficiencies to "hand coded C"; especially none of which GCC optimization wouldn't handle with -prod compiler flag. Even if there were, for the very large majority of users who are not highly proficient in C (which is becoming more and more common these days - Grey beards are rare), the V way is going to outperform novice to intermediate-skilled C programmers hands down.
[ Parent
| on HN ]
Re:V 0.3
by vlang1dot0 on Friday July 01, 2022 @07:35PM
(#31954432)
I don't see how that really follows. V heap allocates any value which is address taken. You don't need to be an advanced C programmer to use pointers.