I've been a C programmer for about 5 years now, and I didn't know you could do something like this! I learn something new about programming every single day, haha. It's good.
@@konstantinrebrov675 This is relevant only in the broadest sense (maybe even philosophical) - you can simulate any mathematical system on a computer using a programming language. It should be noted, however, that the programming language must be Turing complete.
I'd like to see you display anything to the screen without using your graphics card. UPD: with y'all logic y'all want to write assembly just for one specific architecture, for one specific OS, spend your year on that, and then get nothing done, just for a to-do app 👍 Y'all will probably say that OpenGL is bloat (spoiler alert, it's a spec, that mere mortals have no physical possibility to implement, unless you create your own GPU)
@@higgins007 I mean sure you don't _need_ GLFW, but my understanding is that it's one of the main ways to do it and has been developed for a while, why would you _not_ use it?
Actually blessed this popped up on my home page, something like this is exactly what I've been looking for for days. Thank you so much, you've earned a like and subscribe
Why do I always watch videos that make me feel bad about my current skillset, apparently you're like 8-9 years younger than me and can already do like way more than I ever could lol bruder, you will do great in life.
Probably one of the best coding videos made. Using nvim (nvchad too!), explaining everything, mostly unedited, using arch linux, and coding in C. Subscribed.
dude this type of content looks awesome (as well as the whole video, from going thru it a bit) i will definitely sit down and watch this when i got the time
i've wanted to create my own task manager app in c. my first version, wacky version was console based lol. i'm going to learn more from this.. thank you
How did you configure autocompletion on your neovim dotfiles so that it actually complete things like GLFW functions? I have been trying to do that for months and can't find a way for it to work. Mine only suggests completions with texts that are already in the file.
You need a language server for this to work, usually for C people use clangd. If you already installed clangd and configured it in your neovim install, and it didn't work, then your configuration is most likely wrong.
The work and dedication put in executing this is amazing to me! Keep it up and I hope you make the best out of it. Also That’s a really beautiful nvim setup! I’d really appreciate it if you can share basic changes / references needed to create the same, if it’s not too much of a hassle? Thanks!
Endlich normale Leute :D Subscribed 1 minute into the vid! Arch, nice rofi style, NeoVim as IDE, nice looking C based GUI. Obviously a man with a fine taste.
apart from the fact 5 libs were installed, youth should learn C instead of web dev frameworks procedural programming is all you need; anything more is an excess that you don't need
Nice work, dude. Suscribed!!! Your nvim setup looks clean and elegant. Can you make a video about it, including how to set it up from scratch? Maybe you could also cover your whole setup, including Arch and the window manager. I think most beginners like me would be interested.
thats an interesting idea. never thought about using it for anything other than games, but i dont see any reason why it wouldn't be feasible. worth a try
@@729usbow you are just looking at it without knowing anything about what you’re writing. I am installing 4 libraries, 2 of them (libclipboard and leif) have a combined number of lines of code of not even 4k. Cglm is a simple linear algebra library that is as un-complex as possible. The only library that you could consider not lightweight is glfw. But i am using glfw so that the video does not take forever while i set up some kind of a display system that would not even be platform independent. So all in all, for this short amount of time, that’s the setup that contains the least amount of bloatware but still delivers a good end product. You said that you can use python and just install a single library that does all of that for you but THIS would be bloat.
looks like basic nvchad but setup of someone else won’t improve your programming / productivity skills… I legit read this comment on every vid where ppl are using nvim x) don’t waste your with nvim configs just get nvchad, lunar, astro or lazy, cfg them once and stick to it
Would be great to add sticky feature. Make something stick at top. And even better, have the possibility toqhave folder/files (notes). For different projects.
I'd never heard of Leif. Seems to be really cool! A lot more lightweight than Qt and Gtk. But compiling it on MacOS is not working, I see a lot of apt-get, yum and pacman but no homebrew :/ It would be nice if there were packages for major distros, Windows and MacOS.
Hey there! I was writing up a little minesweeper game with your Leif library. It worked on my pc, but on my laptop after installing it my vscode stopped being able to launch. It was something to do with the mesa library not being able to load properly. Think you could give me some tips?
I like your VODs; they could be the only ones that simulate the Tsoding VODs. But Tsoding does not code something that he memorized; he starts from scratch and thinks step by step, and many people follow his channel.
Is this better than nuklear, nakst luigi2, dear cimgui, or something like raygui? Have you tried them, what are the differences. Maybe I will layer an immediate mode UI on top of sokol someday, than I can have an app running on android, linux, windows and the web. I really like your library in the video, because it requires little work to hook it up to a rendering pipeline, most immediate UI libraries are more backend agnostic so the library user has to tell the UI library how to digest input and how to render stuff. (Well, I haven't tried making a UI in C in yet (nor have I used an immediate UI library), but if I made a UI library it would just be a single header, no installing of GLFW or other dependencies, no hooking it up to a backend, just something I can include and use rightaway with everything already in the header, maybe that is because I am on windows with no package manager and haven't bothered to learn cmake yet (although I compiled GLFW with cmake once))
There is this c++ library called RmlUi. It uses html and css. For scripting, instead of javascript it uses lua. I managed to cook a c binding for it and its working quite nice atm. Altough it was really hard to set it up with glfw inputs and vulkan as render backend. Before that i combined cimgui and facebook/yoga (flex layout library). Made some custom buttons and such with cimgui. Indeed it was working fine as well, but it was way too much code for simple ui pages. Like for a game settings menu, couple hundred lines of code was needed. With RmlUi I create an html file with css includes, load that with a couple lines of code on c side and overlay it on top of the game world. I want to check out raygui as well, but i dunno if i can integrate it into my vulkan renderer.
Hey, I love your work. I'm a satellite communications instructor in the Department of Defense. I'm currently working on a small project that's bringing DoD software resources to Linux. Currently, the focus is native CAC (smartcard) support, satellite modem integrating, native Microsoft product support, and UI. RagnarWM and your UI framework looks like a perfect starting point for an interface with an extremely small resource footprint, for shitty government laptops. What's the best way to contact you?
> pure C, no bloat
> let’s install 5 libraries
classic
@@dkkogmaw1311 Welp those libraries are written in C, so ...
@@AyushVachhani ah since they are written in c they can’t be bloated your right 😭
@@AyushVachhani so is Python and Javascript. "I coded a GUI Task management app in pure C (no bloat required). First, run 'npm install...
and all that for a simple agenda program i thought this was a video for a task manager like for an OS...
I've been a C programmer for about 5 years now, and I didn't know you could do something like this! I learn something new about programming every single day, haha. It's good.
have you heard abou ncurses?
You can do anything possible in math anything in physics can be simulated in any programming lang en.wikipedia.org/wiki/Lambda_calculus
@@bossysmaxx3327 What's that?
@@TheKillerninga Sounds cool, I don't see how that's relevant to this video though.
@@konstantinrebrov675 This is relevant only in the broadest sense (maybe even philosophical) - you can simulate any mathematical system on a computer using a programming language. It should be noted, however, that the programming language must be Turing complete.
These are the kind of videos that teach you how a professional thinks.
this guy is 15 by the way
@@saturn5312 I'm 15 too. I should be studying at this moment, get into a good college, but here I am, ruining my grades for Programming.
@@saturn5312wait actually?
@@pajeetsingh Right. I came here expecting that but... it is what it is.
No Bloat Required - install glfw
I'd like to see you display anything to the screen without using your graphics card.
UPD: with y'all logic y'all want to write assembly just for one specific architecture, for one specific OS, spend your year on that, and then get nothing done, just for a to-do app 👍
Y'all will probably say that OpenGL is bloat (spoiler alert, it's a spec, that mere mortals have no physical possibility to implement, unless you create your own GPU)
@@theseangle Don't need glfw for that.
@@higgins007 what can you use then? genuine question
@@higgins007 I mean sure you don't _need_ GLFW, but my understanding is that it's one of the main ways to do it and has been developed for a while, why would you _not_ use it?
@@yesh420 Native code. Don’t need a 3rd party library.
Man I wish I was this efficient. I wasn't a vim beleiver but now it's on my list of things to learn.
Adding your channel to the "need to watch every video of this guy" playlist. Will come back here soon
also don't forget to write code yourself because only watching someone code is not an excuse for not doing your job !!
Very well done and clear process. I would love to see more about the ui library you have. It seems very capable
Actually blessed this popped up on my home page, something like this is exactly what I've been looking for for days. Thank you so much, you've earned a like and subscribe
Why do I always watch videos that make me feel bad about my current skillset, apparently you're like 8-9 years younger than me and can already do like way more than I ever could lol
bruder, you will do great in life.
Probably one of the best coding videos made. Using nvim (nvchad too!), explaining everything, mostly unedited, using arch linux, and coding in C. Subscribed.
This is the new version of the guy with F-250.
This is great! I studied C so hard in university and wanted to build something
I like the way you explain every time you write a code, I'm currently learning c this channel is the best, you deserve a million of subscribers bro❤
When i first started C this video helped me a lot. ruclips.net/video/443UNeGrFoM/видео.html
dude this type of content looks awesome (as well as the whole video, from going thru it a bit) i will definitely sit down and watch this when i got the time
Hey, I really like your neovim setup and layout. Would love if you can make a video on how you set everything up!
Nice, subbed
Please keep making vids like these, nice thumbnail, no bloat, just good stuff, with a nice topic
I legit, thought you are going to make a task manager, like for processes running XD But this video is also very good, keep up the pace man!!
i've wanted to create my own task manager app in c. my first version, wacky version was console based lol. i'm going to learn more from this.. thank you
Bro I love your IDE please Make video about your customization
Great Video! Straight to the point with a great explanation! Could you also make a video for your nvim setup?
I think this is basically NvChad, it sure looks like it anyway.
amazing man!, loved your setup and neovim and the UI of the app is really cool 🤟
ich liebe es wenn man mal die deutschen youtuber findet bei denen man sich nicht schämt wenn sie englisch reden, gutes ding!
This guy Codes, with capital C.
Beautiful setup btw.
you're like Eskil Steenberg creating every UI just using opengl
nice one subbed
This is so COOL!
Thanks for sharing this!
i have never used neovim, but i got quite interested about it after watching this. Could make a video going through your configuration?
I like your way of speaking, subscribed!
How did you configure autocompletion on your neovim dotfiles so that it actually complete things like GLFW functions? I have been trying to do that for months and can't find a way for it to work. Mine only suggests completions with texts that are already in the file.
I really want to know the answer to this as well
You need a language server for this to work, usually for C people use clangd. If you already installed clangd and configured it in your neovim install, and it didn't work, then your configuration is most likely wrong.
The work and dedication put in executing this is amazing to me! Keep it up and I hope you make the best out of it.
Also That’s a really beautiful nvim setup! I’d really appreciate it if you can share basic changes / references needed to create the same, if it’s not too much of a hassle? Thanks!
thank you for the great works man.
i am just using nvchad for the neovim setup :) its really not hard to configure
@@cococry Okay I’ll check it thanks :)
Great tutorial! Always wanted to write some projects in C but could never get there. Loved the debugging part at 1:32:50
22:58 It seems a useful feature to this would be something like a mode where the cursor moves right to left. But probably it is easier said than done.
Endlich normale Leute :D
Subscribed 1 minute into the vid!
Arch, nice rofi style, NeoVim as IDE, nice looking C based GUI. Obviously a man with a fine taste.
apart from the fact 5 libs were installed, youth should learn C instead of web dev frameworks
procedural programming is all you need; anything more is an excess that you don't need
Nice work, dude. Suscribed!!!
Your nvim setup looks clean and elegant. Can you make a video about it, including how to set it up from scratch? Maybe you could also cover your whole setup, including Arch and the window manager. I think most beginners like me would be interested.
His Neovim config is NVChad I believe, it looks very similar to it!
Thanks @@jackedkarlmarx
this man's just raw-dogged a gui in c in one take
Thank you so much for this amazing video.
Can you tell us about your distro and customization, it looks so fantastic.
Can you make a video about your development environment?
Your working environment is clean❤
these called tiling window managers as (sway, hyperland, i3) with code editors like (Emacs, neovim , vim) that's what I know. and Allah knows the best
So cool thank you for sharing this video I have learned a lot ! ❤
love u, man, great job
love these kind of videos. THE G.O.A.T.😁😁
The thumbnail is soooo Tsoding... that's actually the reason why I clicked :)
How does this compare to Raylib? I started playing with it recently. Although it comes with a GUI tool, I have not tried that yet.
thats an interesting idea. never thought about using it for anything other than games, but i dont see any reason why it wouldn't be feasible. worth a try
Lo que me gusta de esta librería es que puedes manejar la UI como si fuera css.
very interesting video, fully get your C skills, and would like to implement the similar stuff using rust
Great job my friend
Erm what the sigma!?
This video is a certified rizzler ohio classic! it's wednesday my dudes BRUHHHH oh HEEELLLL NOOOOOOO
this is what politicians are gonna sound like in 10 years
@@puppetbirds killing myself in 10 years
hella rizz
Why the wait? Join me in 4 years @@Konym
hey man ur goated at what you do, how did u start coding?
Nice Video and awesome ui library. Please make more videos about leif. I gave it a star and subscribed for more videos about leif :)
Do you have anywhere the dotfiles of your system? I really like the aesthetic
Also, is your desktop environment Xfce?
man, that printf debug thing is real.
> pure C, no bloat
> let’s install 5 libraries
feels like python
but in python is just:
>let's install a library
@@729usbow
you are just looking at it without knowing anything about what you’re writing. I am installing 4 libraries, 2 of them (libclipboard and leif) have a combined number of lines of code of not even 4k. Cglm is a simple linear algebra library that is as un-complex as possible. The only library that you could consider not lightweight is glfw. But i am using glfw so that the video does not take forever while i set up some kind of a display system that would not even be platform independent.
So all in all, for this short amount of time, that’s the setup that contains the least amount of bloatware but still delivers a good end product.
You said that you can use python and just install a single library that does all of that for you but THIS would be bloat.
I fcking love ur setup man!
Yeah, don't know if you read the comments but I love your wm setup, do mind dropping what you use?
@@tacobabyman1215 ragnarwm as a wm, nvchad as nvim config and picom pijulius as a compositor
@@cococry Thank you🔥
I subscribed in the first min of video awesome work🎉
Hey dude what stuff did you use to make your ui library leif(what basic components are required, I'm just getting started.
more videos like this please, from scratch
is there a tutorial about how to achive this terminal look? it looks very smooth! btw loved the video
I see C, I subscribe.
UM The app is actually good, can we get an executable link? 🙂
Hey boss, good stuff. Do you have dotfiles for your vim setup? Cheers!
looks like basic nvchad but setup of someone else won’t improve your programming / productivity skills… I legit read this comment on every vid where ppl are using nvim x) don’t waste your with nvim configs just get nvchad, lunar, astro or lazy, cfg them once and stick to it
@@dkkogmaw1311 yes i am just using nvchad with just the default config.
nice editor + terminal setup -- can you give some more info on how to set it up like that? :D
"no bloat" - OS, window manager, opengl, glfw, cglm, fonts, even C
you need to write your own ToDo OS
in riscv asm (because x86-64 asm is bloated)
Would be great to add sticky feature.
Make something stick at top.
And even better, have the possibility toqhave folder/files (notes).
For different projects.
Only thing your repo lacks is a proper documentation. Besides that I like it. Keep going!
what is that ide you are using im new in programing i learned c and i look at this video and its fire
Do you have your NVIM configuration in github or something like that?
What operating system is this? It looks very beautiful
@@KuroNeko359 arch linux with ragnarwm
@@cococry OK, Thank you!
"No bloat required" absolutely based, is it Windows cross-compatible?
hey @Cococry what is your zsh theme?
Love the video
this is awesome i am totallly doing this
I would have preferred a video where you try to reimplement glfw from scratch in pure C
what text editor is this atom? could you please tell me about your setup because this is looking so good
im using ragnar with neovim and nvchad
Hi! Maybe you can make a video of how you set up your IDE/text editor - in your case, your personal NVChad
I'd never heard of Leif. Seems to be really cool! A lot more lightweight than Qt and Gtk.
But compiling it on MacOS is not working, I see a lot of apt-get, yum and pacman but no homebrew :/
It would be nice if there were packages for major distros, Windows and MacOS.
On what platform are you writing the program?
i love your nvim configuration. what is it?
nvchad
Why do C/C++ Dev are So COOOOL....❤
Душевный фреймворк вышел =)
I wish I could be this smart
I'm super interested in your neovim configuration. How did you get it to look like that?
I could not find his config on github but it looks similar to NvChad
Just read more comments and he confirmed it's NvChad.
37:13 what happened here, why is it black for a few minutes.
i saw that too, almost thought my laptop was freaking out, probably had a gap while editiing the video.
Nice video, starred and subscribed :D
Hey there! I was writing up a little minesweeper game with your Leif library. It worked on my pc, but on my laptop after installing it my vscode stopped being able to launch. It was something to do with the mesa library not being able to load properly. Think you could give me some tips?
I like your VODs; they could be the only ones that simulate the Tsoding VODs.
But Tsoding does not code something that he memorized; he starts from scratch and thinks step by step, and many people follow his channel.
The cool things about Tsoding, Muraty, and Jonathan Blow… it’s not using diagnostics on every saved file.
Why?
Hello, what is your editor? Is it neovim + cmp?
Damn right, granny get the high priority.
you plan to stream on twitch?
I wish I had a bigger screen to watch this on 😭
Is this better than nuklear, nakst luigi2, dear cimgui, or something like raygui? Have you tried them, what are the differences. Maybe I will layer an immediate mode UI on top of sokol someday, than I can have an app running on android, linux, windows and the web. I really like your library in the video, because it requires little work to hook it up to a rendering pipeline, most immediate UI libraries are more backend agnostic so the library user has to tell the UI library how to digest input and how to render stuff. (Well, I haven't tried making a UI in C in yet (nor have I used an immediate UI library), but if I made a UI library it would just be a single header, no installing of GLFW or other dependencies, no hooking it up to a backend, just something I can include and use rightaway with everything already in the header, maybe that is because I am on windows with no package manager and haven't bothered to learn cmake yet (although I compiled GLFW with cmake once))
There is this c++ library called RmlUi. It uses html and css. For scripting, instead of javascript it uses lua.
I managed to cook a c binding for it and its working quite nice atm. Altough it was really hard to set it up with glfw inputs and vulkan as render backend.
Before that i combined cimgui and facebook/yoga (flex layout library). Made some custom buttons and such with cimgui.
Indeed it was working fine as well, but it was way too much code for simple ui pages. Like for a game settings menu, couple hundred lines of code was needed.
With RmlUi I create an html file with css includes, load that with a couple lines of code on c side and overlay it on top of the game world.
I want to check out raygui as well, but i dunno if i can integrate it into my vulkan renderer.
I knew i was gonna enjoy this from 2:39 "okay wut the fuck"
pretty cool but what wm are you using
@@therandomsomeone. ragnarwm
@@cococry thanks
This video was funny to watch because my name is Leif
man how you know all the methods given by the library jsut so cool
i could not imagine the pain of having to make and maintain an entire application like this lol
i use rust on arch btw
Hey, I love your work. I'm a satellite communications instructor in the Department of Defense. I'm currently working on a small project that's bringing DoD software resources to Linux. Currently, the focus is native CAC (smartcard) support, satellite modem integrating, native Microsoft product support, and UI. RagnarWM and your UI framework looks like a perfect starting point for an interface with an extremely small resource footprint, for shitty government laptops.
What's the best way to contact you?
by email: richtigerluca123@gmail.com
this is a joke right?
@@cococry Not at all.
Your vim config is fire 🔥
Can you share it?
"No bloat required" Brother GUI is bloat (joking).
that's amazing
Is the library thread safe?
What keyboard and switches do you use?