gram on Nostr: Is there a pure #Rust library to open a window on desktop and show a picture? The ...
Is there a pure #Rust library to open a window on desktop and show a picture? The problem with winit, rust-sdl2, glutin, rust-minifb, and everything using these is that they wrap C libraries, and then cross-compilation becomes almost impossible.
We've been fighting with it for quite a while. At this point, I'm considering making a wasm app and wrapping it into electron or something.
Published at
2024-05-08 06:50:46Event JSON
{
"id": "205eec2b988e866a36a775a113d175a24aaf112dc7a9700a20b39a71a7b0650c",
"pubkey": "bea83a9da72be14df35d74e1f5797c64e53e090ef24eebef3483311b2240130d",
"created_at": 1715151046,
"kind": 1,
"tags": [
[
"t",
"rust"
],
[
"proxy",
"https://fosstodon.org/users/orsinium/statuses/112404138988015927",
"activitypub"
]
],
"content": "Is there a pure #Rust library to open a window on desktop and show a picture? The problem with winit, rust-sdl2, glutin, rust-minifb, and everything using these is that they wrap C libraries, and then cross-compilation becomes almost impossible.\n\nWe've been fighting with it for quite a while. At this point, I'm considering making a wasm app and wrapping it into electron or something.",
"sig": "6f0ba745cd5723caee470977bd7588d5ed73b23f66a131db24baadf6bf2b415daac6f29f9cc9b663ee0f91ba1e45ec9c03638f190e091cded2e90c15ff0e2cc5"
}