342
submitted 1 year ago* (last edited 1 year ago) by raubarno@lemmy.ml to c/programmerhumor@lemmy.ml

Used all of these three. I don't want to even look at MS Visual C/C++ ecosystem.

all 27 comments
sorted by: hot top controversial new old
[-] killeronthecorner@lemmy.world 78 points 1 year ago

Why are clang and gcc the wrong way around?

[-] AapoL@sopuli.xyz 54 points 1 year ago

I'm a gcc user partly because of the optimization. I mean it's a pretty small difference. But still for scientific stuff gcc is slightly better I think. There's not much difference though and it basically comes to personal preference.

[-] killeronthecorner@lemmy.world 45 points 1 year ago

I am in full agreement. My comment was purely for spiciness. How dare you respond with rational and agreeable points. Good day sir!

[-] AVincentInSpace@pawb.social 4 points 1 year ago

every day i become less and less sure that i actually left reddit

[-] killeronthecorner@lemmy.world 4 points 1 year ago

What if Reddit was just the friends we made along the way?

[-] kale@lemmy.zip 3 points 1 year ago

I haven't dealt with HPC in a while, but Intel C compiler against MKL libraries were fastest CPU, and Nvidia CUDA was slightly easier to develop than OpenCL for other cards. I'm not sure if the situation's changed.

For my current applications, I use NumPy compiled against Intel MKV installed as a binary. It works great.

[-] AapoL@sopuli.xyz 2 points 1 year ago

For not that performance intensive stuff I would use clang though.

[-] Treeniks@lemmy.ml 44 points 1 year ago

Actually when it comes to C++ 23 library features, MSVC is ahead of both. In fact, as far as I can tell, MSVC is the only compiler that fully supports all C++ 20 core language features at the moment. So credit where credit is due, MSVC has gotten way way better the past few years. Visual Studio is still awful, but the compiler has become quite competent.

[-] slacktoid@lemmy.ml 8 points 1 year ago

Its part of the EEE plan. They always have to be that.

[-] Vilian@lemmy.ca 18 points 1 year ago

they can't compete with clang and gcc anymore, not with proprietary compilers, there is a fuck tons of companies using gcc and clang, and investing in thoses, microsoft can force it's users, but can't with apple and google etc

[-] JGrffn@lemmy.ml 29 points 1 year ago

I haven't touched compilers in a while, but I was a dirty little MS pig boy back in college. Qt with MSVC just made sense for me, with the single exception of non standard byte lengths for longs (almost cost me a class due to not using std uints, totally my bad but you don't really expect compilers to understand basic data types differently).

The true shitfuckassface experience for me was ICC. Stupid little pig boy decided he wanted his Qt working with ICC, due to all dem optimizations for Intel CPUs. After hours of debugging nonsense errors and janking my way through Qt code which was way above my head, I finally got a Qt build, only to have ICC find thousands of completely removed errors in a project where no other compiler would find errors.

Yeah that was the day I stopped caring for C++, stopped licking intel's ass, and started getting ever so slightly radicalized due to the lies of the republic.

[-] dzervas@lemmy.world 28 points 1 year ago

I’m usually on the flip side of C/C++ compilers: reversing

I tell you: MSVC is batshit crazy

[-] cactusupyourbutt@lemmy.world 6 points 1 year ago

its not that hard, its just CVSM

[-] octesian@lemm.ee 21 points 1 year ago

Everything Microsoft creates is so hard to automate.

[-] clearleaf@lemmy.world 21 points 1 year ago

The only way I can ever get stuff to compile on windows is MSVC but I don't like having to install the entire .net cinematic universe. It's no android but christ on a cracker man.

[-] rockSlayer@lemmy.world 8 points 1 year ago

No love for tcc? Smh my head

[-] fishsayhelo@lemmy.ml 3 points 1 year ago

avg python fan vs avg tcc -run enjoyer

[-] bisserkr@lemmy.world 5 points 1 year ago

Why is it that whenever there's a compiler problem at work, it's always gcc and clang, and not the other way around.

[-] flying_gel@lemmy.world 3 points 1 year ago

I find gcc and clang being pickier, often due to not having non-standard extensions (I'm looking at you passing rvalue non-const ref parameter)

this post was submitted on 11 Oct 2023
342 points (92.3% liked)

Programmer Humor

32483 readers
212 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS