학교/CPL16 Lecture 12-13: Objects 목차 Learning Objectives - Explain what an object is - Explain how objects are typed in Scala - Explain what the "self" is in object-oriented programming - Explain what delegation and late binding is in object-oriented programming - Desugar a language with simple objects into functions and mutation - Explain what the Expression Problem is, and how objected-oriented programming and functional progr.. 2024. 4. 10. CPL 5: Parallel and Concurrent 목차 Single Core Concurrency Multiprogramming allows a single-core processor to run multiple programs in a rotation principle. Therefore, multiple programs can be loaded in memory and each will take turn executing instructions on the CPU. 2 multiprogramming concepts: Multi-user system: Multiple users that share a single-core machine. The single core processor is going to allocate time to every ter.. 2024. 4. 9. Lecture 11: Type Checking 목차 Learning Objectives - Explain the difference between a type system and a type checker - Analyze programs as being well-typed or ill-typed - Explain and motivate "type safety" - Implement a simple type checker for a language with let expressions Why Type Check? Type checking helps rule out errors Example: Type System vs Type Checker A type system is a specification of a set of syntactic restri.. 2024. 4. 6. Lecture 9-10: Parallel and Concurrent 목차 Learning Objectives • Explain what concurrency and parallel computing are • Explain how we can fake parallelism on a single executor • Explain what atomicity is and how it is important for concurrent code • Explain what critical sections are and different ways in which you can protect them against concurrent use • Explain the potential problems with concurrent execution and how to prevent the.. 2024. 4. 6. 이전 1 2 3 4 다음 반응형