W
William Lamie
Software engineer
1
APPEARANCES
1
PODCASTS
012
DEC 30
JAN 6
JAN 13
JAN 20
JAN 27
FEB 3
FEB 10
FEB 17
FEB 24
MAR 3
MAR 10
MAR 17
MAR 24
MAR 31
APR 7
APR 14
APR 21
APR 28
MAY 5
MAY 12
MAY 19
MAY 26
JUN 2
JUN 9
JUN 16
JUN 23
JUN 30
JUL 7
JUL 14
JUL 21
JUL 28
AUG 4
AUG 11
AUG 18
AUG 25
SEP 1
SEP 8
SEP 15
SEP 22
SEP 29
OCT 6
OCT 13
OCT 20
OCT 27
NOV 3
NOV 10
NOV 17
NOV 24
DEC 1
DEC 8
DEC 15
DEC 22
DEC 29
JAN 5
JAN 12
JAN 19
JAN 26
FEB 2
FEB 9
FEB 16
FEB 23
MAR 2
MAR 9
MAR 16
MAR 23
MAR 30
APR 6
APR 13
APR 20
APR 27
MAY 4
MAY 11
MAY 18
MAY 25
JUN 1
JUN 8
JUN 15
JUN 22
JUN 29
JUL 6
JUL 13
JUL 20
JUL 27
AUG 3
AUG 10
AUG 17
AUG 24
AUG 31
SEP 7
SEP 14
SEP 21
SEP 28
OCT 5
OCT 12
OCT 19
OCT 26
NOV 2
NOV 9
NOV 16
Nov 19, 2026
#029 - How to Write Fast RTOS Code
7:27
14:55

Jacob BeningoHOST
Some other thoughts on things that you've learned that developers, even teams working with real-time operating systems might want to keep in mind?
B
7:36Bill LamieGUEST
Yeah, the, you know, so, so keep it simple, but, you know, in practical terms, you know, there's other things too, like function calls kill.
B
7:45Bill LamieGUEST
So, you know, if you have, you know, the more nested function calls you have, you know, each one of those eats up tons of performance, you know, pushing, pushing registers on the stack, return address on the stack, doing all that stuff and then popping it back off.
B
8:03Bill LamieGUEST
So keeping your function call nesting and the number of function calls down to a minimum is good too.
B
8:12Bill LamieGUEST
On the RTOS side, we do all sorts of different things to try to improve performance.
7 MINS LATER

Jacob BeningoHOST
So while you, you know, kind of speaking about performance, you know, performance and how, you know, how developers make decisions, what are some of the, what are some of the trade-offs that you see that you have to make when you're trying to balance features versus safety, portability, performance, and those types of things with, you know, with an RTOS or even applying to an RTOS-based application?