yatta
winsafe
yatta | winsafe | |
---|---|---|
10 | 41 | |
141 | 440 | |
- | - | |
6.5 | 9.5 | |
over 2 years ago | 1 day ago | |
Rust | Rust | |
MIT License | MIT License |
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.
yatta
-
How useful is Rust for quick prototyping++?
I used Rust to prototype a new window manager in public and I found it very productive, easy to iterate on and make large changes without worrying about breaking anything.
-
komorebi: A tiling window manager for Windows written in Rust
Thanks! I had a look through the latest commit that you pushed to grist, and I noticed you handling errors from windows-rs in a similar way as I was doing in a previous project (yatta.
-
Komorebi: Another tiling window manager for Windows 10 based on binary space partitioning
In general, I feel a lot better about this code base, the choice of data structures, and particularly the added safety around how I am calling unsafe Windows APIs in cleaner ways that allow me to propagate and handle errors when responding to WinEvents or socket commands (compare this mishmash to this much cleaner module!)
-
I found interesting to find that Microsoft has Rust as one of the main "Develoipment paths" to development on Windows.
I wrote my very first window manager for Windows 10 in Rust earlier this here, I built it from the ground up using the new windows-rs crate. It was my first time developing anything for Windows and I was pleasantly surprised with the quality of the MS documentation ecosystem, and I also had a lot of great example code to learn from thanks to other projects like nog.
-
Rust for Windows: Getting Started
I am using this crate for a relatively non-trivial project (tiling window manager) and it has been pretty painless to use so far. From time to time, there will be an API or a type that is marked as not yet implemented, or an instance where the metadata it is generated from is incorrect, but the maintainer is helpful and responsive in my experience.
-
Yatta: A tiling window manager for Windows 10 based on binary space partitioning
https://github.com/LGUG2Z/yatta/commit/87bc73eaa4f6ba7d00dbab2a6fb100f060b88ed8 Creating window floating rules based on partial title matching is added with this commit
-
Switching to Windows
I started working on yatta for Windows 10 because I was missing yabai and bspwm after I started working from a Windows 10 desktop last year.
I made a post about it on the Rust subreddit yesterday looking for more contributors: https://old.reddit.com/r/rust/comments/lh4uyq/yatta_bsp_tili...
It's still early days, but it has automatic tiling, gap control, focus switching, directional moving and tree orientation toggling and you can use AHK or any other hotkey daemon to manage your keybindings.
You still have to build it from source at the moment, but I'm hoping to have it installable via the Scoop package manager in a month or two.
https://github.com/LGUG2Z/yatta
-
[yatta] Windows 10 BSP TWM - looking for contributors
I spent a couple of days hacking away to get something that works on Windows 10 with the bare minimum TWM functionality that my hands are used to, and I've managed to throw together Yatta: https://github.com/LGUG2Z/yatta (there is a demo gif on the readme).
winsafe
-
Sorry... what diskette?
I know all that shit because I'm the author of Rust's WinSafe library, which is a safer Rust layer over native Win32, so I had to deal with a lot of shit like this.
-
Accessing List of Installed Apps on Windows 11
[dependencies] winsafe = { git = "https://github.com/rodrigocfd/winsafe", features = ["kernel"] }
-
What is Rust's potential in game development?
Externally, you can write a lot of native Windows stuff in Rust already. Personally, I'm having a lot of fun with WinSafe.
-
What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented?
If you had such problems (which I also had in the past), I'm really interested in you opinion about WinSafe, and if it could help you solving them.
-
Is there a more "traditional" desktop front end I can use with Tauri?
If you're after a native Windows application, WinSafe may suit your needs.
-
GitHub - ryanmcgrath/cacao: Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!
As the author of WinSafe, I can say it's tedious sometimes, but it's often very challenging, because you have to translate crazy unsafe behaviors into Rust's ownership model. It's surely hard, but also very rewarding at the end.
-
Microsoft is rewriting core Windows libraries in Rust
As the author of the WinSafe lib, I wholeheartedly agree.
-
A Proposal for Safe Window Handles
I don't know how rare this is (or how rare it should be), but this issue warned me about this potential problem, and I had to make a huge refactoring to treat the possibility. I had to rethink many aspects of all handle implementations. It was hard work, but in the end it was worth it.
-
Why is building a UI in Rust so hard?
WinSafe says hello.
-
Use ManuallyDrop in Rust to control drop order of structure fields
WinSafe, for example (which attemps to be a safe layer over the Windows API), provides lots of RAII automations. A fine example is the BeginPaint function:
What are some alternatives?
leftwm - A tiling window manager for Adventurers
panamax - Mirror rustup and crates.io repositories, for offline Rust and cargo usage.
komorebi - A tiling window manager for Windows 🍉
winlamb - A lightweight modern C++11 library for Win32 API, using lambdas to handle Windows messages.
workspacer - a tiling window manager for Windows
skytable - Skytable is a modern scalable NoSQL database with BlueQL, designed for performance, scalability and flexibility. Skytable gives you spaces, models, data types, complex collections and more to build powerful experiences
komorebi - A beautiful and customizable wallpapers manager for Linux
rust-psvita - Project to build PS Vita apps in rust
winsafe-examples - Examples of native Windows applications written in Rust with WinSafe.
kube - Rust Kubernetes client and controller runtime
nog - A tiling window manager for Windows
calligrapher-ai - Handwriting Synthesis with RNNs ✍🏻