Skip to content

Exit interview #2 #889

@makepaddev

Description

@makepaddev

As i think winit is useful to the rust community here is my exit interview #2. Windows.

My last issue was just on mac/web, but since i'm redoing the platform layer on windows heres some feedback:.

WHY IS EVERYTHING THREADED. sorry but really. I just reduced thousands of lines of winit complexity crap to like 5 platform calls and a windows message loop. See, this is what you would expect.
https://github.com/makepad/makepad/blob/master/render/src/cx_windows.rs
This is about as complex as the windows platform layer should be. I've also reduced Cocoa to
this
https://github.com/makepad/makepad/blob/master/render/src/cx_cocoa.rs

Sorry but winit is just architected wrong, done wrong, everything is wrong. I can't use it, i think its bad for the Rust community to exist in its current form. Please reconsider everything. I emplore you, with live working example code on how i would rewrite winit from scratch for all platforms. Windows, mac, web and linux is coming up.

So. I'll make a more detailed post later, but i'm fixing it regardless. Please. Its bad. think about how you are doing things, its bad for Rust.

Goodluck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions