File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ This is a WIP implementation of [C code](https://github.com/remzi-arpacidusseau/
3
3
Why do I want to port them to Rust?
4
4
5
5
1 . I use it as a project to practice Rust. I got the opportunity to experiment with a wide variety of APIs in an OS.
6
- 1 . It allows me to compare Rust to C so I concrete information on which one is better for a particular situation.
7
- 1 . I am contemplating of writing another OS in Rust.
6
+ 1 . It allows me to compare Rust to C so I get concrete information on which one is better for a particular situation.
7
+ 1 . This is a precursor for an experiment to write yet anther OS in Rust.
8
8
9
9
Whenever we have a choice between unsafe ` libc ` or safe Rust ` std ` , we always go with the safe one as that is what make
10
10
Rust better. A few exceptions are:
11
11
12
12
1 . intro/threads.rs: You need unsafe to demonstrate the synchronization problem. The safe Rust actually prevents such problem.
13
- 1 . cpu-api.rs: We use ` libc ` to demonstrated ` fork() ` .
13
+ 1 . cpu-api.rs: We use ` libc ` to demonstrated ` fork() ` .
You can’t perform that action at this time.
0 commit comments