Skip to content
0:00 / 0:00

#event-loop#win32-api#active-object

#33 Event-Driven Programming Part-1: GUI example, events, event-loop, run-to-completion, no-blocking

Quantum Leaps, LLC

74K subscribers • 7 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

60K views6 years ago1 recommendation

Software designSystems programmingEvent-driven systems and messagingConcurrency and parallelismEmbedded systems

Miro Samek explains the core concepts of event-driven programming, including event loops and non-blocking execution, using the Win32 API as an example.

This lesson starts a new segment of lessons about *event-driven programming*, which is an important stepping stone in understanding modern software of any kind, not just modern embedded programming. In this lesson, you will learn the main concepts of event-driven programming based on its origins in graphical user interfaces (GUIs), which went mainstream during the personal computer revolution in the 1980s. Specifically, in this lesson, you will see the most important characteristics of event-driven programming exemplified by the original, low-level Win32 API in C, which demonstrates the main concepts of event-driven programming in their simplest and most direct form. With this background, in the following lessons, you will see how these main characteristics of event-driven programming can be applied to real-time embedded systems, such as your TivaC LaunchPad board. ------ Resources: Companion web page for this video course: state-machine.com/quickstart GitHub repository for projects for this video course: github.com/QuantumLeaps/modern-embedded-programming-course Transcript of this lesson: state-machine.com/course/lesson33.txt Video Credits: This lesson uses short clips from the following YouTube videos: 1968 “Mother of All Demos” by SRI’s Doug Engelbart and Team (youtu.be/B6rKUf9DWRI) Xerox Star 8010 GUI (youtu.be/0_bgAryP380) Music credits: The background music comes from: bensound.com/royalty-free-music/track/straight

Why it's here

1 person recommends this

What people say. Recommended as an excellent introduction to event-driven programming concepts for embedded systems.

u/active-objectin r/embedded • Recommends

Embedded Programming Lesson 33: Event-Driven Programming part-1