News for hackers. Stuff that matters.
Re:gpu.cpp: A lightweight library for portable low-level GPU... by captaincrowbar on Saturday July 13, 2024 @07:43PM (#40957749)
This looks useful but I'm worried about portability. Are there any plans for native Windows support?
Re:gpu.cpp: A lightweight library for portable low-level GPU... by austinvhuang on Saturday July 13, 2024 @07:59PM (#40957808)
Windows should work since WebGPU can target DirectX or Vulkan and it should be possible to build in WSL.

However I was planning to announce next week after I've had a chance to test with my Windows-using colleagues and this thread came early, so it's possible we'll run into some hiccups.

Meet us on discord here if anyone needs helps or just wants to say hello - https://discord.gg/Q9PWDckbnR

Re:gpu.cpp: A lightweight library for portable low-level GPU... by kookamamie on Sunday July 14, 2024 @03:41AM (#40959474)
I would say most people would not consider WSL to be "Windows".
Re:gpu.cpp: A lightweight library for portable low-level GPU... by captaincrowbar on Sunday July 14, 2024 @04:39AM (#40959714)
Put it this way: Can I build an executable using this, that I could confidently give to a Windows user who has never heard of WSL?
Re:gpu.cpp: A lightweight library for portable low-level GPU... by austinvhuang on Sunday July 14, 2024 @06:40AM (#40960106)
Fair enough - I don't think there's any hard blockers to doing this, but to get the same QoL we'll want to add a dawn dll to the available prebuilt binaries and adjust the download script.

Will look into this in the coming weeks (or if anyone is up for contributing let us know).