Back to News
Advertisement
Advertisement

⚑ Community Insights

Discussion Sentiment

50% Positive

Analyzed from 205 words in the discussion.

Trending Topics

#app#rust#made#cross#overlay#windows#control#window#significantly#more

Discussion (3 Comments)Read Original on HackerNews

flashfilterβ€’about 15 hours ago
A friend and I wrote a flash filter (to dampen screen flashes) with wgpu-hal and Rust. And I have to say it made the experience of writing cross graphics API compute shaders so much nicer. We tried using winit to create our overlay windows but found it didn't provide sufficient control over the created platform window so we ended up plain win32 and app-kit to handle our windowing.

Then the overlay window is controlled by a separate program via IPC. The control GUI is written with iced 0.14.0 (was originally done with gpui but it made the app significantly more complex and was giving us problems with our build pipeline (we were trying to setup full cross compilation in an amd64 linux container--have given up on getting macos in there for now but windows works)).

Not going to go too in depth on the filtering algorithm but I will say I am very thankful for the Rust ecosystem, the project would have been significantly harder without it. The app still has some bugs and we still haven't released our other shader variants or exposed some of the more advanced options so we're going to work on those for the time being.

creatonezβ€’about 11 hours ago
Maybe don't demand a google account login before even indicating what platforms it supports?
lamerscβ€’about 10 hours ago
We state which platforms are supported at the bottom of the page without logging in.

On the other hand, if people aren’t fans of the Google login, let us know and we’ll implement our own; really just went for something we use ourselves off the bat.