r/cprogramming • u/LineCommander • Mar 26 '26
Build android Apps in pure C
I built a cross-platform GUI framework in C that targets Android, Linux, Windows, and even ESP32
So after way too many late nights, I finally have something I think is worth sharing.
I built a lightweight cross-platform GUI framework in C that lets you create apps for Android, Linux, Windows, and even ESP32 using the same codebase. The goal was to have something low-level, fast, and flexible without relying on heavy frameworks, while still being able to run on both desktop and embedded devices. It currently supports Vulkan, OpenGL/GLES and TFT_eSPI rendering, a custom widget system, and modular backends, and Iβm working on improving performance and adding more features. Curious if this is something people would actually use or find useful.
20
u/SingerLuch Mar 26 '26
your work has motivated me to come back to C... great work!!!
14
u/nacnud_uk Mar 26 '26
This sounds like it blurs the line between madness and genius to a sufficient level as to make it seem bloody fascinating. π
8
u/diegoiast Mar 27 '26
The level of polish this v0.0.1. Lets make a small test:
Problems so far:
doctorscript is not executable. Easy to fix. Its also using dos line-endings, easy to fix.Lets try building for Android:
Something else is broken.
Another issue I found - is that the pull was taking a LONG TIME. I looked at the history, and by mistake the build directory was pulled into the repo. I fixed it by running:
Now I can see the proper source history in git.
I will open issues. This looks promising. The reason for pre-releases is to get feedback from other users. Please provide constructive criticism.
4
u/DunkingShadow1 Mar 26 '26
I'll try it out
4
u/Bitmapz_com Mar 26 '26
look nice, I will try it as well
1
u/ZealousidealShoe7998 Mar 28 '26
as a former frontend engineer I really think this looks great.
could you tel me whats an average memory footprint of this Gui framework ?
3
u/JohnDalyProgrammer Mar 26 '26
This sounds awesome
2
u/Marksm2n Mar 27 '26
Thatβs really awesome
1
u/NailAlarmed8935 Apr 08 '26
That's make me feel dumb I just start my journey and struggled building stack and can't even start building any things because I don't know how