Videos

Videos

Beningo Embedded Group mission includes educating companies, engineers and individuals on how to effectively design and build real-time embedded systems.

Beningo Embedded Group does this through a series of webinars, workshops and subscription service. Below are free educational videos that provide a sample of Jacob’s work. You can also visit his YouTube Channel.

CONTACT US TO SEE HOW WE CAN HELP WITH YOUR PROJECT

Jacob Beningo talks with RTOS pioneer Bill Lamie, creator of Nucleus, ThreadX, and PX5 RTOS, about how to write efficient, high-performance real-time code. They cover POSIX pthreads, keeping software simple, RTOS benchmarking, test-driven development, using AI as a development teammate, and practical tips for structuring RTOS applications.

Chapters:
00:00 Introduction and Bill Lamie's RTOS Background
03:00 State of the RTOS Industry and POSIX Standardization
05:40 Design Lessons: Simplicity and Performance Techniques
09:46 RTOS Benchmark Reports and Industry Competition
14:30 Trade-offs: Complexity, API Overhead, Safety, and Documentation
18:26 Test-Driven Development and 100% Coverage
22:02 Using AI as a Development Teammate
26:25 RTOS Application Best Practices: Priorities and System Objects
29:03 Final Thoughts: Tool Complexity and Semiconductor SDKs

Key Takeaways:
• Keep it simple: complexity is the biggest enemy of embedded software, and a complex solution is probably not the right one.
• Minimize nested function calls in critical paths, since pushing and popping registers and return addresses is expensive.
• Design for performance from the start. Every comparison and data reference matters in the real-time path, and performance can't be bolted on at the end.
• Use an error-checking veneer selectively. Enable it for new or untrusted code and call the direct API for proven code to save cycles.
• Standardizing on the POSIX pthreads API makes it easier to share code between Linux and RTOS-based products and to move between RTOSes.
• Write documentation before code to keep your design flexible and expose interfaces that are hard to explain.
• Adopt test-driven development by writing test cases before the code. This keeps you from writing unreachable paths and makes coverage targets such as 100% statement and branch coverage achievable.
• Treat AI as a teammate, not a replacement. It excels at tedious tasks like proofreading, QA, concurrency review, and quick hardware lookups, but it isn't reliable for pure code generation.
• Put as many threads as possible at the same priority and use higher priorities only when preemption is absolutely necessary.
• Use a minimalist number of threads and system objects to reduce accidental RTOS overhead.

Links:
• PX5 RTOS: https://px5rtos.com/
• Bill Lamie on LinkedIn: https://www.linkedin.com/in/bill-lamie-1619a24
• 2026 RTOS Performance Report: https://www.beningo.com/rtos-performance-report/
• Eclipse ThreadX: https://threadx.io/
• Why RTOS Functional Safety Certification Matters: https://www.beningo.com/why-rtos-functional-safety-certification-matters/
• RTOS Best Practices Course: https://www.beningo.com/courses/rtos-best-practices/
Prev 1 of 5 Next
Prev 1 of 5 Next