BatmanAoD

joined 2 years ago
[–] BatmanAoD@programming.dev 4 points 1 week ago

That's because you haven't unlearned it yet

[–] BatmanAoD@programming.dev 13 points 1 week ago

Two, arguably: one with Apple and one with upstream Linux.

[–] BatmanAoD@programming.dev 9 points 2 weeks ago (1 children)

String escaping sucks in bash and other posix-style shells too, though.

[–] BatmanAoD@programming.dev 2 points 1 month ago

Believe me, whitespace-correct scripting is absolutely an issue.

You're right that it's annoying when filenames diverge right at a character that must be escaped.

[–] BatmanAoD@programming.dev 7 points 1 month 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 1 month 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 1 month 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 2 points 1 month 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 4 points 1 month 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 1 month ago

What's wrong with the explanation given?

[–] BatmanAoD@programming.dev 5 points 1 month 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 1 month 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).

1
submitted 9 months ago* (last edited 9 months ago) by BatmanAoD@programming.dev to c/programmer_humor@programming.dev
view more: next ›