M
Modular•3mo ago
lukas

WGPU-Mojo

This is more of a proof of concept of what's possible, but here's an example of calling wgpu-native from Mojo. It's not enough to make a full game right now, but Mac users can at least get a triangle in a window. It's also to an extent an example of using the Conda ecosystem to manage C dependencies. https://github.com/lsh/wgpu-mojo
GitHub
GitHub - lsh/wgpu-mojo: A proof of concept of wgpu-native bindings ...
A proof of concept of wgpu-native bindings in Mojo. - lsh/wgpu-mojo
No description
6 Replies
Moosems / Three chickens
Are you using Zed as well 😄?
lukas
lukasOP•3mo ago
Yeah lol
Moosems / Three chickens
Nice How did you get the mojo highlighting?
lukas
lukasOP•3mo ago
I’m using my tree sitter grammar. I have my own extension which I’m using, but someone else made one as well I think
sora
sora•3mo ago
at least get a triangle in a window
That's definitely a very nice triangle in a window, great work!
a2svior
a2svior•3mo ago
Very cool triangle I agree
Want results from more Discord servers?
Add your server