Profile cover photo
Profile photo
Gabriel Ferrer
133 followers -
Professor of Computer Science at Hendrix College
Professor of Computer Science at Hendrix College

133 followers
About
Gabriel's posts

Post has attachment
Pipelines in Rust
A classic Operating Systems assignment is to implement a Unix shell. It's a great assignment for several reasons. Students have to: Get a solid understanding of the concept of a process. Master some of the more subtle aspects of the file system. Make direct...

Post has attachment
Threads, locks, and deadlocks in Rust
A very compelling feature of the Rust language is compile-time protection against data races .  This makes it much easier to write correct threaded programs that share mutable state.  The following program illustrates how this works. The program runs eight ...

Post has attachment
Strings in Rust
One concept in Rust that those learning the language can find very confusing is the existence of two different types of strings: String and &str . (This post assumes at least a basic understanding of the Rust ownership system .) The String type represents a...

Post has attachment
Teaching Operating Systems using Rust
This semester (inspired by the example  and compelling rationale of David Evans ) I have been teaching Operating Systems using the Rust language . (I have explicitly rejected the possibility of teaching in C .) Rust is a great choice for this course for sev...

Post has attachment
What's wrong with C?
( The following post is adapted from an answer I wrote in response to this  question . ) I started programming in C++ when I was a sophomore in college. Later, I also learned to program in C (without the ++) when working as a student Unix systems administra...

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded