Check out Embarcadero: Welcome back! Today we are talking discussing arrays vs vectors vs STL arrays! Read the blog: …



  1. The largest concentration of wrongness in the whole video:

    "Usually, problems with your application's speed are not going to come from what data type you used"

    Outdated "lessons" like this take YEARS to unlearn and cause untold amounts of ruin. This was forgivable in 1990's compsci textbooks, but not anymore.

    Meanwhile in reality:

  2. You can get the size of a C-style array using std::size. It has the same limitations as sizeof but it's easier and safer to use because it will fail to compile rather than give you the wrong result if you accidentally use it on a pointer.

Leave A Reply

Please enter your comment!
Please enter your name here