Hacker News new | ask | show | jobs
by jaunkst 2636 days ago
The react thing is cool, I have toyed with JSX to immediate mode OpenGL UI rendering with a JS runtime engine. I stopped working on it because I need to move over to a Vulkan API or something because my primary OS is OSX. Im feeling a bit of inspiration for this project. Very neat!
1 comments

It actually worked out way better than I expected. With a bit of memoization using references to immutable objects and some "hotness" grouping mechanisms for renderables that change frequently, but not every frame, you get a purely-functional-looking rendering pipeline. And it's super convenient to render related 2D and 3D UI from the same logical component.