John Song

John Song

Column: Breaking down the uses of lambda

Column: Breaking down the uses of lambda

What is lambda? You may know that it’s the eleventh letter in the Greek alphabet. Perhaps you recall from Physics that it’s the symbol used to represent wavelength in calculations, or you might have heard about it from other places. In C++, a lambda is an expression...

Opinion: std::map vs std::unordered_map

Opinion: std::map vs std::unordered_map

Computer programs are often used to store and access large amounts of data, with one example being a program to manage students’ data. If a teacher wanted to modify a student’s information, they would want to find the student quickly and update it. They’d also want to...

Opinion: Mutex and why we should use it in computer science

Opinion: Mutex and why we should use it in computer science

A thread of execution is a set of instructions that are managed by a scheduler. If you make a new thread separate from your program’s main thread, a new independent execution flow will be added to your process. The code that is run by the new thread and the code run...