Re:Which programming language or compiler is faster
by dorinlazar on Saturday December 18, 2021 @03:37PM
(#29608275)
I agree; of course, both clang and gcc extend C++ with __restrict__ if I remember correctly; from what I know, there are more things that can be done in C++ to improve over C than the other way around.
[ Parent
| on HN ]
Re:Which programming language or compiler is faster
by khoobid_shoma on Saturday December 18, 2021 @09:05PM
(#29610692)
IIRC, __restrict__ in clang and g++ does nothing when you write C++ code. It is there just for compatibility with C.