HNHacker News
TopNewBestAskShowJobs

unixgoddess

78 karma · joined February 10, 2023

submissionscomments
unixgoddess··on Rare insect found at Arkansas Walmart
it was a "rare insect", so killing it is potentially catastrophic as insects are highly likely to play an important role in any ecosystem.
unixgoddess··on Rare insect found at Arkansas Walmart
it's the opposite actually. Insects are incomparably more important than highly complex highly specialized animals when it comes to biodiversity.
unixgoddess··on Hundreds of changes made to latest editions of Roald Dahl's books
I wonder when will they start editing Harry Potter, what with the Dursleys being caricature fatsos = villains.
unixgoddess··on The Rust Implementation of GNU Coreutils Is Becoming Remarkably Robust
it's not just about forking processes. Instead than a single binary that needs to satisfy as much use cases as possible while remaining small and general, you would have a lot of more atomic functions that users can mix and swap as needed case-by-case.
unixgoddess··on The Rust Implementation of GNU Coreutils Is Becoming Remarkably Robust
As stable as, say, golang's standard library. Sure, it needs upfront thinking and commitment, but it's not that difficult and might be well worth it.

In the case of coreutils, the problem space is fairly simple and well-understood, so it should be quite easy to commit to a stable interface. Even for something exceptionally complex like a web browser, I'd expect most components to be easily kept backwards-compatible in terms of public api.

unixgoddess··on The Rust Implementation of GNU Coreutils Is Becoming Remarkably Robust
what if it were written as a library, with the traditional cli implementation as a thin layer over it?

I'm thinking about the wider FOSS ecosystem, for example if Firefox was built as a gui gluing together a modular collection of libraries people could do all sort of cool things with them.

Monolithic applications make sense for proprietary software, not so much for FOSS.

unixgoddess··on The Rust Implementation of GNU Coreutils Is Becoming Remarkably Robust
nope. it's still a traditional binary meant to be used as traditional binaries from the posix shell. What I mean is, replace both the binaries and the shell with a library equivalent of coreutils running from a REPL.
unixgoddess··on The Rust Implementation of GNU Coreutils Is Becoming Remarkably Robust
I wonder why not reimplement coreutils as library functions, to be used within an ad-hoc REPL. It would be much more flexible and extensible.

AFAIK, originally the reason why they were made as programs was that the available programming languages were too cumbersome for such use. Now we have plenty of experience making lightweight scripting languages that are pleasant to use in a live environment (vs premade script), so why give up the flexibility of ad-hoc scripting?

← PreviousPage 3 of 3