
Blocking == Technical Debt
Blocking occurs every time a program waits in line for something to happen. For instance, the basic Arduino “Blink” example turns the LED on and
Tag: concurrency

Blocking occurs every time a program waits in line for something to happen. For instance, the basic Arduino “Blink” example turns the LED on and

Q: How big should active objects get?
A: As big as possible, but not bigger.

What are the main programming paradigms in embedded software? Which of them can be mixed together and which are like “oil and water”? NOTE: Embedded.fm

On the free support forum for the QP state machine frameworks, an engineer has recently asked a question “superloop vs event dispatching“, which I quote

Key Concept: A Real-Time Event Framework (RTEF) is an implementation of the Active Object design pattern specifically designed for real-time embedded systems. RTEF provides the

Key Concept: Active Objects combine event-driven programming with multithreading. They naturally implement and automatically enforce the best practices of concurrent programming. Best Practices Active Object

Key Concept: Embedded systems need a program structure that can respond to a multitude of possible event sequences, any of which can arrive at unpredictable

Key Concept: A sequential program explicitly waits in-line, for the expected events in various places in the execution path. This explicit waiting for events is

On the free support forum for the QP state machine frameworks, an engineer has recently asked a question “superloop vs event dispatching“, which I quote

For a number of years I’ve been getting questions regarding protothreads and comparisons to state machines. Here is what I think: Protothreads in a Nutshell

Recently I’ve been involved in a discussion on the LinkedIn Real-Time Embedded Engineering group, which I started with the question “Is an RTOS really the

In my previous post, “RTOS Considered Harmful”, I have identified blocking as the main cause of the particular brittleness and inflexibility of the programs based

I have to confess that I’ve been experiencing a severe writer’s block lately. It’s not that I’m short of subjects to talk about, but I’m

In my previous post “A Heap of Problems” I have compiled a list of problems the free store (heap) can cause in real-time embedded (RTE)

Some design problems never seem to go away. You think that anybody who has been in the embedded software development business for a while must

Event-Driven Programming for Embedded Systems by Miro Samek, Ph.D. Home View/Download PDF The second edition of the “Practical Statecharts” book by Quantum Leaps’ Miro Samek
I still remember the “Triumph of the Nerds” PBS special, where Steve Jobs recalled his early days at Apple and how the young Apple team

Quantum Programming for Embedded Systems by Miro Samek, Ph.D. Home Download in PDF The first practical book about UML statecharts and event-driven programming for embedded
Recent Comments