Skip to content

Use clang on windows? #187

@yetyetanotherusername

Description

@yetyetanotherusername

Can I ask, is using msvc on windows a design choice or is it simply a convention thing?

In my experience, using clang over msvc would offer several benefits:

  • Commonality: Linux and macOS both employ clang so it would reduce the number of used compilers to 1
  • Compilation time: Clang usually compiles/links significantly faster compared to msvc
  • Runtime performance: Clang has been shown to vectorize much more aggressively than msvc yielding better runtime performance of resulting binaries. I.e. large game studios usually use clang over msvc due to this.
  • msvc sucks for c++ std compliance

I haven't looked into availability/feasability of using clang on windows in GH Actions, but if you're open to the possibility and there are no obvious blockers that I am missing, I'd be curious to give this a whirl.

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