3 ms·
A nitpick: C has been able to achieve the same performance as Fortran since C99 introduced the "restrict" keyword.
by idbfs 12y ago
A nitpick: C has been able to achieve the same performance as Fortran since C99 introduced the "restrict" keyword.
- steveklabnik 12y agoI was reading the other day that Windows doesn't really support most of C99, is restrict part of that or not?
- ygra 12y agoVisual Studio ships only with a C++ compiler. That doesn't mean you cannot use other C compilers on Windows. Still, there seems to be something similar since VS2005. »__restrict is similar to restrict from the C99 spec, but __restrict can be used in C++ or C programs.«: http://msdn.microsoft.com/library/5ft82fed.aspx http://msdn.microsoft.com/library/5ft82fed.aspx
- steveklabnik 12y agoUgh, yes, I should have said "MSVC++," or "Microsoft." Thank you.
- fithisux 12y agoPellesC has a new release candidate. LCC-WIN32 (compatible with what standard???) has a steady stream of releases. Openwatcom v2 has also changes. VS is only good for VisualD.
- hornetblack 12y agoMS specifically implemented __restrict: > __restrict is similar to restrict from the C99 spec, but __restrict can be used in C++ or C programs. http://msdn.microsoft.com/en-us/library/5ft82fed.aspx http://msdn.microsoft.com/en-us/library/5ft82fed.aspx
- ternaryoperator 12y agoAs of VS2013, MS supports almost the entire C99 spec.