HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by shmerl | Hacker News Reader
Full thread
shmerl
·
How does it interact with OpenGL? Using C bindings?
View on HN
bjz_
·
We have a syntax extension that uses kronos' xml registry (
https://www.opengl.org/registry/#specfiles
) to generate symbol a loader (somewhat like GLEW) at compile time.
https://github.com/bjz/gl-rs
shmerl
·
Thanks for the pointer!
hornetblack
·
It uses gl-rs. Which auto generates a rust wrapper around the C bindings using a compiler plugin.
https://github.com/bjz/gl-rs
Reply on news.ycombinator.com