Live data from Hacker News

Cicada: A Bash-like Unix shell written in Rust

github.com

11–20 of 27 posts

Re: Cicada: A Bash-like Unix shell written in Rust

#11
post #10
post #9

Discussed in 2017: https://news.ycombinator.com/item?id=14675431

Yeah, I submited once on HN about this project two years ago. Since then quite a few new features have been added and some improvements are made. So it's time to expand the user base a bit :) Now cicada shell is still have some issues, but overall it's quite usable. I hope it could be useful for people who are seeking simplicity and speed in daily use of the shell.

It's fine to repost after that much time has gone by. This is in the FAQ: https://news.ycombinator.com/newsfaq.html.

Re: Cicada: A Bash-like Unix shell written in Rust

#12
post #2

Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer Yay! Non-portable Unix tools! Just what everyone wants.

This isn't reinventing Unix, this is a (cut down part of) Unix. (Unix the family, not the original Bell Labs OS, of course). And "non-portable" because it's only portable to Unix? That's... Approximately everything. Linux family and Darwin naively, NT via WSL/cygwin/etc., BSDs obviously, Android sorta-natively or via Termux, Chrome OS via Termux, crouton, or crostani(sp?). What is Unix not portable to?

It's probably the usual complaint of Rust not being able to run on an obscure 1965-era calculator.

Re: Cicada: A Bash-like Unix shell written in Rust

#13
post #2

Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer Yay! Non-portable Unix tools! Just what everyone wants.

> Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer

I absolutely abhor this quote, I think it's taken out of context.

First of all, it denotes hubris, which I hate.

Secondly, it's totally anti-scientific, it assumes that Unix is some paragon of OS design, the zenith of Computer Science.

I like Unix as much as the next IT guy, but let's cut it out with the cliché quotes. There's plenty of things Unix doesn't do that well (everything is a file, until it isn't; filenames are basically binary blobs, etc.: https://dwheeler.com/essays/fixing-unix-linux-filenames.html).

Plus your comment is just silly, whoever implemented this obviously knew about Unix shells... It takes knowledge of Unix shells to implement another Unix-y shell.

Re: Cicada: A Bash-like Unix shell written in Rust

#14
post #11
post #10

Earlier quoted context omitted.

Yeah, I submited once on HN about this project two years ago. Since then quite a few new features have been added and some improvements are made. So it's time to expand the user base a bit :) Now cicada shell is still have some issues, but overall it's quite usable. I hope it could be useful for people who are seeking simplicity and speed in daily use of the shell.

It's fine to repost after that much time has gone by. This is in the FAQ: https://news.ycombinator.com/newsfaq.html .

But the link back to the earlier post is also nice to have, thanks.

Re: Cicada: A Bash-like Unix shell written in Rust

#15
post #6

Interesting. Having the core terminal/language down is a good start. An important part of any terminal will be it's support for plugins/extensions or otherwise natively replacing them the way Fish tries to do. I've recently started using https://elv.sh/ as my primary terminal after testing it out on/off for 2yrs and slowly porting old ZSH aliases/scripts into the Elvish language (very similar to Go which it runs on),…

can you share these zsh to elvish ports?

Yes, please...and also your experience with elvish in general?

Re: Cicada: A Bash-like Unix shell written in Rust

#16
post #6

Interesting. Having the core terminal/language down is a good start. An important part of any terminal will be it's support for plugins/extensions or otherwise natively replacing them the way Fish tries to do. I've recently started using https://elv.sh/ as my primary terminal after testing it out on/off for 2yrs and slowly porting old ZSH aliases/scripts into the Elvish language (very similar to Go which it runs on),…

The right term for what you refer to as terminal(s) is shell.

A terminal (or a terminal emulator) is not a shell and, moreover, a shell does not necessarily require a terminal.

Re: Cicada: A Bash-like Unix shell written in Rust

#17
post #12

Earlier quoted context omitted.

This isn't reinventing Unix, this is a (cut down part of) Unix. (Unix the family, not the original Bell Labs OS, of course). And "non-portable" because it's only portable to Unix? That's... Approximately everything. Linux family and Darwin naively, NT via WSL/cygwin/etc., BSDs obviously, Android sorta-natively or via Termux, Chrome OS via Termux, crouton, or crostani(sp?). What is Unix not portable to?

It's probably the usual complaint of Rust not being able to run on an obscure 1965-era calculator.

I can't run C on a 8-bit calculator either. At least not using GCC or Clang or any other mainstream compiler. Sure, I could use some toy compiler for that, but then 99% of the libraries I'd like to use won't work there anyways, due to a variety of issues.

Re: Cicada: A Bash-like Unix shell written in Rust

#20
post #6

Interesting. Having the core terminal/language down is a good start. An important part of any terminal will be it's support for plugins/extensions or otherwise natively replacing them the way Fish tries to do. I've recently started using https://elv.sh/ as my primary terminal after testing it out on/off for 2yrs and slowly porting old ZSH aliases/scripts into the Elvish language (very similar to Go which it runs on),…

The right term for what you refer to as terminal(s) is shell. A terminal (or a terminal emulator) is not a shell and, moreover, a shell does not necessarily require a terminal.

Yeah of course... I use kitty as a terminal emulator with elvish as a default shell: https://github.com/kovidgoyal/kitty

Elvish is also a lightweight programming language like bash and zsh. Which is an underrated part of using shells (bash and zsh are quite awful even given the constraints of shell scripting and POSIX).

Post reply on HN