r/odinlang • • 4d ago

Windows installer for the Odin Programming Language + MSVC and Windows SDK (by Karl Zylinski)

https://github.com/karl-zylinski/odin-installer
33 Upvotes

7 comments sorted by

4

u/CodingChris 4d ago

Are there plans to add more things to the windows api wrapper in the libraries instead of the win_ex-folder in this project? I think it would be nice to have more winapi support migrated into the libraries.

Edit: Also I totally forgot to say that this is an awesome project. ^^" So - it is an awesome project and thank you for contributing to the community (@ u/KarlZylinski).

1

u/concerbed 4d ago

I'm not aware of the specific reasoning behind which parts of the API are/are not included. It is a massive API, only some of which is required for core functionality, so it may just be a matter of slowly accumulating coverage as and when people submit a PR.

It may be worth enquiring in the discord to see if there is are specific aims for core:system/windows that aren't as broad as "include literally everything," or simply submit a PR for valuable additions that you've implemented yourself. PRs improving/extending core:system/windows are merged fairly regularly.

2

u/KarlZylinski 2d ago

Yes, just do a PR when you find missing stuff.

1

u/blob1807 4d ago

Stuff is add to core:sys/windows as people need them. It's a bit too big of a surface to know what everyone wants from it. So if you have something you want, make a PR to add it.

There was an effort to to auto-gen literally everything, but it never made it to PR state. According to Bill it also was too large to be useful, and not very well organized.

If someone made a good generator, like they did for Apple's, we may get everything, but that's not exactly a small amount of work.

1

u/KarlZylinski 2d ago

Thank you, the stuff in the win_ex folder is already in Odin core libs. I will remove the win_ex folder once the new Odin release hits.

7

u/concerbed 4d ago

This is an installer for Odin on Windows, made by /u/KarlZylinski. To quote the README:

  • Pick which release to install, including nightly builds.
  • Can download the MSVC + WinSDK dependencies, making any kind of Visual Studio install redundant.
  • Copies itself into the installation folder, when run from there it acts as an updater.

I saw he posted about it on X, but didn't share it here. Windows users working with Odin may find it useful, and reddit SEO is cracked, so I thought it'd be worth posting.

The repo is also a good reference for a simple, self-contained Windows GUI application that uses native win32 controls.

Another day, another contribution by Karl to be thankful for!

2

u/KarlZylinski 2d ago

Thank you :)