| ▲ | CUI – Native UI components for C(yappologistic.github.io) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64 points by hilti an hour ago | 26 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | nepthar 27 minutes ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Okay, so this is cool, but also vibecoded by someone who just does frontend. I totally support AI development, but the first commit was 4 days ago and it's entirely written by claude. The UI looks like "the style that that AI comes up with" turned into a C framework. I don't want to discourage this kind of experimentation, but I also question how much of the last 20+ years of UI and C knowledge was not used in the construction of this project. Also, do I want to build a kanban board in C? Unsure. Just take care when evaluating this for actual usage. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | piker 43 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
C increasingly makes sense for compile times if you can have a separate Fable pass on memory safety, etc. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | zerr 16 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
More like custom UI components. Native would have been if you had wrapped e.g. Cocoa NSButton on macOS and Microsoft.UI.Xaml.Controls.Button on WinUI. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | wg0 an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Looks like ShadCN. That too in C. It's really really elegant. EDIT: It's immediate mode. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | huhtenberg 12 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any pre-built examples? Even if it's something like a calculator. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | Luke2642 12 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Looks great, but node editor is janky on mobile. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | saidnooneever an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
this looks really sweet actually. didnt dig into the backing code yet but the examples look really nice and clean to implement a UI with. well done. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | CrzyLngPwd 23 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Looks lovely, but without long term support and hostory, I wouldn't touch it with someone else's long stick. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | zerr 23 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Can you please prompt your agent to generate a C++ binding? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | annoyingnoob 19 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CUI - Controlled Unclassified Information. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | skydhash 38 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This looks like built by someone raised exclusively on web and touch technologies, forgetting that both are the results of constraints. The web was not meant to be a UI platforms and have poor primitives, and touch devices lack precise positioning and Take the chips and rating as an example https://yappologistic.github.io/CUI/#/c/chips-and-rating It’s purely aesthetic as functionality (and ux) wise, chips are not different from checkbox with labels and rating is just a discrete slider. And as I thought, you can see the duplicate code for switch and checkbox here. https://github.com/yappologistic/CUI/blob/f1202e6d98cdc297f9... People do need to differentiate between UX primitives and something that just looks different. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | all2 an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The acronym collision is entertaining. I now want to use CUI to mark up my CUI. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | cincinnatus 37 minutes ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Shame to put effort into encouraging more C code. All C code needs to be torn out by the roots. I don't care how carefully crafted it is and how many Fable passes have been done, it is inherently unsafe. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||