Umpire
xwin
Umpire | xwin | |
---|---|---|
4 | 5 | |
7 | 340 | |
- | - | |
8.3 | 7.2 | |
about 1 year ago | 15 days ago | |
Rust | Rust | |
GNU General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Umpire
-
3 years of fulltime Rust game development, and why we're leaving Rust behind
* https://github.com/joshhansen/Umpire
-
Hey Rustaceans! Got a question? Ask here (13/2023)!
The reason for this is that I'd like to use an RAII pattern to control player turns in Umpire. When the struct is initialized, it starts the player's turn, and when the struct is dropped, it ends the player's turn.
-
What's everyone working on this week (5/2023)?
Wound up with some time so I figured I'd port my Umpire military strategy game to a client-server architecture so people can play it online. This will give me some experience with Tokio, tarpc, and async Rust generally, since I'm eyeing a possible Rust dev gig in my future.
-
Am I the only one who finds Rust to be centered around Linux? Any Windows devs want to share their experience with Rust?
I've done a little bit of Rust development on Windows and had a good experience. I ported my (still unfinished) Umpire game to Windows pretty easily. I had to rename some files that had colons in the filename which Windows didn't like. The actual hard part was the terminal library, but switching to crossterm was pretty straightforward. All in all it was pretty painless.
xwin
-
Because cross-compiling binaries for Windows is easier than building natively
There's tooling that mostly avoids this. https://github.com/Jake-Shadle/xwin
This is a utility that fixes a lot of the cross-compiling issues for windows by giving you a portable, unfucked naming, and not-massive SDK. It's the same SDK you get when you install MSVC but it's only a few hundred megs and the names are consistent even with all of Windows' fucked up tooling.
The only caveat is you need to provide your own compiler, in this case clang is often the best option.
-
cargo-xwinbuild v0.3.0 supports cross compile to Windows with CMake dependency
cargo-xwinbuild is a thin wrapper of xwin provides a Cargo subcommand xwinbuild to make cross compiling to Windows MSVC target just work.
-
Announcing cargo-xwinbuild: Cross compile Cargo project to Windows msvc target with ease
This situation bugs me a lot, and I remembered a blog post about the xwin which makes cross compiling Windows binaries from Linux quite easy, but it requires a lot of manual setup. While using Docker containers make it easier, it's also slower.
-
Am I the only one who finds Rust to be centered around Linux? Any Windows devs want to share their experience with Rust?
I will do you one better. When I do windows development, I work within WSL and use the cross-compiler toolchain to generate windows binaries. I have found "Xwin" to be very useful for this: https://github.com/Jake-Shadle/xwin
-
Blog post: Cross compiling Rust Windows binaries from Linux
I've just pushed a 0.1.1 release that fixes this issue, unsure why the windows crate decided to use screaming case in their link names but I'm sure they're not the only ones.
What are some alternatives?
ntfs - An implementation of the NTFS filesystem in a Rust crate, usable from firmware level up to user-mode.
cargo-deny - ❌ Cargo plugin for linting your dependencies 🦀
lxd-snapper - LXD snapshots, automated
llvm-mingw - An LLVM/Clang/LLD based mingw-w64 toolchain
mini-me - Inline multiline text-editor/prompt written in Rust.
msvc-llvm-nix
tui-realm - 👑 tui-rs framework to build stateful applications with a React/Elm inspired approach
music-vibes - Desktop app for translating audio output into vibrations
wasm-bindgen-serde-example
cargo-xwin - Cross compile Cargo project to Windows MSVC target with ease
sciter - Sciter: the Embeddable HTML/CSS/JS engine for modern UI development
xlsxwriter-rs - Excel file writer for Rust