Live data from Hacker News

GitHub – nushell/nushell: A new type of shell

github.com

21–30 of 411 posts

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

#23
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.

Seems like low level programmers finally getting an enjoyable, modern, free language and are getting a bit loose with it!

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

#24
I wonder if the pipelining could be added to a regular shell to get its advantages - the cost for me from moving from Bash is too high.

Basically a "cols" command on steroids - making that have some kind of context aware column names (I'm not sure how) and then support expressions would make it work in any shell.

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

#26
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.

Backwards compatibility can be a heavy burden for a programming language. C++ could be a much simpler, ergonomic language by eliminating features and idioms that are no longer convenient to use.

Achieving mastery in C++ requires a lot of work. C++ projects require a coding standard. The decision space you have when working in C++ is much larger than when working with Rust due to the proliferation of language idioms.

Rust in the other hand, as a newer language, can benefit from the experiences working with languages such as C++, and provide a better experience right from the beginning. In fact, Rust was created by Mozilla as a response to the shortcomings they perceived in C++.

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

#27
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.

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

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

#28

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…

https://github.com/nushell/nushell#progress

"Nu supports variables and environment variables"

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

#29

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…

Have you used PowerShell much? The examples in the Readme make it obvious that it's very different (in a good way).

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

#30

Need some description up front, not in the 5th section ("Philosophy" https://github.com/nushell/nushell#philosophy ). Some ideas: "powershell for unix", "structured pipes", "pre-parsed text", "small, useful, typed tools loosely coupled."

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