Live data from Hacker News

GitHub – nushell/nushell: A new type of shell

github.com

41–50 of 411 posts

Re: GitHub – nushell/nushell: A new type of shell

#41
post #16

Earlier quoted context omitted.

That is like a big deal. Also speed.

>That is like a big deal Why you think it is "a big deal"?

"Security bugs" are after all just a specific class of bugs and are still a huge nuisance in non-critical applications as a crash one could leverage for circumventing some security boundaries means most often just a unexplained crash for the common user, which just wants to use a tool in good faith.

So, reducing security bugs means less crashes on weird input, less leaks (better resource usage), just a more stable tool as some classes of bugs (which may or may not be security relevant) are just eliminated completely - that's a big deal as with rust the (runtime-)cost other languages avoiding this is just not there (or much smaller).

Re: GitHub – nushell/nushell: A new type of shell

#42
post #27

Earlier quoted context omitted.

Why is everything written in rust nowadays? Apart from the safety it provides.

It’s the new C/C++ but also you can write Rust like you’re writing Golang.

None of that sounds appealing on its own.

Ready for the downvote wave. :D

Re: GitHub – nushell/nushell: A new type of shell

#43
post #30

Earlier quoted context omitted.

powershell for unix is ... powershell: https://docs.microsoft.com/en-us/powershell/scripting/instal...

PowerShell from Microsoft is looking too alien on Unix. Just looking at the syntax I already feel uncomfortable. It's hard for me to criticize it because I haven't used it, but it looks like it was designed by a committee and overdesigned. I.e. it wasn't created from the need, like someone at Microsoft wanted to automate his work and created PS to solve his problem. It looks like some boss decided: "They have shells,…

> They have shells, so we should have it also

The thought process was more like "You can either hire a dude to do it by mouse in MMC or you can get someone with a masters in CS to do it in DCOM. We need a middle ground."

Source: was in the room

Re: GitHub – nushell/nushell: A new type of shell

#45

Very promising project that I hope it will take off and succeed. I recently switched to zsh with the addition of oh-my-zsh and I am happy how it has features like auto completion and command validation of some sort, but this could take it to the next level. I am just afraid to change to it and be disappointed about some incompatibility issues or bugs / crashes. I will observe and wait until it's quite popular to hop…

Try fish shell. It has auto completion by default and is easy to configure with web interface "fish_config", no need to rely on some community repo like oh-my-zsh. There can be bugs if you set it as default shell but i just append "fish" at the end of my .bashrc :)

Re: GitHub – nushell/nushell: A new type of shell

#46
post #4

Kudos for writing something in rust and not appending "written in rust!" everywhere.

Why is everything written in rust nowadays? Apart from the safety it provides.

"What have the Romans ever done for us?"

https://youtu.be/djZkTnJnLR0?t=56

Re: GitHub – nushell/nushell: A new type of shell

#47
post #18

Earlier quoted context omitted.

Good package manager, broad ecosystem of packages, no header files, helpful compiler messages. It offers a good alternative to C++ for native applications.

Not to mention excellent support for algebraic datatypes and pattern matching.

So much this. After having encountered ADTs for the first time in Haskell and later on in Rust and other languages, any language without sum types (like Rust's enums) feels wholly incomplete. And the destructuring pattern matching is the cherry on top.

Re: GitHub – nushell/nushell: A new type of shell

#48

This feels extremely like PowerShell, from all the examples, and even cites "draws inspiration from projects like PowerShell", so "a new type of shell" feels very disingenuous unless it has additional novel properties that aren't evident just from these. There's also no support for variables yet if the page is to be believed, which means there's 0 chance of me using this for more than 5 minutes right now. (I'm not tr…

> This feels extremely like PowerShell, from all the examples, and even cites "draws inspiration from projects like PowerShell", so "a new type of shell" feels very disingenuous unless it has additional novel properties that aren't evident just from these.

There's HN-style nitpicking, and then there's this.

Re: GitHub – nushell/nushell: A new type of shell

#49

Very promising project that I hope it will take off and succeed. I recently switched to zsh with the addition of oh-my-zsh and I am happy how it has features like auto completion and command validation of some sort, but this could take it to the next level. I am just afraid to change to it and be disappointed about some incompatibility issues or bugs / crashes. I will observe and wait until it's quite popular to hop…

I use Oh-my-zsh too but I hate that it constantly asks me to update itself and it isn't exactly the quickest update either.

Either update automatically in the background or don't tell me about updates at all. Don't constantly nag me when I start new shells!

Re: GitHub – nushell/nushell: A new type of shell

#50
post #30

Earlier quoted context omitted.

powershell for unix is ... powershell: https://docs.microsoft.com/en-us/powershell/scripting/instal...

PowerShell from Microsoft is looking too alien on Unix. Just looking at the syntax I already feel uncomfortable. It's hard for me to criticize it because I haven't used it, but it looks like it was designed by a committee and overdesigned. I.e. it wasn't created from the need, like someone at Microsoft wanted to automate his work and created PS to solve his problem. It looks like some boss decided: "They have shells,…

Same for me, but looking at nushell, I'm not ruling out that they'll end up with something very similar to it. (I haven't used Powershell much to be honest.)
Post reply on HN