News for hackers. Stuff that matters.
Re:Cicada: A Bash-like Unix shell written in Rust by johnklos on Tuesday July 09, 2019 @12:11AM (#20388962)
Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer

Yay! Non-portable Unix tools! Just what everyone wants.

Re:Cicada: A Bash-like Unix shell written in Rust by oblio on Tuesday July 09, 2019 @04:24AM (#20389872)
> 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 by yjftsjthsd-h on Tuesday July 09, 2019 @01:24AM (#20389220)
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?

Re:Cicada: A Bash-like Unix shell written in Rust by unwrap on Tuesday July 09, 2019 @03:52AM (#20389765)
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 by fluffything on Tuesday July 09, 2019 @06:42AM (#20390479)
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 by yjftsjthsd-h on Tuesday July 09, 2019 @10:02PM (#20398601)
I was about to object, but actually it looks like you're right; tigcc appears to only target the TI-89 et al. which run on the 16-bit Motorola 68000 series. A quick search doesn't give me any C compiler for the TI-84 after all.

Your actual point, of course, is valid regardless:)

EDIT: Oops, actually https://en.wikipedia.org/wiki/Small_Device_C_Compiler ... but then you're right about getting pretty obscure.

Re:Cicada: A Bash-like Unix shell written in Rust by pjmlp on Tuesday July 09, 2019 @12:48AM (#20389107)
Except, UNIX wasn't the first OS with a shell. There was at least 10 years of shell history before UNIX came to be.
Re:Cicada: A Bash-like Unix shell written in Rust by nerdponx on Tuesday July 09, 2019 @12:14AM (#20388972)
What's not portable about it? Rust is reasonably portable, no?

Also they are claiming to be generally (but not strictly) POSIX-compatible.