Master Course: Concepts of Programming Languages - Rosenheim Technical University - 2020/2021
The course "Concepts of Programming Languages" is designed as a master course. Solid programming skills in Java/C/C++ are required. I also assume that students have introductory skills in Scala and Python. For all exercises and examples, the course uses Go (Golang) as concrete example. We will look at typical styles and application areas like OOP, FP, Parallel-, Distributed- or Systems Programming.
- Learn the Concepts of Programming Languages
- Learn how Go differs from Java, C/C++, Scala and languages
- Get solid skills to pick the right language for a given problem
It is somewhat unusual, that we focus on Go in all Lectures. Master students are typically well skilled in Java. They have some basic knowledge in C/C++, maybe JavaScript, Ruby, Python or Scala. Since Go is a multi paradigm language, the lecture uses Go to demonstrate the basic concepts of these languages and discuss features which are missing in Go. We go from concrete to the abstraction and not vice versa. Each student will compare Go to one of these languages as Semester Work: Modula, Ada, Smalltalk, C++, Eiffel, Objective C, Haskell, Clojure, F# , Erlang, Scala, D, Occam, Rust, Swift, JavaScript, Ruby, Python, Kotlin. We will release the results here.
- Overview of Programming Languages, Why Go?
- Setup, HelloWorld, Swap, Basic Types and Variables, Program Arguments, Working with Go Flags, CLI Libraries
- About
- Overview
- Introduction to Golang
- Exercise 1
- Pointer, Arrays, Maps and Object Oriented Programming
- Reasons for Go https://www.youtube.com/watch?v=5kj5ApnhPAE
- Slides
- Exercise 2.1
- Exercise 2.2
- Structs, Interfaces, Embedding, Polymorphism
- Slides
- Exercise 3
- Practicing Go using the example of parsers for boolean expressions
- Slides
- Exercise 4
- Introduction in Functional Programming, the Lambda Calculus and the implementation in Go
- Slides
- Exercise 5
- Why concurrent programming matters! Go routines and channels, Go concurrency patterns, The dining philosophers problem
- Slides
- Exercise 6
- Introduction into Consensus Protocols
- Raft
- Implementing Raft with Go
- Slides
- Exercise 7
- Introduction to WebAssembly
- WebAssembly implementation of Go
- Slides
- Exercise 8
- Introduction into systems programming
- Using Cgo to communicate with native libraries
- Building an OS-level virtualization software in Go
- Slides
- Exercise 9
- Large Scale Programming with Modules
- Slides
- Exercise 10
- Introduction to Prolog
- Slides
- Exercise 11