You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blog/2024-02-extending.md
+19-7
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
+++
2
-
title = "Extending the coreutils project - Rewriting base tools in Rust "
2
+
title = "Extending the Coreutils project - Rewriting base tools in Rust "
3
3
draft = true
4
4
date = 2024-03-26
5
5
authors = ["Sylvestre Ledru", "Terts Diepraam"]
6
6
+++
7
7
8
-
Over the last 4 years, we have been working at reimplementing some of the key linux tools in Rust. We started with the [Coreutils](https://github.com/uutils/coreutils) and [findutils](https://github.com/uutils/findutils).
8
+
Over the last 4 years, we have been working at reimplementing some of the key Linux tools in Rust. We started with the [Coreutils](https://github.com/uutils/coreutils) and [findutils](https://github.com/uutils/findutils).
9
9
10
10
As we approach feature parity with the GNU Coreutils implementation, and as its adoption in production environments continues to expand, we have been thinking about what is next.
11
11
12
-
Given the overwhelming positive feedback around this initiative, we are going to extend our efforts to rewrite other part of the modern Linux/Unix/Mac stack in Rust (still with Windows support in mind when relevant).
13
-
We also noticed a lot of contributions on these projects coming for a lot of different hackers (475 different contributors on Coreutils!).
12
+
Given the overwhelming positive feedback around this initiative, we are going to extend our efforts to rewrite other parts of the modern Linux/Unix/Mac stack in Rust (still with Windows support in mind when relevant).
13
+
We also noticed a lot of contributions on these projects coming from a lot of different hackers (475 different contributors on Coreutils!).
14
14
With the growing enthusiasm for Rust and the eagerness to learn it, now is the best time to push this project. We think that rewriting in Rust will help with the longer term maintenance of the ecosystem, ensuring it stays robust, safe and welcoming for new generations of contributors.
15
15
16
16
We are
@@ -26,11 +26,11 @@ For now, we are going to focus on:
26
26
*[util-linux](https://github.com/uutils/util-linux) - [Good first issues](https://github.com/uutils/util-linux/labels/good%20first%20issue)
27
27
A couple programs started
28
28
*[bsdutils](https://github.com/uutils/bsdutils) - [Good first issues](https://github.com/uutils/bsdutils/labels/good%20first%20issue)
29
-
One program start
29
+
One program started
30
30
*[login](https://github.com/uutils/login/) - [Good first issues](https://github.com/uutils/login/labels/good%20first%20issue)
31
31
Just the skeleton
32
32
*[hostname](https://github.com/uutils/hostname/) - [Good first issues](https://github.com/uutils/hostname/labels/good%20first%20issue)
33
-
almost empty
33
+
Almost empty
34
34
35
35
36
36
These packages are part of the essential list on Debian & Ubuntu.
@@ -56,4 +56,16 @@ For consistency purposes and not interested by a license debate, we are going to
56
56
The binaries are too big?
57
57
-------------------------
58
58
59
-
Does it really matter? Yes, Rust binaries are usually bigger then GNU but we don't think it is a blocker, even for embedded devices.
59
+
Does it really matter? Yes, Rust binaries are usually bigger than GNU but we don't think it is a blocker, even for embedded devices.
60
+
61
+
62
+
Is it really safer?
63
+
-------------------
64
+
65
+
While Rust is clearly a better language than C/C++ for security, these programs are often very safe. It isn't a key argument for us for
66
+
this rewrite.
67
+
68
+
What about performances?
69
+
------------------------
70
+
71
+
Although we haven't entered the optimization phase, Rust's modern design inherently facilitates some straightforward performance improvements.
0 commit comments