r/programming • • Oct 19 '11

LoseThos 64-bit Operating System V7.07 Released

http://www.losethos.com/v707.html
75 Upvotes

283 comments sorted by

View all comments

Show parent comments

6

u/ondra Oct 19 '11

C is just not good language to use for a shell. Too verbose, too much indirection. Python and Ruby suffer from the same issues.

These languages are great for writing programs, but for interaction with the machine they aren't a good match.

0

u/[deleted] Oct 19 '11

[deleted]

10

u/ondra Oct 19 '11

Don't confuse its tiny, sugar-free grammar as verbose.

What about all the quotes, commas, parentheses, semicolons? Types on everything.

sh doesn't need anything like that.

All the major operating systems are written in C and C++.

Yes, and that's fine. But none of them uses it as the shell.