DeepRead
Cover of Practical UML statecharts in C/C++

Practical UML statecharts in C/C++

Miro Samek · 2008

Programming and computer science › Electronics and computer architecture

#5,363 most recommended

About the book

The book covers UML statecharts, the state-machine notation for reactive behavior, and how to implement them in C and C++ for embedded systems. It includes the event-processing and active-object techniques needed to run them in real-time code, with a worked example framework and its source. Ad hoc state logic, such as nested switch statements or flag variables, becomes hard to maintain and verify as systems grow. Hierarchical state machines with explicit states, transitions, and entry and exit actions give a clearer structure. The author argues that these can be implemented directly in C or C++ with a small footprint and predictable run-time behavior, and that the implementation choice should be made deliberately, with the trade-offs of each strategy stated.

Written by Claude from what it knows of this book.

What Hacker News says 86% recommend · 0% critical

01220122015202020232012 peak · 2
This bookAverage book in Electronics and computer architecture

In the commenters’ own words

  • To these links I would also add Miro Samek's book "Practical UML Statecharts in C/C++," which covers details of implementing (hierarchical) statecharts. The…

    RossBencina · 2020 · in State Machines in Rust

  • I read this awesome book and multi threading embedded systems. "Practical UML Statecharts in C/C++: Event-Driven Programming for Embedded Systems" The author…

    tlarkworthy · 2013 · in Reactive Manifesto

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2008
ISBN
9780750687065
Editions known
10 at Open Library
Open Library
OL8927441W

C (computer program language)C plus plus (computer program language)C.Computer softwareDevelopmentEingebettetes SystemEmbedded computer systemsFormal methods (Computer science)Méthodes formelles (Informatique)Object-oriented programming (Computer science)Programmation orientée objet (Informatique)Statecharts (Computer science)Statecharts (Informatique)System design

Explore in the mosaic

Read next: its neighbours on the mosaic