Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> wasm html5 app

That would seem a little anathema to a imgui library aiming to be native on multiple platforms and to have minimum dependencies.



ImGUI generally runs on GLFW and there is even a port to html5: https://github.com/jnmaloney/WebGui

ImRAD appears to be based on GLFW as well so one would only have to follow a tutorial: https://uncovergame.com/2015/01/21/porting-a-complete-c-game...


WebGL2 is a thing now so some of what that blog discusses isn't as bad anymore, in terms of shader support.

Mind blowingly, webgl + Mac + integer textures still don't work afaik.


A multi-platform, minimal dependency project such as this is a perfect fit for targeting wasm, which of course is "just" another platform (not sure what additional dependencies you think it would need?)


it's easy nowadays to compile imgui apps to wasm/html5

examples:

https://web.imhex.werwolv.net

https://floooh.github.io/sokol-html5/imgui-sapp.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: