legends2k / spirit-of-cpp

Presentation for the non-C++ programmer to build a healthy C++ mental model

Home Page:https://legends2k.github.io/spirit-of-cpp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slide on Zero Cost Abstraction confusing

legends2k opened this issue · comments

This slide seems like it's about simd and gpus, when it's really about abstractions (eg. classes) not introducing runtime overhead.

The intent is to show that when other languages hide basic machine, C++ allows programming dedicated hardware too i.e. it's both zero cost abstraction and close to the metal. But it seems to be not very clear.

Originally reported in Reddit.