Dan Saks

speaker

Dan Saks is the president of Saks & Associates, which offers training and consulting in C and C++ and their use in developing embedded systems. He has been a columnist for embedded.com online as well as numerous print publications. Dan served as secretary of the ANSI and ISO C++ Standards committees and contributed to the CERT Secure Coding Standards for C and C++.

 

Presentations

Motivated Reasoning (2015)


The projector in the theater failed just before Dan was to present his talk on "Representing Memory-Mapped Devices as Objects". While the projector was being repaired, Dan kept the audience entertained by sharing some insights into human psychology and its impact on collaborative software development.

 

Representing Memory-mapped Devices As Objects (2015)


Programmers who develop embedded systems often have to assert direct control over hardware resources such as memory-mapped i/o registers. The longstanding practice has been to use concerns over performance as an excuse for writing some pretty nasty code — heavy in macros, casts, and pointer arithmetics. Such code is often hard to get to working and hard to maintain. It does not need to be so. This talk shows you how to model memory-mapped devices as C++ objects that are more robust, maintainable, and, at times, even more efficient than they would otherwise be.

 

Sooner Rather Than Later (2015)


Much embedded software demands high standards for reliability. The most effective way to catch bugs in your programs is to not let them in there in the first place. One of the best ways to do that is to code in a style that turns potential run-time errors into compile-time or link-time errors. This talk explains how you can use the C++’s type system along with other semantic information to turn questionable constructs into code that doesn’t build.