Re:NASA: High Performance Fast Computing Challenge
by jay-anderson on Thursday May 04, 2017 @02:35PM
(#14267463)
Also, there are optimizations that can be done with fortran that are more difficult or cannot be done with C (see https://en.wikipedia.org/wiki/Pointer_aliasing).
[ Parent
| on HN ]
Re:NASA: High Performance Fast Computing Challenge
by qb45 on Thursday May 04, 2017 @03:01PM
(#14267698)
That's what I meant by "restrict by default". You can get Fortran-like semantics in C by marking function arguments with the restrict keyword, at the cost of some manual labor (and possibly having to explain this to scientists who consider computers a necessary evil) ;)