Hacker News new | past | comments | ask | show | jobs | submit login
Building a simple shell in C – Part 1 (ehoneahobed.com)
12 points by ehoneahobed on Nov 9, 2022 | hide | past | favorite | 4 comments



Interesting. I just wrote a very similar shell in Go.

http://github.com/codazoda/goshell

I also recorded a “live coding” style video of it. I haven’t released that yet. I plan to start releasing weekly video’s in January and I’m trying to build up a few so that I’m not rushed. I’m sure they’ll be terrible at first. :P


Oh nice. Sounds like a good strategy but sometimes the earlier you release the videos the better. Some videos take time to pick up so when you release them early you give them enough time. Cheers and all the best


this is cool! I've recently tried to write a very basic shell in multiple languages, as a way to try a few languages [1].

I focused on languages I already had _some_ experience in for now, and I think my favorite so far is the one in Go – it's a good mix of things I care about: simple syntax, good performance, fast compilation, good tooling, rich standard library.

Nim comes close, except the error messages are harder to understand, and a few concepts are a bit foreign to me.

[1] https://github.com/tducasse/ysh


Wow! I have to try this out. Let me see if I can implement it in any other language after I am done with this series




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: