~/talk

Development Mistakes And How To Prevent Them

Talkat emBO++ 2019 · 2019-03-14..03-17· [software-architecture, developer-experience]
links:none on file
slides:none on file

Shows how raw C handles become safe by using unique_ptr with custom deleter so moves are explicit and double-free bugs disappear, demonstrates replacing small abstract base classes with lambda callbacks instead of inheritance and std::function to avoid boilerplate, and argues that a single-threaded, event-driven model with Boost.Asio io_service event loop and timers scales far better than a thread-per-request approach (thousands of threads) — examples and small demos compile and behave as expected.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 4:54Traditional C-style handles in C++
  3. 11:01Using smart pointers for safety
  4. 13:11Wrapping handles with unique pointers
  5. 22:16Avoiding abstract base classes
  6. 26:15Lambda-based device control
  7. 35:57Multithreading pitfalls
  8. 41:27Single-threaded event loops
  9. 49:08Asio for embedded systems
  10. 53:55Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.