BatmanAoD

joined 2 years ago
[–] BatmanAoD@programming.dev 7 points 3 months ago (2 children)

For interactive use, tab-completion essentially makes this a non-issue, because shells add escaping in the appropriate places.

For scripting, where spaces are harder to deal with, unfortunately there's just not much you can do; your two options are basically to learn all of your particular shell's patterns for dealing with whitespace in filenames, or only write scripts in something other than a POSIX shell.

[–] BatmanAoD@programming.dev 2 points 3 months ago

Here it is:

Presumably, it already used SIMD, and that's how the existing GNU utility beat Rust by a factor of 17x.

[–] BatmanAoD@programming.dev 2 points 3 months ago (1 children)

Presumably, it already used SIMD, and that's how the existing GNU utility beat Rust by a factor of 17x.

[–] BatmanAoD@programming.dev 4 points 3 months ago (1 children)

That's fair; Python, Swift, and most Lisps all use or have previously used reference-counting. But the quoted sentence isn't wrong, since it said no "garbage collection pauses" rather than "garbage collection."

[–] BatmanAoD@programming.dev 6 points 3 months ago

"Garbage collection" is ambiguous, actually; reference counting is traditionally considered a kind of "garbage collection". The type you're thinking of is called "tracing garbage collection," but the term "garbage collection" is often used to specifically mean "tracing garbage collection."

[–] BatmanAoD@programming.dev 3 points 4 months ago

What's wrong with the explanation given?

[–] BatmanAoD@programming.dev 5 points 4 months ago

...the rest of it explains the context, and then briefly says that some people will disagree with the decision, but those people should just use a different distro. What are you complaining about?

[–] BatmanAoD@programming.dev 8 points 4 months ago (3 children)

To be fair, the drop/dealloc "pause" is very different from what people usually mean when they say "garbage collection pause", i.e. stop-the-world (...or at least a slice of the world).

[–] BatmanAoD@programming.dev 2 points 4 months ago

You could also just alias find back to ^find. I don't use nushell as my daily driver for other reasons, and I agree with the comment above that it's a bit questionable for them to have a built-in with that name, but I don't understand why you'd even try out a new shell, let alone one that's radically different from POSIX-style shells, much less complain online about the shell you just tried, when you're already happy with the shell you're using and are not willing to adapt any habits or explore the configuration options to match your needs.

[–] BatmanAoD@programming.dev 6 points 4 months ago

I genuinely can't tell if you're being sarcastic or not.

[–] BatmanAoD@programming.dev 3 points 4 months ago (1 children)

I really don't think these are clearly comparable. I would rather see two more similar projects with comparable functionality that are both attempting to optimize for program binary size.

view more: ‹ prev next ›