Hacker News new | past | comments | ask | show | jobs | submit login

That looks pretty clean, but they're still applying looks like 5 patches which would need to be maintained separately. It's certainly not as bad as a full port, but it's still not the same codebase. Rust's cross-platform efforts would (I think?) obviate that process.



But, nevertheless, it's not exactly a port of Coreutils to Windows per se.

For instance, let's take the "cp" utility.

A Windows port "cp" should be able to copy Windows-specific file attributes. Does the Cygwin "cp" do that? How about NTFS forks?

I don't believe that you can write some portable code in Rust, and have a "cp" utility which correctly handles every quirk of every OS's file structure.


Not familiar with Windows' filesystem APIs, but the description for the Rust function in the stdlib is here:

https://doc.rust-lang.org/std/fs/fn.copy.html

Seems like it should handle platform specific attributes?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: