Implementing a Shell In C

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • Implementing a Shell In C
    Streamed live on Twitch: / cobbcoding
    Source Code: github.com/Cob...

ความคิดเห็น • 17

  • @josiahmershon
    @josiahmershon 24 วันที่ผ่านมา +3

    wow! nice work! what's your current setup as far as os, wm, ide, etc. I'd love to know, your setup looks dope.

    • @assaidy
      @assaidy 24 วันที่ผ่านมา +2

      Linux, awesome wm, tmux, vim

    • @cobbcoding
      @cobbcoding  24 วันที่ผ่านมา +5

      @@assaidy All of those are correct, except I am not using Vim, but instead my own text editor, called Cano.
      github.com/CobbCoding1/Cano

    • @assaidy
      @assaidy 24 วันที่ผ่านมา +1

      @@cobbcoding 🙂

  • @eduardabramovich1216
    @eduardabramovich1216 14 วันที่ผ่านมา

    I wish you were using Odin for this.

    • @cobbcoding
      @cobbcoding  13 วันที่ผ่านมา

      I've got another Odin project planned for the future

  • @mrinalyadav4261
    @mrinalyadav4261 21 วันที่ผ่านมา

    Hey hi, will follow your video.

  • @boltez6507
    @boltez6507 24 วันที่ผ่านมา

    good work

  • @afonsosilva1746
    @afonsosilva1746 23 วันที่ผ่านมา +1

    Fun fact “cano” actually mean “pipe” in Portuguese

  • @Raj-nq1om
    @Raj-nq1om 23 วันที่ผ่านมา

    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.

    • @tafiir3519
      @tafiir3519 22 วันที่ผ่านมา

      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.

    • @mrinalyadav4261
      @mrinalyadav4261 21 วันที่ผ่านมา

      You should watch his video.

    • @happygofishing
      @happygofishing 18 วันที่ผ่านมา

      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.

    • @mrinalyadav4261
      @mrinalyadav4261 17 วันที่ผ่านมา

      @@happygofishing can you explain it in more detail, this looks interesting. Where you got this idea from?

    • @happygofishing
      @happygofishing 17 วันที่ผ่านมา

      @@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

  • @assaidy
    @assaidy 24 วันที่ผ่านมา

    Cash shell

    • @cobbcoding
      @cobbcoding  24 วันที่ผ่านมา +2

      cash is a good name, I might use that.