- Видео 325
- Просмотров 252 670
Cobb Coding
Добавлен 1 апр 2013
I love to learn new things.
Reading Text Files In TypeScript
Reading Text Files In TypeScript
Streamed live on Twitch: www.twitch.tv/cobbcoding
Source Code: github.com/CobbCoding1/cano.ts
Streamed live on Twitch: www.twitch.tv/cobbcoding
Source Code: github.com/CobbCoding1/cano.ts
Просмотров: 96
Видео
Building Vim But It's In The Browser
Просмотров 1,1 тыс.14 дней назад
Building Vim But It's In The Browser Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano.ts
Implementing a Shell In C - Row Handling
Просмотров 22914 дней назад
Implementing a Shell In C - Row Handling Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Saving Files In My Text Editor (TypeScript)
Просмотров 17721 день назад
Saving Files In My Text Editor (TypeScript) Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano.ts
Implementing a Shell In C - Memory Issue
Просмотров 34028 дней назад
Implementing a Shell In C - Memory Issue Cano Docs by Schooly: github.com/Cano-Projects/Cano-Docs Blade editor: github.com/Hossin-Azmoud/Blade Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Text Editor In HTML Canvas
Просмотров 355Месяц назад
Text Editor In HTML Canvas stam & proh lichess: github.com/proh14/lichess-tui Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano.ts
Implementing a Shell In C - CLI From Scratch
Просмотров 1,1 тыс.Месяц назад
Implementing a Shell In C - CLI From Scratch Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Building The Next VSCode
Просмотров 1,9 тыс.Месяц назад
Building The Next VSCode Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano.ts
Implementing a Shell In C - Kill
Просмотров 725Месяц назад
Implementing a Shell In C - Kill Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Building a Shell In C - Flags
Просмотров 286Месяц назад
Building a Shell In C - Flags Stam's maze program (written in Rust btw): github.com/kul-sudo/maze Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh Theo (goat) video: ruclips.net/video/I6V2FkW1ozQ/видео.html
Building a Scripting Language in C - Comments
Просмотров 628Месяц назад
Building a Scripting Language in C - Comments Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/canoscript
Implementing a Shell In C - Echo Command
Просмотров 135Месяц назад
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
Implementing a Shell In C - New Rendering
Просмотров 463Месяц назад
Implementing a Shell In C - New Rendering Rust without rust (stam) video: ruclips.net/video/DCWqHwFksKA/видео.html Streamed live on Twitch: www.twitch.tv/cobbcoding Source Code: github.com/CobbCoding1/cano-sh
Building a Shell In C - Terminals
Просмотров 452Месяц назад
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
Просмотров 3402 месяца назад
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 - Builtin Commands
Просмотров 4732 месяца назад
Implementing a Shell In C - Builtin Commands
Implementing a Shell In C - Processes
Просмотров 2842 месяца назад
Implementing a Shell In C - Processes
Building a Text Editor In C - More Maintenance
Просмотров 3042 месяца назад
Building a Text Editor In C - More Maintenance
NoSQL Database In Odin - Displaying The Database
Просмотров 1332 месяца назад
NoSQL Database In Odin - Displaying The Database
Building a Text Editor In C - Reviewing a Pull Request
Просмотров 2612 месяца назад
Building a Text Editor In C - Reviewing a Pull Request
Building a Turing Machine In C - Better Parsing
Просмотров 2193 месяца назад
Building a Turing Machine In C - Better Parsing
Building a Turing Machine In C - Custom States
Просмотров 1,8 тыс.3 месяца назад
Building a Turing Machine In C - Custom States
Implementing a Turing Machine In C - Infinite Tape
Просмотров 2,1 тыс.3 месяца назад
Implementing a Turing Machine In C - Infinite Tape
Building a Text Editor In C - Crashing
Просмотров 4623 месяца назад
Building a Text Editor In C - Crashing
Building a Text Editor In C - No More Crashing
Просмотров 7573 месяца назад
Building a Text Editor In C - No More Crashing
Building a Scripting Language In C - More Structure Stuff
Просмотров 4963 месяца назад
Building a Scripting Language In C - More Structure Stuff
theme?
another best new language. not so fast, please
Which editor?
In this video I'm using Neovim
finally we got to builtins !
awesome.
you need a new microphone
Nah the one he has is perfect. its what gives him his powers
in the implementation on view_split you initialize the length of the string view with view.data instead of view.len
so you're building visual studio code with vim plugin, aren't ya?
yes
yesn't
King
yo this man is fire 🤯🔥🔥🔥
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
first
second
Third
Bros a web developer now💀
I sold out
@@cobbcoding you should be system engineer
Thank you
hey wassup, your videos just amazing, I followed you 2-3 days ago, can I know your age ? I'm .NET/C# engineer from Uzbekistan. Now I'm working as .NET dev. but Im really interested in low level programming, can you give me some advices or something like that
Hi, I am a bit of a C nutter so I'll have a play with this later :) > I am looking for some very basic automata examples in C, or even a basic library (preferable no graphics to make a mess of it). Any ideas?
nice!
Most simple explanation And alot of effort have been done 🎉🎉🎉❤❤❤
you ve made a mistake AST do not include semicolons or braces because in here we error handle them before adding them to the AST if im not mistaken
Guy put some yapping in a proompt - million views Guy just casually implementing a shell from scratch without deps - 500 views society or something
we truly do live in a society
@@cobbcoding Bro fell off
Hello bro ❤
Hey!
i can't believe microsoft is sunsetting vscode because of this man
yeah, it's crazy
I know where this is going -- next stream we rewrite it in c3 and wasm?
Alright, you got me.
This is interesting. Thanks
❤❤❤❤❤😊
Jones Betty Garcia Shirley Jones Cynthia
Oh one more thing, to your viewer stack based languages are still used all over the place. WASM for example is a stack based language as is BitCoin’s implementation. The reason again is, they are simple very fast easy to concrete to byte code or compile making tell wickedly fast.
The point of Forth was to have a high level interpreted language that could run on very tiny machines in order for astronomers to control and program their telescopes and equipment. Bear in mind that C was created around the same time and not yet well established. And it took the world by storm in the 70s with the tiny integrated micro processors. I actually ran into Forth when doing my internship working for the university’s technical department working on the Dutch Open Tower Telescope where we use MCS8051 microcontrollers that we programmed in assembly (C compilers generated relatively large code when you used stdlib), so the systems that required interaction ran a forth interpreter written in assembly by a colleague. And the cool thing is, that forth is that it has a preemptive multi tasking without an OS. And because forth is so simple we could implement words in assembly (hence my previously comment pop push push as that’s literally the assembly instructions too) 😂 and we could orchestrate these words to do certain things in a time sharing fashion, and all that with maximum or 32KB of ROM perhaps even 16KB, I can’t remember. And to speed things up we would copy the system words into RAM with a jump table (hence the array with function pointer suggestion 😂) because RAM executed faster that from ROM. So yeah that’s the reason it’s small to implement and easy to use and it has a REPL for interaction and time sharing scheduler all in a mere 4KB of assembly. And yes Zig is ready for use there’s a database engine written in it. I’ve done an emulator/VM in it and on my channel I done a Simon game on a PiPico and some cli tools. So anything I would use C for I am now going to do in Zig.
That whole list of if else will slow down interpretation. As it needs to go through the whole if tree. You can break which speeds it up for the top words. But a better approach would be is to have an array function pointers. Then tokenizing becomes constant time. But that’s only noticeable with heavy forth workloads. Edit scrap that, you are refactoring if to a switch 😂
Dup is just a=pop push(a) push(a) 😂 It great video! It’s fun seeing young people do forth! And I’m learning a bit more on Go 😅
🤓
Honestly I love this, hours to waste watching something I love, and if I understand it I will finally be able to make my first compiler
in your opinion what is the best resource to learn c? imagine i am getting started and i from javascript mainly and also i am trying golang lately.
Pick a project you think would be fun to build, and build it. The syntax isn't hard to learn, especially if you're familiar with a C-like language like JavaScript already. Do some reading or watch videos on pointers and memory management, the only things that might confuse you a bit coming from JavaScript. There's not really any specific resources, just kinda Google what you need when you need it.
@@cobbcoding Thank you very much!
❤❤❤😊
watching these streams gives me motivation to finish my school projects
Epic!
You can simplify lexer by drawing fsm and using switch with states as cases. Its way more efficient, looks better, is easier to debug and its also expandable.
Green font in thumbnail? Bro fell off
I associate green with comments so I had to xD
👍
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.