Skip to content

Conversation

@KevinRansom
Copy link
Contributor

On VS for Arm the platform specific compiler is faster, so by default use that, to switch back to AnyCpu use this property in the project file.

        <FSharpPreferAnyCpuTools>true</FSharpPreferAnyCpuTools>

These are stupidly complex for performance reasons:
Arm64 is faster than AnyCpu on an Arm64 machine
On Windows Arm64 default to Arm64 build, otherwise default to AnyCpu.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting! Could it be also faster on macOS aarch64?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, good point. Should be.

@auduchinok
Copy link
Member

Another idea: is the performance difference in the compiler only, or using platform-specific FCS assembly could also be useful here?

@KevinRansom KevinRansom deleted the platformspecificfsc branch August 27, 2022 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants