A curated list of data oriented design resources. Contribute to dbartolini/data-oriented-design development by creating an account on GitHub.
ziglang.org - get the latest breaking news, showbiz & celebrity photos, sport news & rumours, viral videos and top stories from ziglang.org Daily Mail and Mail on Sunday newspapers.
0 9 0 Release Notes ⚡ The Zig Programming Language
ziglang.org - get the latest breaking news, showbiz & celebrity photos, sport news & rumours, viral videos and top stories from ziglang.org Daily Mail and Mail on Sunday newspapers.
Modern C for C++ Peeps
Sep 27, 2019
(update 28-Sep-2019: some fixes and error corrections)
When discussing C with C++ programmers I often notice a somewhat outdated
view of C, usually a familiarity with a C dialect that lies somewhere between
C89 and C99, because that’s essentially the “subset of C that’s supported by
C++”.
I can’t blame them though because when I started writing C code again I had
a similar outdated view of the language.
Also to be clear, the ‘Modern C’ I’m talking about here is not modern at all,
but already two decades old. I’ll focus on the subset of C99 which is
Dark
Created: 2021-04-01
Reading time: ~16 minutes
A lot of programmers believe that compilers are magic black boxes in which you put
your messy code in and get a nice optimized binary out. The hallway philosophers
will often start a debate on which language features or compiler flags to use
in order to capture the full power of the compiler’s magic.
If you have ever seen the GCC codebase, you would really believe it must be doing
some magical optimizations coming from another planet.
Nevertheless, if you analyze the compiler’s output you will found out that
the compilers are not really that great at optimizing your code. Not because