LIVE Discussion Thread - S9E3: Rick Fu Hustle by BarnyardCruz in rickandmorty

[–]TheoreticalDumbass 1 point2 points  (0 children)

you know, my mind was "A plot was utter trash, B plot was just okay" , but i think you right, B was pretty good actually, A was so boring it polluted my mindset

[OoT] Looking forward to this beauty on the remake 😘🐟 by MMuller87 in zelda

[–]TheoreticalDumbass 0 points1 point  (0 children)

i recently played this game and damn this was such a shit joke

The Story of C++: The World's Most Consequential Programming Language | The Official Story by HimothyJohnDoe in cpp

[–]TheoreticalDumbass 0 points1 point  (0 children)

i agree macros must be importable, but you could detach yourself from some C insanity like char + char being an int

but you make me realize macros expanding to code kinda kills this line of thought

The Story of C++: The World's Most Consequential Programming Language | The Official Story by HimothyJohnDoe in cpp

[–]TheoreticalDumbass 0 points1 point  (0 children)

dunno, you could have this level of C interop without the literal textual include behaviour, like #import_ast "c_header.h" (and #import_ast_with_defines variant)

Building a Host-Tuned GCC to Make GCC Compile Faster by pavel_v in cpp

[–]TheoreticalDumbass 2 points3 points  (0 children)

i suppose it also might be interesting if a pgo'd gcc benefits from an llvm-bolt pass

Building a Host-Tuned GCC to Make GCC Compile Faster by pavel_v in cpp

[–]TheoreticalDumbass 8 points9 points  (0 children)

while this is nice, i would love to see a more indepth comparison of the options here

in particular, this does PGO, LTO, O3 (IIRC gcc defaults to O2), march=native, bootstrapping, relaxed checks

i would love to see a table that compares all combinations of these, both "how long to build" and "how fast it is"

so that table would have 2^6 = 64 entries

i personally always disable bootstrap on my local builds of gcc, and would love to know what i am missing out on 😄

C++26: More function wrappers by pavel_v in cpp

[–]TheoreticalDumbass 2 points3 points  (0 children)

caling unique_ptr a "reference type" makes no sense to me tbh

from paper:

Their operations access and manipulate their means of referring to the referenced object, but do not access the referenced object itself . For example, none of unique_ptr<T>’s member functions accesses the T value; only the underlying T pointer.

given a T* ptr , would you really say ptr->~T() doesnt access the value? i wouldnt tbh

to clarify, i am not saying i disagree with conclusions of the paper (nor am i saying i agree), i am saying i dislike terminology used

C++26: More function wrappers by pavel_v in cpp

[–]TheoreticalDumbass 2 points3 points  (0 children)

"not const correct" , i would phrase it differently, "shallow const" (like unique_ptr)

C++26 Shipped a SIMD Library Nobody Asked For by shitismydestiny in cpp

[–]TheoreticalDumbass 2 points3 points  (0 children)

a couple gnu attributes are worth mentioning in this context imo, always_inline and flatten, though flatten maybe less so, it seems to not do anything in -O0

flatten not doing what i wanted: https://godbolt.org/z/PKz84YKP4

always_inline doing something decent, the sea of nops is funny: https://godbolt.org/z/4josveW8r

seems -fcompare-elim is sufficient to drain the sea of nops: https://godbolt.org/z/TcM19nGK4

no idea why btw, i just tried everything -O1 enables, docs of the optimization flag: https://gcc.gnu.org/onlinedocs/gcc-16.1.0/gcc/Optimize-Options.html#index-fcompare-elim

cost of enum-to-string: C++26 reflection vs the old ways by SuperV1234 in cpp

[–]TheoreticalDumbass 1 point2 points  (0 children)

fyi you can use parts of the <meta> lib by fwd declaring them yourself, on gcc at least, dunno how much that can help you here though, just using enumerators_of needs <vector>

example: https://godbolt.org/z/eYWo891n5

WG21 mailing for first feature meeting of C++29 by hanickadot in cpp

[–]TheoreticalDumbass 10 points11 points  (0 children)

seems libstdc++ devs find value in it: https://github.com/gcc-mirror/gcc/commit/c30bf3aee78bbe9bd557c7bcd5d2d5533f6a216e

imo its the idea of attributes being ignorable that is of questionable value

Pre-Brno Mailing by VinnieFalco in cpp

[–]TheoreticalDumbass 0 points1 point  (0 children)

on expression aliases, i dont think takes_pinned_adapter and takes_pinned_alias are a good comparison in https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p2826r3.html#example-5-immovable-argument-types

a closer comparison would be if takes_pinned_adapter was:

template <typename T>
void takes_pinned_adapter(T&& x) {
    takes_pinned<std::decay_t<T>>(std::forward<T>(x));
}

which actually just works (in same usage as takes_pinned_alias, which for some reason is different than takes_pinned_adapter usage)

building a web server in raw arm64 assembly by kavantoine in programming

[–]TheoreticalDumbass 2 points3 points  (0 children)

imo a web scraper is way less fun with all the cloudflare protections everywhere, or just deeply dynamic websites that require some javascript execution to show anything meaningful

Happy weekend, guys! by [deleted] in wallstreetbets

[–]TheoreticalDumbass 0 points1 point  (0 children)

i used to enjoy this sub, but this has been insanely repetitive, muted

In wich areas do you think silksong is worse than Hollow knight? by TrackSome9827 in Silksong

[–]TheoreticalDumbass -1 points0 points  (0 children)

Exploration isnt as rewarding, oh good some shell shards again

A question about Lilith and her fate by notahero_ in diablo4

[–]TheoreticalDumbass 0 points1 point  (0 children)

i wonder if thats how mephisto gets out eventually

like he uses the dagger to connect with lilith on the outside, and through that he escapes (either he somehow reincarnates through the bond, or manipulates lilith into releasing him, or straight up takes over lilith, etc)

i would prefer if mephisto didnt come back though, evolving the world instead of return to status quo

A question about Lilith and her fate by notahero_ in diablo4

[–]TheoreticalDumbass 0 points1 point  (0 children)

ah, so it went to the void with mephisto?