# Rewriting the GNU Coreutils in Rust

**URL:** <https://forum.devtalk.com/t/rewriting-the-gnu-coreutils-in-rust/10832>\
**Category:** Blogs/Articles/Talks/Podcasts\
**Tags:** rust\
**Created:** [25 June 2021 13:43 UTC](https://forum.devtalk.com/t/rewriting-the-gnu-coreutils-in-rust/10832 "2021-06-25T13:43:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![OvermindDL1](https://forum.devtalk.com/user_avatar/forum.devtalk.com/overminddl1/32/52_2.png) [@OvermindDL1](https://forum.devtalk.com/u/OvermindDL1)\
**Post date:** [28 June 2021 15:46 UTC](https://forum.devtalk.com/t/rewriting-the-gnu-coreutils-in-rust/10832/3 "2021-06-28T15:46:07Z")

</div>

Unlike the original C code for coreutils, updating and random PR’s to the rust version is significantly safer and easier to vet. The hardest part is, of course, getting all the OS-specific-isms right that can’t really be expressed by better code unless you are very strict on a type-based programming (which I’m unsure if they are for this, at least you can to type-based programming in Rust unlike C so if not now then could be done in the future).

---

_[View the full topic](https://forum.devtalk.com/t/rewriting-the-gnu-coreutils-in-rust/10832)._
