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

At this point is there a cross-platform UI framework that one can just use? At least for simple or moderately simple apps? Even if it's not "all platofrms" but rather two separately: mobile and desktop. But being extremely lightweight is a pre-requisite. Googling about it takes

When I was making a simple vibe-coded app for a hobby group I am part of I finally went ahead with a static hosted web app because everything else quite complex and still used quite a lot of RAM (just for using the f/w).

I think the only better option as of now is – just write native code for each platform. I think the purest cross-platform UI frameowrk is the LLM itself :)



You can check https://github.com/gen2brain/iup-go , real native controls everywhere, powerful, same codebase for desktop and mobile apps (different layout though). I hope to release soon, after years in making it finally does everything that is planned. With proper documentation, 200+ examples, etc.

You do not have to use Go, of course C works, and there is a nice wrapper for C++. I have ported gVim, it was a good test that helped me optimize many things, but now I maintain and use it on my desktop with Qt, it is just too good to throw it away. Can also be used with WinUI, Cocoa, FLTK gVim is also nice and slick.


Wow this is impressive.


Slint might fit: it runs on desktop and mobile, and it’s lightweight enough to run on microcontrollers. You write the UI in a small declarative language, and the logic in Rust, C++, JS, TS or Python, depending on your preference. (I work on it.)


Flutter. It is very mature as it came before the wave of AI slop and works everywhere without issue, especially mobile.


I come from Android so had early exposure to Flutter. It used to draw every single pixel of the UI on every platform. Felt kinda weird. I guess the point of native UI is to use native UI controls offered. Though I must say that is much better than react native and electron, still. I will check it again. Thanks for reminding.




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

Search: