Comment by kragen

Comment by kragen 18 hours ago

2 replies

It's rare that I see compiler-generated assembly without obvious drawbacks in it. You don't have to be an expert to spot them. But frequently the compiler also finds improvements I wouldn't have thought of. We're in the centaur-chess moment of compilers.

Generally playing with the C until the compiler does the right thing is slightly brittle in terms of performance but not in terms of functionality. Different compiler flags or a different architecture may give you worse performance, but the code will still work.

EdwardDiego 8 hours ago

Centaur-chess?

  • Someone 7 hours ago

    https://en.wikipedia.org/wiki/Advanced_chess:

    “Advanced chess is a form of chess in which each human player uses a computer chess engine to explore the possible results of candidate moves. With this computer assistance, the human player controls and decides the game.

    Also called cyborg chess or centaur chess, advanced chess was introduced for the first time by grandmaster Garry Kasparov, with the aim of bringing together human and computer skills to achieve the following results:

    - increasing the level of play to heights never before seen in chess;

    - producing blunder-free games with the qualities and the beauty of both perfect tactical play and highly meaningful strategic plans;

    - offering the public an overview of the mental processes of strong human chess players and powerful chess computers, and the combination of their forces.”