winsafe-examples
yatta
Our great sponsors
winsafe-examples | yatta | |
---|---|---|
16 | 10 | |
57 | 141 | |
- | - | |
5.4 | 6.5 | |
18 days ago | over 2 years 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.
winsafe-examples
- Is Rust worth it for non low-level applications
- Rust for Windows.
-
Unsafe is a bad practice?
You might be interested in winsafe. There are a few examples how it can be used without unsafe code.
-
Why Rust for general application development?
If you think this is nuts, just wait until you find out that people are writing high level, native desktop applications in pure Rust!
- What beginner-level projects can I do now that I've just started learning rust?
- How to play video with Rust
-
How useful is Rust for quick prototyping++?
The easy path is just to build your structs normally, letting the burden of Rc/Arcing everything to the user. My first design was like this. Once I decided to bury this stuff inside the library, then my headaches began. But the API ends up being very ergonomic.
-
What is an idiomatic rust equivalent of C# events?
For example, a button click, where self.wnd is the parent window, looks like this:
- Is there any GUI framework or interface in RUST?
-
Current Cons in Rust, Workarounds, and Status?
Well, I can't really say it's new, but I'm working on a safe GUI API for native Win32 applications, where you can draw the windows using a WYSIWYG resource editor, like this example. And I'm having a lot of fun with it.
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.
-
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
I thought you might be interested to know that I have now implemented floating rules across all workspaces for applications both by class and process name! Example is on the README: https://github.com/LGUG2Z/yatta#keybindings
-
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.
-
[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).
What are some alternatives?
leftwm - A tiling window manager for Adventurers
Native Windows GUI - A light windows GUI toolkit for rust
setuptools-rust - Setuptools plugin for Rust support
winlamb - A lightweight modern C++11 library for Win32 API, using lambdas to handle Windows messages.
komorebi - A tiling window manager for Windows 🍉
workspacer - a tiling window manager for Windows
winsafe - Windows API and GUI in safe, idiomatic Rust.
komorebi - A beautiful and customizable wallpapers manager for Linux
maturin - Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages
PyO3 - Rust bindings for the Python interpreter
rust-how-do-i-start - Hand curated advice and pointers for getting started with Rust