3 ms·
I pimp this project any chance I get: https://github.com/andlabs/libui https://github.com/andlabs/libui We're considering using it for the next generation of
by api 7y ago
I pimp this project any chance I get:
https://github.com/andlabs/libui https://github.com/andlabs/libui
We're considering using it for the next generation of the ZeroTier desktop UI. Unfortunately no mobile support (but we already have native mobile UIs), but it looks like the best contender for a cross platform UI lib that is light and fluffy and simple. Rust bindings should be trivial. There are high quality Go bindings here:
https://github.com/andlabs/ui https://github.com/andlabs/ui
- itronitron 7y ago>> a cross platform UI lib that is light and fluffy and simple Can you comment on whether you evaluated Java Swing or Java FX as a cross platform UI lib for your needs? I am curious to hear others thoughts on the matter.
- auggierose 7y agoDefinitely not light and fluffy ...
- pjmlp 7y agoWhen compared with having to deal with Electron, it surely feels like it.
- api 7y agoWhat sort of memory consumption and general overhead are we talking about here?
- rapsey 7y agoIf that is a major factor use wxwidgets. It is at least reasonably complete
- itronitron 7y agoWell, people run Java UIs on Raspberry Pis which demonstrates that the overhead can be very low.
- vardump 7y agoRaspberry Pis have a ton of RAM. Most old ones have 512 or 1024 MB, and new RPi4s up to 4 GB. If something runs on a Raspberry Pi, that's not exactly a proof it's light weight.
- inferiorhuman 7y agoThe problem I ran into using Pis was that 3D hardware didn't seem to want to play well with Qt. Unfortunately since using 3D acceleration for UIs is all the rage almost nothing worked without a lot of tinkering (and even then). I'm pretty sure this has changed since the last major Raspbian update, but the Pi still isn't quite at parity with more mainstream desktop hardware.
- itronitron 7y agookay then, I guess a better data point would be that Java UIs run on twenty year old desktops (500Mhz, 128 MB RAM)
- rapsey 7y agolibui is limited to the point of uselesness. You will very quickly reconsider once you try using it. Javafx/tornadofx or maybe wxwidgets/qt is a better choice
- agumonkey 7y agoI so forgot about tornadofx.. it's just what I was looking for. Thanks.
- deleted 7y ago[deleted]