@TheGingerBill so, if you get your parallelization at the process-level anyway, there's no point in writing a multithreaded compiler. it's just kind of a big chore for not much gain. focus that effort on optimizing your compilation pipeline itself
@TheGingerBill maybe another way to interpret my argument is shared-memory parallelism is simply not that important for compilers. a language with incremental compilation units and modularity is easy to parallelize when building even with no memory sharing whatsoever
@TheGingerBill > But actually utilizing all of your threads with little contention does.
it doesn't! you are burning the same amount (really more, although maybe not much more) CPU cycles for the same work. the only difference is more CPUs are working on it at once
@TheGingerBill it turns out with barebones incremental compilation - even most rust projects satisfy this - hardware utilization is already solved at the process level. so multithreading is not only not that important, it can be an active downside, since atomics/locks are a user time penalty
@TheGingerBill let's not get too caught up on one example, all i'm really trying to motivate is the idea that multithreading does not make your compiler more efficient, it improves hardware utilization. but that's only actually true if you weren't utilizing that hardware already
@TheGingerBill just about all serious projects have more compilation units than your computer has cores, and just about any build system will let you utilize them. so you maximize cpu utilization anyway at the process level, no threads necessary. multithreading in this scenario is just a waste
@TheGingerBill in the constructed benchmark in which i invoke the compiler once on one source, yeah zig wins. but if i use a build system that manages to compile just two files in parallel, clang now wins due to being more efficient per core
@TheGingerBill so if you are writing a fast compiler like you should, don't muck it up like zig did by obsessing about threads everywhere. if you hit a few MB/s of throughput like you ought to, you should never see a single source bottlenecking you for a noticeable amount of time anyway
@TheGingerBill like, could rustc benefit from it? yeah, crates are a huge compilation unit, and rustc is super slow. but it would be stupid to, for instance, introduce a bunch of synchronization to TinyCC - just run more processes and keep the compiler itself simpler and more efficient
@artist_sw_dev just because *you* don't see value in much of the problem solving going into code doesn't mean nobody else does. i think you're basically just telling on yourself. there are loads of artistically minded programmers out there, maybe you just aren't one of them
@artist_sw_dev this is such a stupid argument. i can't imagine how you think "using dependencies means it's not art" stands up to any scrutiny - does using procreate mean your art is no longer art? just because you didn't mix the paint yourself and put it on a physical canvas?
it's just bad capitalism. i hope people realize that they can in fact just choose not to play overwatch 2 or whatever and it's like not a big deal. make them earn us again
every big corpo guy seems to have completed an ideological shift in the last ~2 years, skipping right past "the customer is always right" straight to "you're seriously our customer? Fuck you"
@CrimsonDesert_ Why apologize? AI, in one form or another, will be in every single video game.
I don't get why devs feel the need to bend over for the few folks who can't accept the reality that AI will be in every single thing - from video games to your fridge (it already is).
Man up.