Guild icon
DDraceNetwork
Development / developer
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
Avatar
[quakenet] ChillerDragon BOT 2020-05-13 09:00:23Z
@NeXus didn't you know? Quantum computers have firmware written in html and php!
Avatar
Ofc, what else would you use?
Avatar
C++20 concepts and abbreviated templates are just what I was looking for
10:14
I wonder how they even made it so far without this, it's a fairly obvious thing to add
10:16
void quick_sort(RandomAccessIterator auto begin, RandomAccessIterator auto end)
10:18
Very clean error messages, very easy to understand, no need for the iterator_traits tags hacked with doubling up templates
10:19
or god forbid if constexpr(std::is_same_v...
11:37
Great talk, exactly how I approach most any alien codebase I approach nowadays
Avatar
ow to write 🍌 in javascript
Avatar
just js things
Avatar
rust macros are a world of its own
18:13
thats awesome
18:13
c++ preprocessor looks like a 5y old kid against this
Avatar
c++ has static analyzers like clang-tidy for stuff like that. it's also easy to write your own clang-tidy checks
18:18
and i think clang-format even keeps headers sorted
Avatar
yeah, but you need clang-tidy
18:19
and its not just this you can do
Avatar
also, about powerful macros in general: it has to be used carefully, otherwise it's hard to find out what your program will look like
18:20
and these kinds of macros can increase compile-time a lot
Avatar
still, they are good
18:22
@deen do you know rust btw?
Avatar
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
Avatar
well rust is still being actively developed, gcc took years to get where it is with compile times
18:44
Avatar
Has anyone seen the UE5 tech demo btw?
18:56
I don't think anything will come close to unreal for real time realistic rendering for a long time
Avatar
im already amazed by how good FF7 remake looked on the old 2016 ps4
18:59
it uses ue4
Avatar
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)
Avatar
"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
19:04
funny comment
19:04
gta 6 with this graphics
Avatar
I wonder if they'll open source ue5 too, ue4s source has been very informative to me
Avatar
@Learath2 what do you get out of these huge codebases?
Avatar
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?
Avatar
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."
Avatar
Hm, that's right, maybe we should start checking the incoming pull requests atleast
Avatar
idk if we have the tools to do that
Avatar
Github actions can handle it
Avatar
not sure
Exported 56 message(s)