Help improving this code ?!

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

abulmo
Posts: 151
Joined: Thu Nov 12, 2009 6:31 pm

Re: Help improving this code ?!

Post by abulmo »

mar wrote:
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.
This is why D is a better language: same optimizer backend (dm or llvm or gcc), but much better syntax than C++. :wink:
Richard
Ras
Posts: 2488
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Help improving this code ?!

Post by Ras »

abulmo wrote:This is why D is a better language: same optimizer backend (dm or llvm or gcc), but much better syntax than C++. :wink:
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.

Morris' corollary: ... including Common Lisp.

:wink: