After working through these videos, you are ready to start working on half of Assignment 0: Stack and heap allocation and Reducing memory fragmentation, and Naive benchmarking.
If you are taking this course as a student at Chalmers/GU, please start by reading the ections Organization.
Make doubly sure to participate in the lecture/global discussion in the first week, as a student at Chalmers/GU. We have to go through some formalities, but also want to get you kick started for the computer lab sessions.
If you start watching the videos before the first week even has started, the Welcome Video (current one is from 2021) and accompanying slides are particularly recommended.
Video: Login to the Training System Gantenbein. Slides: login_gantenbein.pdf.
Note: The ssh fingerprint is different in 2022. The current fingerprint is in the updated slides.
Video: File System Navigation. Slides: filesystem.pdf.
Video: File System Operations. Slides: filesystem.pdf.
Video: Invoking Commands. Slides: invoking_commands.pdf.
Video: Text Editor. Slides: text_editor.pdf.
Optional video: NeoVim. Slides: neovim.pdf.
Video: Terminal Multiplexer. Slides: tmux.pdf.
Amendment to this video: There is a good overview of tmux commands at tmuxcheatsheet.com.
Video: TMux Workflow.
Video: TMux Collaboration. Slides: tmux_collaboration.pdf.
Note: The latest version of the TMux one further step is required to allow access to your Tmux socket. It is not described in the video, but only in the slides.
Video: First C Program. Code: first_c_program.c. Exercises: first_c_program.c_GAPS.
Video: First Makefile. Code: makefile. Exercises: makefile_GAPS.
Video: Revisit Control Flow. Code: control_flow.c. Exercises: control_flow.c_GAPS.
Video: Function Calls. Code: function_calls.c. Exercises: function_calls.c_GAPS.
Video: Reading CppReference. External link: CppReference.
Video: What is memory? I, What is memory? II. Slides: what_is_memory.pdf. Code: what_is_memory.jl, what_is_memory_sizeof.c, what_is_memory_allocate.c.
Video: Memory Allocation. Code: allocation.c.
Video: Pointer Arithmetic. Code: pointer_arithmetic.c.