Write yourself a shell

One of the things developers use every day is a shell. It comes in many flavors like bash, fish or zsh.
In this workshop, you'll write your own fully functional shell in Rust using the latest best practices with a focus on idiomatic code, with one caveat: you can only use the standard library (no external crates allowed).
You'll play with I/O, error handling, and syscalls while getting more hands-on Rust experience.

LEVEL: Intermediate

Workshop #2
180 min
November 9th, 2024



The workshop is organized in different blocks:
- Create a shell that can run basic commands
- Add the ability to concatenate commands (e.g. with semicolon)
- Implement shell-builtins (like `cd`)
- Add shell history support (optional)

The workshop is meant to be very hands-on, where participants work on their own implementation while we answer questions. At the end of each block, the teachers show a possible solution and ask the participants to move to the next block.

Everybody works on its own pace:
- Teachers provide solutions that participants who are stuck can use to quickly move to the next block, without being frustrated
- Each block has bonus tasks. Participants who finish the block early can work on them: no need to wait until the next block starts.

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2024 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS