Skip to content

C++20? (Not an issue but a question) #453

@achimste

Description

@achimste

Hi!

Sorry, this is not an issue but a suggestion and I just would like to hear your opinion.

In my chess engines, I replaced all that CPU-specialised code (popcount, msb, lsb, etc) with C++20 std commands, where the compiler automatically uses the corresponding intrinsics or other codes depending on the code generation flags.

So my question is: Would you like to switch to C++20 or remain at a lower version? At least with C++20 your code would simplify (a lot?).

I downloaded your latest code and I am indeed replacing your CPU specific code with std-lib commands.
I am compiling for Windows only.

Regards
Achim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions