









SCREAMING_SNAKE_CASE mirrors preprocessor constants (making them easier to upgrade?), gs_CamelCaseWithPrefix makes it easier to distinguish from preprocessor macros (but makes it unclear that we're talking about constants).


Hacker News • 2022-07-05 21:08:28Z 



















'static meaning two different things in two contexts

my_bool defined in src/engine/server/databases/mysql.cpp conflicts with typedef from mysql. mysql is 5.7.
```
/usr/local/libexec/ccache/c++ -DCONF_INFORM_UPDATE -DCONF_MYSQL -DCONF_OPENSSL -DCONF_UPNP -DCONF_VIDEORECORDER -DGAME_RELEASE_VERSION="16.2" -DGLEW_STATIC -D_FORTIFY_SOURCE=2 -I/work/usr/ports/games/DDNet/work/.build/src -I/work/usr/ports/games/DDNet/work/DDNet-16.2/src -isystem /usr/local/include -isystem /usr/local/include/miniupnpc -isystem /usr/local/include/mysql -O2 -pi...
T.
















































0bfb854 Rename TILE_CHECKPOINT_XXX to TILE_TIME_CHECKPOINT_XXX - C0D3D3V
6869530 Rename IsTCheckpoint to IsTeleCheckpoint and IsXCheckpoint to IsFTimeCheckpoint. And reduce code duplication - C0D3D3V
a961151 Show also +0.00 split, and checkpoints close to start (<1sec) - C0D3D3V
498c2db Renamed some time checkpoint related variables. - C0D3D3V
ae80287 Update checkpoint diff display to use time format with hours:minutes:centisecs - C0D3D3V
e6f1ef9 send correct time diff on finish - C0D3D3V
a591fea Merge #5550 - bors[bot]


























so its harder to fake , epic server laggs or world records or something











1





















$ touch a.rs
$ rustc a.rs --crate-type staticlib -C opt-level=z
$ ls -lh liba.a
-rw-r--r-- 1 19M Jul 6 21:26 liba.a








































crate-type = ["cdylib"] and build-std, I get < 32 KiB .sos





1