Cross-platform Rust rewrite of the GNU coreutils
1–10 of 498 posts
Re: Cross-platform Rust rewrite of the GNU coreutils
#2It certainly beats using NodeJS.
EDIT: Yea, this was meant as a reference to the coreutils-in-nodejs post on the frontpage.
Re: Cross-platform Rust rewrite of the GNU coreutils
#3Could be useful given the choice of MIT license rather than a GPL variant.
Re: Cross-platform Rust rewrite of the GNU coreutils
#4Rewriting coreutils is neat, but a project I'd really look forward would be a strict POSIX base expanded with warnings or errors on valid but risky constructs e.g. echo -n. Even more so if it included a shell (with static analysis of useless uses and dangerous patterns). That would make writing cross-shell scripts much easier.
Re: Cross-platform Rust rewrite of the GNU coreutils
#5The rationale talks about easy portability to Windows, but I'm skeptical - the underlying API and filesystem is different enough that this is likely to cause problems. '\' vs '/' to start with.
Re: Cross-platform Rust rewrite of the GNU coreutils
#6See also today's discussion of `cash` ("CoreUtils implemented in pure JavaScript"): https://news.ycombinator.com/item?id=11334597
Re: Cross-platform Rust rewrite of the GNU coreutils
#7The rationale talks about easy portability to Windows, but I'm skeptical - the underlying API and filesystem is different enough that this is likely to cause problems. '\' vs '/' to start with.
[deleted]
Re: Cross-platform Rust rewrite of the GNU coreutils
#8Rust is a great choice for systems programming it'd seem. Esp considering that a well-tested, battle-hardened code-base like SQLite faces problems [1] solely due to the nature of the language its written in.
Re: Cross-platform Rust rewrite of the GNU coreutils
#9The rationale talks about easy portability to Windows, but I'm skeptical - the underlying API and filesystem is different enough that this is likely to cause problems. '\' vs '/' to start with.
Windows supports forward-slash fine. Has for at least 25 years. No need to change / to \ or visa versa.
Now obviously any Windows port would have to call Win32 APIs instead of POSIX APIs (unless you're writing for a Cygwin-like layer).
Re: Cross-platform Rust rewrite of the GNU coreutils
#10It certainly beats using NodeJS. EDIT: Yea, this was meant as a reference to the coreutils-in-nodejs post on the frontpage.
[deleted]