General > General Technical Chat
How many people code in C these days, and if so, why?
chriva:
--- Quote from: olkipukki on May 13, 2020, 08:30:13 am ---
--- Quote from: engrguy42 on May 12, 2020, 08:16:47 pm ---Now honestly, I know you guys just LOVE your C and all that embedded stuff, but come on. You can't do that in C. No way. Not possible. GUI stuff? Logging to CSV file?
--- End quote ---
Why you (or somebody else) need to do this one-off stuff in C? :-//
--- Quote from: engrguy42 on May 12, 2020, 08:16:47 pm ---And to log its behavior I used my C# data acquisition app (see below). Took me, on and off, a couple days to build that app and put the finishing touches.
--- End quote ---
Also, you probably do not need spend 2 days on that app... >:D (aka Python & Co)
--- End quote ---
Python is nice for certain things but you're a special kind of stupid if you run it on embedded stuff (aka micropython).
It's like sticking a moped engine in a car and expect it to move at a reasonable speed
Nominal Animal:
--- Quote from: chriva on May 13, 2020, 08:47:54 am ---
--- Quote from: olkipukki on May 13, 2020, 08:30:13 am ---
--- Quote from: engrguy42 on May 12, 2020, 08:16:47 pm ---Now honestly, I know you guys just LOVE your C and all that embedded stuff, but come on. You can't do that in C. No way. Not possible. GUI stuff? Logging to CSV file?
--- End quote ---
Why you (or somebody else) need to do this one-off stuff in C? :-//
--- Quote from: engrguy42 on May 12, 2020, 08:16:47 pm ---And to log its behavior I used my C# data acquisition app (see below). Took me, on and off, a couple days to build that app and put the finishing touches.
--- End quote ---
Also, you probably do not need spend 2 days on that app... >:D (aka Python & Co)
--- End quote ---
Python is nice for certain things but you're a special kind of stupid if you run it on embedded stuff (aka micropython).
It's like sticking a moped engine in a car and expect it to move at a reasonable speed
--- End quote ---
You're special kind of stupid if you run C# on embedded stuff. It's like sticking a car engine on a moped and expect it to be easy and safe to ride.
chriva:
C# is like that embarrassing, drunk uncle at the family reunion that no one wants to talk to ;)
Berni:
Okay yeah i did forget about Qt.
I never used Qt and had the impression that its mostly just a multiplatform GUI library with an editor, but yeah i see it does indeed also have libraries for everything else too.
For me its mostly a case that i never got all that deep into C++ because it covers a middle ground that i rarely had the need for. For low level things i found plain C to be all i need. For small PC apps i didn't really care about memory usage or speed all that much (PCs are so ridiculously fast anyway). So i wanted to make use of the available abstraction and just ignore the hardware to make life easier in something like C#. Since i came from VB6 i was used to the VisualStudio IDE and WinForms, so it all felt familiar and it just all worked out of the box. Since all of this ran at near C++ speeds it gave me little reason to go back again.
Sure C++ makes lots of sense for big projects where you have a team working on a actual sold software product. But for the small apps that people make alone on the side, then the benefits of C++ are not that significant. Especially on a forum like the EEVblog where most people who do programming are just various kinds of engineers that happen to also write software just to get stuff done (like me) rather than programing all day as a job. This is the same reason why VisualBasic rose to such popularity 20 years ago, its a easy to use and comes in a friendly IDE that just works out of the box while requiring very little knowledge to use. Python caters to the similar crowd. Its about getting things done quickly without being a major in computer science.
Its the same reason why Windows shows up in engineering so much. Its quick and easy to just buy a piece of software, install it and move on. Going for open source solutions just adds unnecessary extra steps that the engineer doesn't have time for since he is not there to do IT stuff or software development.
Just like race cars are not for everyone. Sure they are fast and perform better than all the other cars, but not everyone knows how to properly drive one, nor do they need to because a regular passenger car does the job just fine for them.
engrguy42:
Okay, so let's get honest here... :D
I hear a lot of talk of C and embedded systems. And I originally assumed that you guys were working in some large companies that designed microcontroller systems for, say, automobiles or other real world stuff.
But I'm starting to think that this strong bias in favor of C and embedded systems is actually a bunch of hobbyists working on Arduinos, who really have no experience in developing software in other languages for real world stuff?
Just asking...
Because it's hard to understand a "holier than thou", "drunk uncle" nonsensical bias against any tool that helps you to quickly get stuff done. I mean, it the real world, it's all about the best tool to get your problem solved as quickly and efficiently as possible.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version