3 ms·
The C programming language, on the contrary, is interesting if you have experience. I always create new things that have different uniquenesses. I recently crea
by FerkiHN 1y ago
The C programming language, on the contrary, is interesting if you have experience. I always create new things that have different uniquenesses. I recently created a notes program for Windows with GUI in C language, 67kb in size.
The C language offers many features that even surpass modern languages.
- scarface_74 1y agoThat’s not because of the “C language”. That’s because of the Windows API. BTW, wait until you really start digging into the Windiws API and realize that there are 8 or 9 ways to define a “string” based on which API you’re calling and you have to convert back and forth….
- FerkiHN 1y agoTotally fair point — Windows API is definitely a big part of what makes these small apps possible. But still, C gives you a kind of “raw access” to the system that higher-level languages often abstract away. That’s exactly what I enjoy: You write code — and it’s exactly what gets compiled. No magic layers. I agree that Windows API has its “quirks” (especially around strings — TCHARs, WCHARs, LPWSTRs… I’ve seen them all ), but that’s where C teaches you to be explicit and careful. So while the power partly comes from the platform (like WinAPI), I’d still say it’s C that gives you the control to use that power effectively. And hey — C might be old, but it still builds tools that last decades. That’s something I respect.
- scarface_74 1y agoC is no more a raw access to the system and the APIs than calling the APIs from Perl was back in the day using the Win32 module. I started programming in assembly in the mid 80s, C is a different level of abstraction https://jvns.ca/blog/2013/11/29/what-happens-when-you-run-a-unix-program/ https://jvns.ca/blog/2013/11/29/what-happens-when-you-run-a-...