Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2020-05-13 00:00:00Z and 2020-05-14 00:00:00Z
All abstractions have cost, some at compile time, some at runtime, some in human time. C++ completely ignored the compile time until C++20 where modules are coming to rescue us from the dreaded 15 minute compile of a single TU
18:37
It's usually the human time cost that people forget. Coming up with these fancy abstractions takes valuable time and fully realizing it's consequences also takes the reviewers time. So you need to be careful when abstracting something away
18:40
Rust macros are indeed some of the most powerful I've tried, nim also has great macros
I didn't think global dynamic illumination would be possible for quite a while
19:02
or cinematic quality assets being ingame, nanite seems to do billions of tris with ease (I'm guessing some dynamic generation of optimized meshes is going on here)
19:03
(e.g. if you are too far, some of the tris would contribute less then a pixels, thus can get optimized out, neighbouring tris with very similar normal vectors wouldn't affect lighting that much so can be optimized out)
"Through a triangular perspective, we have increased the number of triangles triangularly. In other words, there a billions of billions of triangles in this triangular space.” -Neil Degrase Tyson
Well whenever I do a feature for any project, I like to first think about whether I've seen it somewhere else
20:08
These huge codebases are usually a goldmine for stuff like that
20:09
It never made it's way into ddnet but I took a look at ue4's editor and how it handled editing multiple objects together, e.g. intersecting a list of props
20:12
We really should get something like clang-format for teeworlds
20:13
Does anyone remember what we were missing in clang-format to get it to do teeworlds format?
We should discuss if these rules are good. The ones i added i think are the best and match the current style. (allman)
I didn't add any script, but it would be cool if bors can format after...
20:14
" guess this will make cherry-picking from teeworlds and to ddnet7 harder, so let's not add a .clang-format file for now."