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?
- About
- Overview
- Introduction to Go
- First presentation of the Go programming language: https://www.youtube.com/watch?v=rKnDgT73v8s&t=722s
- Exercise 1
- Swap, Basic Types and Variables, Program Arguments, Working with Go Flags, CLI Libraries, Pointer, Arrays, Maps
- Reasons for Go https://www.youtube.com/watch?v=5kj5ApnhPAE
- Slides
- Exercise 2.1
- Exercise 2.2
- Structs, Interfaces, Embedding, Polymorphism
- Slides
- Exercise 3
- Postfix Notation, Reverse Polish Notation, Stack Machine, Forth, Metaprogramming
- Slides
- Exercise 4
- Introduction in Functional Programming, the Lambda Calculus and the implementation in Go
- Slides
- Exercise 5
- Introduction to Haskell
- Slides
- Exercise 6
- Why concurrent programming matters! Go routines and channels, Go concurrency patterns, The dining philosophers problem
- Slides
- Exercise 7
- Introduction to Networking in Go
- Slides
- Slides
- Exercise 8
- Introduction into systems programming
- Using Cgo to communicate with native libraries
- Slides
- Exercise 9
- Introduction to Prolog
- Slides
- Exercise 10
- Introduction to WebAssembly
- WebAssembly implementation of Go
- Slides
- Exercise 11
- Large Scale Programming with Modules
- Slides
- Exercise 12