- 314
- 229 694
Cobb Coding
เข้าร่วมเมื่อ 1 เม.ย. 2013
I love to learn new things.
Implementing a Shell In C - Echo Command
Implementing a Shell In C - Echo Command
canoutils (proh14): github.com/proh14/canoutils
Streamed live on Twitch: www.twitch.tv/cobbcoding
Source Code: github.com/CobbCoding1/cano-sh
canoutils (proh14): github.com/proh14/canoutils
Streamed live on Twitch: www.twitch.tv/cobbcoding
Source Code: github.com/CobbCoding1/cano-sh
มุมมอง: 47
วีดีโอ
Implementing a Shell In C - New Rendering
มุมมอง 4309 ชั่วโมงที่ผ่านมา
Implementing a Shell In C - New Rendering Rust without rust (stam) video: th-cam.com/video/DCWqHwFksKA/w-d-xo.html Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Building a Shell In C - Terminals
มุมมอง 36016 ชั่วโมงที่ผ่านมา
Building a Shell In C - Terminals Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Implementing a Shell In C - Command Clipboard
มุมมอง 323วันที่ผ่านมา
Implementing a Shell In C - Command Clipboard Rust without rust (stam (GOAT)): www.youtube.com/@rustwithoutrust Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Implementing a Shell In C - History
มุมมอง 189วันที่ผ่านมา
Implementing a Shell In C - History Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Implementing a Shell In C - Builtin Commands
มุมมอง 44214 วันที่ผ่านมา
Implementing a Shell In C - Builtin Commands Stam's quadtrees: github.com/kul-sudo/quadtrees Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Implementing a Shell In C - Processes
มุมมอง 21821 วันที่ผ่านมา
Implementing a Shell In C - Processes Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Implementing a Shell In C
มุมมอง 3.1K21 วันที่ผ่านมา
Implementing a Shell In C Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Building a Text Editor In C - More Maintenance
มุมมอง 24228 วันที่ผ่านมา
Building a Text Editor In C - More Maintenance Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/Cano
NoSQL Database In Odin - Displaying The Database
มุมมอง 104หลายเดือนก่อน
NoSQL Database In Odin - Displaying The Database SchoolyB's OstrichDB: github.com/Solitude-Software-Solutions/OstrichDB Streamed live on Twitch: www.twitch.tv/cobbcoding
NoSQL Database In Odin
มุมมอง 178หลายเดือนก่อน
NoSQL Database In Odin OstrichDB is a new project started by SchoolyB (github.com/SchoolyB). It's written in Odin, and seems to have a lot of promise. In this video I look at the codebase, and think of ways to contribute to the project. OstrichDB GitHub: github.com/Solitude-Software-Solutions/OstrichDB Streamed live on Twitch: www.twitch.tv/cobbcoding
Building a Text Editor In C - Reviewing a Pull Request
มุมมอง 250หลายเดือนก่อน
Building a Text Editor In C - Reviewing a Pull Request Stam's spacial-hashing: github.com/kul-sudo/spatial_hashing Djaoued's PACKL and PVM: github.com/Djaoued2006/PACKL github.com/Djaoued2006/PVM Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/Cano
Building a Turing Machine In C - Better Parsing
มุมมอง 179หลายเดือนก่อน
Building a Turing Machine In C - Better Parsing Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/turing-c
Building a Turing Machine In C - Custom States
มุมมอง 1.8Kหลายเดือนก่อน
Building a Turing Machine In C - Custom States Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/turing-c
Implementing a Turing Machine In C - Infinite Tape
มุมมอง 2.1Kหลายเดือนก่อน
Implementing a Turing Machine In C - Infinite Tape
Building a Text Editor In C - Crashing
มุมมอง 450หลายเดือนก่อน
Building a Text Editor In C - Crashing
Building a Text Editor In C - No More Crashing
มุมมอง 750หลายเดือนก่อน
Building a Text Editor In C - No More Crashing
Building a Scripting Language In C - More Structure Stuff
มุมมอง 490หลายเดือนก่อน
Building a Scripting Language In C - More Structure Stuff
Building a Scripting Language In C - Everything is Broken
มุมมอง 5182 หลายเดือนก่อน
Building a Scripting Language In C - Everything is Broken
Building a Debugger In C - Breakpoints
มุมมอง 4052 หลายเดือนก่อน
Building a Debugger In C - Breakpoints
Building a Scripting Language In C - Struct Pointers
มุมมอง 3662 หลายเดือนก่อน
Building a Scripting Language In C - Struct Pointers
Building a Hashmap In Odin - Parametric Polymorphism
มุมมอง 1262 หลายเดือนก่อน
Building a Hashmap In Odin - Parametric Polymorphism
Building a Hashmap In Odin - Generics
มุมมอง 1112 หลายเดือนก่อน
Building a Hashmap In Odin - Generics
Building a Text Editor In C - Undo Issues
มุมมอง 1922 หลายเดือนก่อน
Building a Text Editor In C - Undo Issues
👍
Don't forget when you go famous, cheers from India
My man. Thanks for sharing the video. Would you add some timestamps in the description for when the tutorial starts, for example?
Thanks for the comment. This video isn't meant to be a tutorial, instead it's just me doing some live programming. It's not really divided into sections, so timestamps wouldn't be very good or even useful.
I found that most of the time you want an arena not for a memory itself, but for a view on some memory. I wrote `newarena` function that accepts 'void *' as 'data' argument and 'ptrdiff_t' as 'capacity' (it's just a 'size_t' but with sign, which you'll find out when trying to use it is much more robust way to count memory). If you really want to malloc some memory, just do that: ``` Arena a = newarena(malloc(4096), 4096); ```. But if you want to, for example, go through a data that you already added to the arena, you can do this: ``` Arena b = newarena(a.data, a.size); ```. That's very powerfull thing to do and you don't mess around with general malloc too much. Nice and simple.
building a shell in c while i struggle with built-in vectors and vector math, plus given a simple lookat function! AND in less time than it took me to figure out 😅 love this
im actually building a shell in C right now as well, its quite fun tbh, im currently working on pipes and redirections
Awesome! Is it on GitHub?
@@cobbcoding yeah it is but im pretty sure i cant link it through the comments, i believe you can check the removed ones
hi big fan of your headphones wire
hi big fan of your quadtrees implementation
I wish you were using Odin for this.
I've got another Odin project planned for the future
cool headphones wire
real
Which keyboard do you use?
it's this one: www.amazon.com/ETROBOT-Mechanical-Keyboard-Exclusive-Spill-Resistant/dp/B08WPB1QKL/ref=sr_1_2?qid=1701286544&sr=8-2&srs=16565149011
is this some kind of tsoding parody or what
yes
@@cobbcoding He's even got the red tshirt!
WIFE EXCITED detected. :p
Hey hi, will follow your video.
Can you make low latency systems in C++/C?
Can you tell me how to become a good programmer like you? I'm a beginner I'm learning c and doing practice problems. Can you tell me how to start building stuff.
Get yourself a project, something you want to build, doesn't need to be useful, could be a game, a shell, a webserver, anything really. Start building and whenever you hit a point where you don't know how to do something figure out how to do it by googleing, reading stackoverflow, asking reddit or checking how other people solved that specific problem in their projects (for example on github). Repeat that for ever, because even if you get good you will still hit these points of not knowing how to do something. Most importantly have fun and stay curious.
You should watch his video.
Pick a random thing and try implement it in c, for example write a service manager that starts, stops and watches processes, like a miniature systemd. I learnt so much from doing this project. Tbh if you want to learn c, specifically it's much nicer being on Mac or Linux instead of windows.
@@happygofishing can you explain it in more detail, this looks interesting. Where you got this idea from?
@@mrinalyadav4261begin with writing a program that runs in the background and receives requests, research Unix sockets (they're simple but useful), then get your program to do something like start a program when told to over the socket. Then make the program keep track of which services are running (I used a dynamic array of struts, which was my first time actually writing one myself). Later on you could implement dependency tracking for the services etc and the sky's the limit with what you can implement. Also slightly unrelated but this video is where I learnt about programming "daemons" (background services in Unix). th-cam.com/video/9nDYYc_7sKs/w-d-xo.htmlsi=1tBRMnCWtamymVWT
Fun fact “cano” actually mean “pipe” in Portuguese
good work
Cash shell
cash is a good name, I might use that.
wow! nice work! what's your current setup as far as os, wm, ide, etc. I'd love to know, your setup looks dope.
Linux, awesome wm, tmux, vim
@@assaidy All of those are correct, except I am not using Vim, but instead my own text editor, called Cano. github.com/CobbCoding1/Cano
@@cobbcoding 🙂
um um um ... can YOU.speak clearly i do not understand anything
Cobb Coding, loving the consistent uploads, keep it going
it's the eye of the tiger it's the thrill of the fight rising up to the challenge of our rivals
and the last known survivor stalks his prey in the night. And he's watching us all with the eye of the tiger.
Bro first think the logic and explain what you are trying to do rather than just going on with solution and cramping it in 3 hours long video
I am a beginner in C and I Found Your Channel. I Want to ask that if you have any Project for beginners in your Channel
I don't know what you mean exactly by beginner projects in my channel, but I can give you some advice. I think to find a project, it's a good idea to just look around for an idea that you think sounds interesting. Then, once you've found one, just jump in and try to implement it. I don't have any specific suggestions, but just google "Programming projects for beginners" and pick any one. Once you know some more coming up with project ideas will be easy.
Learn the general gist of how something works then try to build it yourself. i.e a database, or a text editor
Okay u use the habaMax color scheme in Neovim. BTW amazing video
Thank you! I don't remember what color scheme I use, because I don't usually use Neovim, instead I use my own text editor called Cano (I'm using Neovim for this because of highlighting issues). Here's my current Neovim config if you want to look through it though: github.com/CobbCoding1/neovim-config
@@cobbcoding Hey nice minimal config. I am a preconfigured distribution maintainer. Efficienvim. You can check it out! If you like it, please give it a ⭐ star!
Wow! This Schooly guy seems to have made a pretty cool project. I think I will go to the repository(link found in the description) to take a look and consider contributing with issues and code. While I am there I think I will also give the project a star!
What a great idea!
Just a little feedback, if you can try to slow down a bit. you're going lightning speed the entire time. your user interaction, your explainations, your voice... all too fast for a larger audience. otherwise great content! very cool implementation
no... traitor.
Thanks Cobb, still I need to fix a lot of issues of PACKL, I'll try to inform you once I got a stable version of it!
Sounds great, I'll be following :)
How can i write it on Windows? I read somewhere that the termios library cannot be used on windows.
I'm not sure exactly. Windows has some other libraries which can be used on Windows you can look into. I don't do any Windows development at all, so I can't help much.
What is your vim setup?
In this video, I was using NVChad for my neovim configuration. Since then, I've switched over entirely to using my own text editor called Cano (github.com/CobbCoding1/Cano)
hi, with ur help i made my first compiler thank youuu
That's awesome! Are you hosting it on GitHub? If so, could I take a look at it?
@@cobbcoding yeah sure, i will share u a link, but its only up to code generator. I was tasked to make a language which can run on 8 bit cpu
2 views in 40 minutes??? Cobb fell off
This is really bad. It should have been more than 19
I love your thinking process, behind making these stuffs. it helps a lot.
at 23:51 you could have used atoi edit: tbh i really love your coding style, for newbies like me, it's perfect. Not very complicated just doing whats our is. edit2: i just saw your channels playlist, man i am loving it, i have this new found obsession with c and i can't curb it. I hope you get millions of followers.
Good job! 👍
I've been making a text editor of my own using C++ and Ncurses. It's a super rewarding project!
hey cobb, can i follow your whole playlist?
There's playlists all on the "Playlists" tab on my channel. For this series, you can find it here: th-cam.com/play/PLRnI_2_ZWhtA_ZAzEa8uJF8wgGF0HjjEz.html
@@cobbcoding it's not divide or jumbled right? i got confused reading one comment
@@mrinalyadav4261 It should be sorted by upload date, which is the proper order.
OK
@@cobbcoding thnx
Developing in your own code editor is a flex if i ve ever seen one
Beware of the pipeline. 2017: Minecraft melon farm automation. 2023: Compilers and arena allocators in C 💀
Minecraft automation is a gateway drug
I like that Odin seems focused on what it's targeting and has a community that dives a lot into game dev etc. Nim unfortunately seems to have fallen by the wayside because it could never find a niche to fill
Do you realize that "game dev" is topic so vast that it includes every possible application of language? Not only this, but you have to be aware of resources of hardware you're running on to make optimizations so your game is running smoothly.
Yes, it is. Keep up the great content (with Odin)
Between Zig and Odin, which one is more of your preference and why?
Personally, I'd say I prefer Odin. Odin seems much simpler and more focused, whereas Zig seems to have quite a bit going on. Now, I could see the appeal of the extensiveness of Zig in that aspect, but it's really just not my cup of tea.
@@cobbcoding Well, I really hope you create more project-based tutorials using Odin
dat thumbnail... {}
Nice I made it in 6502 assembly but since that’s an 8 bit processor I don’t really have enough memory or power to do it fast or long. Still fun though.
is it just me or does the video feel like its sped up haha?
I do talk fast and I type fast :)
What’s your keyboard
it's currently unavailable on amazon but it may be available elsewhere. Here's the link: www.amazon.com/ETROBOT-Mechanical-Keyboard-Exclusive-Spill-Resistant/dp/B08WPB1QKL/ref=sr_1_2?sr=8-2&srs=16565149011
Oh sweet did you change keyboards because I was watching your video from 10 months ago and it was a different one I think @cobbcoding
@@ring0894 I have not changed keyboards. It probably sounds different because I've changed my audio settings :)
love your series, are you planning to add script importing and maybe namespaces?
Thank you! I've got importing already, kind of. The language has a preprocessor which basically macro expands files (Like how C does), so you can include other scripts. For namespaces, I think I will probably not add those, as I want the language to remain quite simple. I might consider it in the future though.
Real vim chads know about :x
true
whats your font bro ?
tbh I don't remember what font I was using at the time of this video. The one I use now is called "Hack" though.