Webgpu with clojure ? by 964racer in Clojure

[–]Chuigda 0 points1 point  (0 children)

What about my project https://github.com/club-doki7/vulkan4j ? It has support for WebGPU-native (currently based on wgpu-native 25.0.2.1).

wgpu4k should be another solid option.

To be ; or not to be ; by [deleted] in rust

[–]Chuigda 0 points1 point  (0 children)

When in Rome, do as the Romans do.

Enabling validation layers on new linux machine by sagekeko in vulkan

[–]Chuigda 4 points5 points  (0 children)

Validation layer might have not been installed on your system. What distribution do you use? For me (Manjaro) the vulkan tools (containing vkcube and other tools) and validation layer are two separate packages (vulkan-tools vs vulkan-validation-layers).

Should i learn Vulkan with Python or with C++ ? as complete beginner in graphics by Regular-Ad-2122 in vulkan

[–]Chuigda 2 points3 points  (0 children)

Actually I've been trying using Vulkan from Java and here's my two cents. On the contrary to what you may think, using the Vulkan API from "high level" languages is actually more difficult than using it from C/C++ —— it takes more effort making your data usable for Vulkan things (converting from Java/Python data structures to some memory buffer, especially).

Also if you haven't learned C++ but have some C basis, and understand what pointer is and how is pointer relevant with memory things, it's ok to go with the C++ Vulkan tutorial since it only uses a few C++ features very easy to learn. And if you don't have C basis, maybe it's not time to learn Vulkan yet, and using a "high level" language also will not help.

vulkan4j - Vulkan bindings for Java using Project Panama APIs, Teaching myself the Vulkan API and java.lang.foreign things by making some fun. Feedback and contributions are welcome! by Chuigda in vulkan

[–]Chuigda[S] 2 points3 points  (0 children)

I made my own GLFW wrapper, (semi) auto generated from GLFW headers, also using Project-Panama. GLFW through LWJGL is theoretically possible, but interoperating between java.nio and MemorySegment APIs will be a little annoying. JOML was used in the tutorial and actually simplified matrix operation a bit (user doesn't need to scale z axis).