←back to thread

271 points mithcs | 3 comments | | HN request time: 0.003s | source
Show context
dboon ◴[] No.45954041[source]
Nice, but if the intention is portability my experience has unfortunately been that you pretty much have to stick to C99. MSVC’s C compiler is rough, but pretty much necessary for actual cross platform. I have my own such header which has many, many things like the OP’s. As much as I would find it constantly useful, I don’t have a cleanup utility because of this.

But if you can stay out of MSVC world, awesome! You can do so much with a few preprocessor blocks in a header

replies(3): >>45954109 #>>45954162 #>>45954608 #
Maxatar ◴[] No.45954109[source]
MSVC now supports C17.
replies(2): >>45954583 #>>45954706 #
CyberDildonics ◴[] No.45954706[source]
MSVC is also made out of a dozen javascript processes which makes typing text need a beefy computer.
replies(1): >>45955448 #
electroly ◴[] No.45955448[source]
MSVC is a C++ compiler toolchain and it does not contain any JavaScript. You're thinking of VSCode, probably, but your comment was an off-topic rant either way.
replies(1): >>45960539 #
1. CyberDildonics ◴[] No.45960539[source]
Microsoft visual studio the IDE (not vs code the electron program) has lots of javascript processes running in the background doing all sorts of things.

Also my comment was a single sentence with a single fact so it can't be a rant.

replies(1): >>46047169 #
2. dboon ◴[] No.46047169[source]
MSVC is also completely different from Visual Studo. It’s OK to say you were wrong. You don’t have to be angry online. I promise!
replies(1): >>46049511 #
3. CyberDildonics ◴[] No.46049511[source]
MSVC is also completely different from Visual Studo

It can and does refer to the IDE first. I'll prove it to your by showing that it's the first result of a search.

https://duckduckgo.com/?q=MSVC&t=ffab&ia=web

https://visualstudio.microsoft.com/vs/features/cplusplus/

It’s OK to say you were wrong. You don’t have to be angry online. I promise!

Seems like projection. Since it's ok to be wrong I guess you'll reply with an apology.