General > General Technical Chat
How many people code in C these days, and if so, why?
SiliconWizard:
:-DD
Nominal Animal:
Python is on-topic in the sense that the official interpreter, CPython, is written in C, and currently it is easiest to interface to Python via C.
Which is one of the use cases I've already mentioned: writing code that can be used from multiple programming languages, without risking runtime library incompatibilities (as may happen with e.g. C++, if your code uses C++ version X and some other code used in the same process is compiled against C++ version Y).
Karel:
One could say that, without C, other languages can't exist...
paulca:
--- Quote from: Karel on May 17, 2020, 07:01:35 am ---One could say that, without C, other languages can't exist...
--- End quote ---
It's funny. Most of the internet runs on C. Unix/Linux etc is still the dominate OS.
When people write business applications in Java/Python/<insert exotic language the kids want to use>. The C folks who write things like Docker, ngix, apache httpd, postfix, sendmail and the Linux OS smile and say, "Aww, bless! Look; they use milliseconds to time things. How quaint."
paulca:
--- Quote from: bd139 on May 16, 2020, 02:37:14 pm ---Oh it's a piece of piss to install python 3 on MacOS. Take the mac and chuck it out the window or install windows on it. ----- Python packaging on linux is crap too. I spent at least 5 days this year unfucking centos python packages where someone has installed something with pip on the target node.
--- End quote ---
Mac-what? What's that?
I have never installed Python on windows in my life. I'm too scared after installing perl once on windows. EDIT: I tell a lie. I do have PyCharm installed, so that counts I suppose.
Redhat are arseholes. Some of their install conventions are absolutely bonkers. They modify Java to distribute it according to the FSH and move it all over the place leaving behind dozens of dynamic symlinks to make it look use-able to Java programs. It's moderately annoying when you want to install a version you can get an rpm for, it's massively annoying when you want to install a version you can't get an rpm for. Just unzip the damn tarball, update your JAVA_HOME and you are DONE! Stop the madness! /opt/java/jdk1_8 -> /opt/java/version/jdk_1.8.0_234 if you must.
Python on gentoo was better, but there was always the hassle when an upgrade told you that you needed to update every Python module and reinstall everything that uses said modules. The page detailing this is an hours read on their wiki. :( Gentoo does have it's "Slotting" mechanism and as long as you are paying attention and don't leave upgrading too long, it's fairly usable to have multiple concurrent versions, even minor versions.
On shells, I can't deal with CMD it's just rubbish. I can't deal with PowerShell cause it's just a .Net console running on CMD. If you have admin switch on the Linux developer layer in Windows 10 and install whatever Linux you want. Or use cygwin or at very least git bash. Never stoop low enough to be forced to use CMD, in any disguise.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version