In this course, students will learn about the foundational elements of programming languages as well as the design principles behind Motoko and the Internet Computer, and will build their own simple stack machine using these ideas. Module 1 serves as an intro to this unit, providing historical context for programming language design and how this relates to Motoko. Module 2 introduces the idea of a stack machine that can sequentially process instructions, and Modules 3 and 4 build upon this implementation to extend the functionality of the stack machine with type enforcement and branching.
Prime number algorithm implemented across 10+ programming languages with Docker-based benchmarking. Compare performance, syntax & paradigms across Python, JavaScript, C++, Java, Verilog & more.