Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
book
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
book
Commits
99c49609
Unverified
Commit
99c49609
authored
8 years ago
by
Ian Douglas Scott
Browse files
Options
Downloads
Patches
Plain Diff
Add link to Rust book to unsafe section
parent
99b61af8
No related branches found
No related tags found
1 merge request
!51
Several small improvements
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/introduction/unsafes.md
+2
-0
2 additions, 0 deletions
src/introduction/unsafes.md
with
2 additions
and
0 deletions
src/introduction/unsafes.md
+
2
−
0
View file @
99c49609
...
@@ -8,3 +8,5 @@ In that light, a kernel cannot be 100% safe, however the unsafe parts have to be
...
@@ -8,3 +8,5 @@ In that light, a kernel cannot be 100% safe, however the unsafe parts have to be
A quick grep gives us some stats: The kernel has 16.52% unsafe code, a 50% improvement in the last three weeks. User space has roughly ~0.2%.
A quick grep gives us some stats: The kernel has 16.52% unsafe code, a 50% improvement in the last three weeks. User space has roughly ~0.2%.
This contrasts with kernels written in C, which cannot make guarantees about safety without costly formal analysis.
This contrasts with kernels written in C, which cannot make guarantees about safety without costly formal analysis.
You can find out more about how
`unsafe`
works in the
[
relevant section of the Rust book
](
https://doc.rust-lang.org/book/unsafe.html
)
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment