C++ Weekly - Ep 56 - Zero Cost Embedded C++ - Part 3

preview_player
Показать описание
☟☟ Awesome T-Shirts! Sponsors! Books! ☟☟

T-SHIRTS AVAILABLE!

WANT MORE JASON?

SUPPORT THE CHANNEL

GET INVOLVED

JASON'S BOOKS

► C++23 Best Practices

► C++ Best Practices

JASON'S PUZZLE BOOKS

► Object Lifetime Puzzlers Book 1

► Object Lifetime Puzzlers Book 2

► Object Lifetime Puzzlers Book 3

► Copy and Reference Puzzlers Book 1

► Copy and Reference Puzzlers Book 2

► Copy and Reference Puzzlers Book 3

► OpCode Puzzlers Book 1


RECOMMENDED BOOKS

AWESOME PROJECTS

O'Reilly VIDEOS

Рекомендации по теме
Комментарии
Автор

Jason, please continue the embedded series.

juergenm
Автор

Really enjoyed these hardware focused videos, thank you

DrGreenGiant
Автор

I suspect, will verify later, that if you used a static const array and defined the ISR's, the if could be removed. The compile time code is where c++ really shines in embedded as it gets rid of the macro's and untyped stuff. Like a memory<location...> class like in your c64 Cpp demo is nice. I wish there was a non Imp defined way to do the int to pointer conversion.
Most ISR's will often only update some state values or state function pointer and wake the main loop to run so it may not make sense to call functions as that can run into trouble with multiple ISR calls and dependencies.

beachedwhale
Автор

I think you could have assembly-stepped into the instructions in the lambda at the end of the video

johaneriksson
Автор

This is great, looking forward to see how far this is going.

paulm.bendixen
Автор

Hi Jason, do you do group training ("Modern Embedded C++") in the UK ?

saharsbishnoi
Автор

Why are you not using functional header?

srinath
Автор

This is bad practice/example. ISRs are supposed to be very quick, this adds a little extra overhead than needed. I get the point of the example. The hardware may already support this using multivector interrupt vectors.

davidthacher