mar wrote:This is why D is a better language: same optimizer backend (dm or llvm or gcc), but much better syntax than C++.AlvaroBegue wrote: I wonder why people still believe in the myth that C is faster than C++ (or the other way around); if the backend optimizer is the same (assuming the same compiler) - unless you do something dumb, you should get the same performance.
Help improving this code ?!
Moderators: hgm, Rebel, chrisw
-
- Posts: 151
- Joined: Thu Nov 12, 2009 6:31 pm
Re: Help improving this code ?!
Richard
-
- Posts: 2488
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: Help improving this code ?!
Greenspun's tenth rule: Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.abulmo wrote:This is why D is a better language: same optimizer backend (dm or llvm or gcc), but much better syntax than C++.
Morris' corollary: ... including Common Lisp.