Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the difference between windows-gnu and windows-msvc release? #726

Closed
saifali-ch opened this issue Feb 5, 2021 · 3 comments
Closed

Comments

@saifali-ch
Copy link

fd-v8.2.1-x86_64-pc-windows-gnu
fd-v8.2.1-x86_64-pc-windows-msvc

Are both releases same? If not which one should I prefer?

@tmccombs
Copy link
Collaborator

tmccombs commented Feb 6, 2021

Which ABI it uses. windows-gnu is compatible with the GCC/MinGW ABI and windows-msvc is compattible with the Microsoft Visual Sutdio compiler ABI. For an application like fd that isn't dynamically linked to anything besides libc, it probably doesn't matter too much. There may be other small differences, such as small differences in performance or size of the executable, but I think either one would work fine.

@saifali-ch
Copy link
Author

I perfromed benchmarking on windows with sharkdp/hyperfine and it turns out be that windows-gnu is a bit faster then msvc.
On the other hand, windows-msvc binary size is smaller.

Thanks a lot!
Jazzak Allah

@sharkdp
Copy link
Owner

sharkdp commented Feb 13, 2021

I think the MSVC version also has a dependency on some MSVC runtime support DLLs, right?

In any case, it would probably be good to document this somewhere for Windows users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants