Re:Nushell.sh ls | where size > 10mb | sort-by modified
by avgcorrection on Sunday March 12, 2023 @03:14PM
(#35124809)
No, that’s not mentioned as an advantage on the website.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by k0k0r0 on Sunday March 12, 2023 @03:24PM
(#35124949)
I assume the parent comment did not make fun of nushell advertizing this, but instead about the rust community advertizing itself all the time.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by huimang on Sunday March 12, 2023 @03:35PM
(#35125098)
To be honest, they have good reason. Being written in a strongly typed, memory-safe language is a huge advantage. Obviously it's not the primary thing to look out for, but I do prefer tools that are written in it.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by vips7L on Sunday March 12, 2023 @04:10PM
(#35125573)
There are plenty of strongly typed memory safe languages. In fact I think those are the majority of popular languages.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by triyambakam on Sunday March 12, 2023 @04:22PM
(#35125719)
I'm not really sure which other popular languages would be considered memory safe AND strongly typed. I know of both C and C++ which I wouldn't consider memory safe. And I know of Javascript, which is not strongly typed... so which do you mean?
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by vips7L on Sunday March 12, 2023 @04:40PM
(#35125972)
Java, Scala, Kotlin, C#, D, Go, and TypeScript to name a few.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by intelkishan on Sunday March 12, 2023 @10:29PM
(#35130116)
Even Python fits the bill.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by scns on Monday March 13, 2023 @03:31AM
(#35132325)
Of those only D and Go build self contained binaries (yes i know about Graal/Kotlin Native/.Net AOT). No snark intended.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by vips7L on Monday March 13, 2023 @08:07AM
(#35134548)
This is moving the goal post a bit, since the person I replied to was considering JavaScript, but I don’t really think this distinction matters. You get most programs from a package manager.
I am curious though why you don’t count graal or .net aot? They are valid options to produce an aot binary and C# has been able to produce a self contained non-aot runtime for a long a time.
[dead]
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by vips7L on Wednesday March 15, 2023 @08:44AM
(#35167421)
But why? There is nothing about a shell that requires zero cost abstractions or no gc. It farms all of its work out to other executables. A shell could be written in literally any language.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by marcosdumay on Sunday March 12, 2023 @04:54PM
(#35126136)
Yet, almost all the basic tools in a Unix system are written in C.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by zozbot234 on Sunday March 12, 2023 @04:27PM
(#35125789)
> Being written in a strongly typed, memory-safe language is a huge advantage.
Great point, C# is a strongly typed and memory-safe language if you don't use unsafe. So this really is a huge advantage for PowerShell.
/s