The benefits and costs of writing a UNIX kernel in a high ...
The benefits and costs of writing a UNIX kernel in a high-level language
Cody Cutler, M. Frans Kaashoek, Robert T. Morris
MIT CSAIL
1 / 64
What language to use for developing a kernel?
A hotly-debated question but often with few facts 6.828 students: why are we using C? why not a type-safe language? To shed some light, we focus on:
? A new kernel or monitor ? A language with automatic memory management (i.e., with a garbage collector) ? A traditional, monolithic UNIX kernel
2 / 64
C is popular for kernels
Windows Linux *BSD
3 / 64
Why C is good: complete control
Control of memory allocation and freeing Almost no implicit, hidden code Direct access to memory Few dependencies
4 / 64
Why C is bad
Writing secure C code is difficult 40 Linux kernel execute-code CVEs in 2017 due to memory-safety errors (execute-code CVE is a bug that enables attacker to run malicious code in kernel)
5 / 64
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- firebird 2 1 error codes
- golang cast interface to struct
- experiences building influxdb in go
- complex data type declaration example in golang
- the benefits and costs of writing a unix kernel in a high
- subtyping subclassing a brief glimpse additional java tips
- new parallel programming languages for optimization research
- abstract syntax trees
Related searches
- examples of writing a composition
- tips of writing a composition
- benefits and losses of higher education
- benefits of writing a blog
- benefits of writing a book
- benefits and drawbacks of technology
- benefits and challenges of outsourcing
- benefits and challenges of globalization
- benefits and drawbacks of coffee
- benefits and drawbacks of homework
- benefits and drawbacks of tourism
- costs of owning a home