PanGui – A cross-platform UI library with a razor sharp focus on performance
pangui.io
pangui.io
Well, they got this right.
> with a razor sharp focus on performance
Is it interesting that they chose this phrase. How does it compare to Qt performance on their supported platforms? I cannot believe they will be faster than Qt in 2025. To be clear, I don't think a general UI framework needs to paint GUIs any faster than 60 frames per second. If you need faster, then use a specialist graphics framework, like SDL. That said, the Qt commercial license is very expensive, so maybe they can compete with lower prices (and somewhat lower quality).SDL is like a (much better) glut that has sane platform support (and audio).
PanGUI gives you graphics primitives, nicely done and executed and seems to have a much saner selection of platforms (and also gives you audio), as well as supporting a great many languages to code in.
> SDL is only a graphics framework in that it gives you a window, input events, and either a putpixel/blit functions or OpenGL.
Do you think that Qt cannot do that?I agree that most >$600 phones are >60hz, as well as a lot of mid-to-high-end laptops (>$800), but that's not even remotely close to the vast majority of devices.
I also agree that nobody should limit it to 60hz though, but the global percentage of people using >60 Hz is likely single digit
What apps benefit? Anything motion heavy.
Need might be a strong word, but that's my point with "artificially constrained." Reminds me of the potentially apocryphal Bill Gates quote:
> 640K ought to be enough for anybody
This was announced (and discussed with no interest a year ago, previously on https://news.ycombinator.com/item?id=39997562 and /r/unity3d)
https://pangui.io/#hello-world
but they claim it will be "language agnostic" and C++ is the next target, but maybe that just adds to the vagueness.
see the Language-agnostic section
Keep in mind that PanGui is designed to be language-agnostic and will be transpiled to many languages, with C++ being the next target language. Where necessary, the user-facing API will always change to feel natural to use in the target language.”
Unsure if the whole thing transpiles or it’s C bindings with a transpiled shim. Either way, not having the source to inspect makes the package a tough sell to most here, I’d imagine.
Sometimes its maybe about reinventing the wheel , sometimes people create micro optimization in their standards.
> First, we want to put PanGui into the hands of as many people as possible and make it as accessible as possible. Second, we would prefer not to starve to death.
> The extreme version of the first priority is making PanGui fully free and open source for anyone and everyone. The extreme version of the second priority is creating some pricing scheme where people have to pay us exorbitant fees just to glance briefly at an impressionist painting of the source code.
> Clearly, neither will work out, so our goal is to strike some balance between these two extremes, preferably getting as close to the first one as possible. If you have any opinions or ideas, we would love to hear them.
> Please tell us what to do > As of this moment, we think PanGui is very likely to be some sort of open source, and hopefully the vast majority of people using it will never have to pay a dime. If we can make that work, we will.
From their pricing FAQ - I appreciate their honesty and humor.
Look, we're going to level with you. We really don't know. We have two overriding priorities:
First, we want to put PanGui into the hands of as many people as possible and make it as accessible as possible. Second, we would prefer not to starve to death.
The extreme version of the first priority is making PanGui fully free and open source for anyone and everyone. The extreme version of the second priority is creating some pricing scheme where people have to pay us exorbitant fees just to glance briefly at an impressionist painting of the source code.
Clearly, neither will work out, so our goal is to strike some balance between these two extremes, preferably getting as close to the first one as possible. If you have any opinions or ideas, we would love to hear them.
Please tell us what to do As of this moment, we think PanGui is very likely to be some sort of open source, and hopefully the vast majority of people using it will never have to pay a dime. If we can make that work, we will.