Skip to content

Constantine's learning material for CS110L:Safety in Systems Programming, including notes and codes.

Notifications You must be signed in to change notification settings

ClConstantine/CS110L

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS 110L: Safety in Systems Programming

Overview

This repo is my learning material for CS110L, including notes and codes.

这个仓库是我学习 CS110L 课程的笔记和代码。

In this course, You will learn an fantastic language, Rust. You may gain a comprehensive understanding of memory leak issues and the improper use of pointers in the code written by C. But the high efficiency of C makes it impossible to be replace by the higher-level language with GC(garbage collection) such as Java in the system programming. Whereas Rust aims at solving the security problems in C without the sacrifice of efficiency.

在这门课程中,你将学习一门非常神奇的语言—— Rust。你会全面了解 C 中存在的内存泄漏、指针不当使用等等问题。但 C 语言的高效性使其在系统编程中无法被具有 GC(垃圾回收)的高级语言如 Java 所替代。而 Rust 的目标是在解决 C 语言中安全问题的同时不牺牲效率,保持高效。

Thanks to Stanford and Ryan Eberhardt for offering those course material and video.Thanks to @fung-hwang for offering adaptation of the course.

感谢 Stanford 和 Ryan Eberhardt 提供的课程材料和视频。感谢 @fung-hwang 为课程提供的适配

Q&A

Q: Why Rust?

A: My basic understanding of the problem is that Rust can serve as a tool to solve the challenges in system programming. Rust strives to maintain the high efficiency level as C/C++, while improving the safety problems in C programs.

A: 我认为 Rust 可以作为解决系统编程挑战的工具,Rust 努力保持与 C/C++ 近似的高性能,同时改善程序中的安全问题。

Q: Only Rust?

A: Rust is a tool to deliver the thoughts how we solve those challenges. This course also includes the deep thinking in memory usage of program.

A: Rust 是我们解决这些挑战的工具,这门课程还包括对程序内存使用的深入思考。

About

Constantine's learning material for CS110L:Safety in Systems Programming, including notes and codes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published