4 ms·
C/C++ facts we learned before going ahead with CLion
- falcolas 11y agoI hadn't expected the dominance of Java in the "programmers per language"; I should have, but didn't. I also hadn't expected the disparity between Python and Ruby numbers. I'm looking forward to digging into this further; it's a really useful and interesting dataset!
- gilgoomesh 11y ago> useful and interesting dataset I think the usefulness is limited by the fact that they haven't explained how they gathered this data. At first glance, the data looks to have some specific quirks (44% Linux users, overwhelmingly in the Finance industry) – you'd have to wonder it that's due to how the survey was conducted.
- anastasiak2512 11y agoThere are a couple of resources listed in the end. So we've gathered the information from reddit surveys, stackoverflow, our own surveys (with more than 5000 respondents), job ads, various language popularity indexes like Tiobe.
- golergka 11y agoC11 is C++ version? "Embedded" is C++ version?
- bodyfour 11y agohttps://en.wikipedia.org/wiki/Embedded_C%2B%2B https://en.wikipedia.org/wiki/Embedded_C%2B%2B
- golergka 11y agoHuh. Thanks!
- jasode 11y agoC11 is not C++. That's not what JetBrains is saying, so I'm not sure what the nitpick is about. The webpage is clearly about C/C++ ... that's the title of page ... in other words... "C Language" and "C++ Language". Both languages were included in their surveys and market research.
- deleted 11y ago[deleted]
- jordigh 11y agoI really wish people would stop lumping C and C++ together. They are two separate language that have a common lineage, but neither is a subset of the other. The people who write C well do not generally write C++ well, and vice versa. It's a pretty different development community between the two languages. Bjarne Stroustrup, also thinks that treating the two language as if they were one is kind of silly. Saying "C/C++" is like saying "ML/Haskell".
- danieldk 11y agoThey are separate languages, but it is definitely not like saying ML/Haskell. Most C code can be converted in C++ without too much work. In fact, that is what GCC did: https://lwn.net/Articles/542457/ https://lwn.net/Articles/542457/ You cannot easily do that with a multi-million SLOC ML project.
- golergka 11y ago> Most C code can be converted in C++ That is bad, and is ripe to create a lot of errors. C programmer who tries to write C code in C++ has the worst problem ever, IMO: he doesn't know that he's wrong. Everything compiles, everything works, and he goes home happy after a productive day of laying mines for future maintainers.
- GFK_of_xmaspast 11y agoFor example?
- golergka 11y agoAlso, if 39% of all developers work on Windows, and 36% of windows developers work on Visual C++ compiler (sic!), it means that 14% of all developers use Visual C++ compiler. This is higher than 12% of "other" compilers overall, but, paradoxically, Visual C++ is supposedly somewhere inside that category. How does that work?
- ihnorton 11y agoListing GCC usage essentially at parity with Visual C++ on Windows (34% vs 36%) is also ridiculous.
- anastasiak2512 11y agoIf it's a cross-platform projects then no wonder. Also we know quite a lot of cases when developers are working on Windows and using VS, but compile for Linux and use GCC for sure.
- nextw33k 11y agoI know the Pidgin project used to build their windows version on Linux using GCC and setting the make target. You get a constantly up to date compiler (because of the system package management) and you don't need a MS license for your buildbot. It's a win win.
- lambda 11y agoMost likely because their "C++ developers by platform" statistic does not include an "other" category, while there are actually developers working on platforms than Windows, OS X, or Linux (such as Solaris, BSD, etc). Since they didn't include an "other" category but the numbers add up to 100%, they probably just left out people who didn't respond to that question; thus in fact, in their sample, the number of Windows developers is probably less than 36%. Another thing to note is the sources of information used for these statistics, including their own user surveys. These aren't necessarily accurate for the industry as a whole, but rather represent a particular sample, which happens to include their own existing users, people on Reddit, people sharing code on GitHub, etc.
- 11y ago
- fsloth 11y agoI was surprised of the amount of Linux devs using C++ compared to the number of Windows devs (given the desktop marketshare). Also the fact that finance was leading sector using C++ - and by such a high margin - was unexpected to me.
- anastasiak2512 11y agoWe should say that these data found out to be very accurate if to look at our C++ tools users platform and areas distribution. It matches for 100%
- paulhodge 11y agoI'm guessing that it's the finance industry itself which accounts for a high Linux usage, since they mostly need C++ for server-side use. Another surprising number was that Windows users use GCC almost as often as Visual Studio. GCC on Windows is kind of a PITA, and the VS toolchain is really pretty good. Maybe people go with GCC because they need proper C99/C11 support.
- digital-rubber 11y ago"Take a look at the infographic that sums up the results of our research" Or research that you found that others have concluded?
- lmedinas 11y agoTo be honest i'm surprised with the adoption of C++11, i know the toolchain supports C++11 since some time but still i can imagine there's lots of legacy code using C++03 or older.
- xyzzyz 11y agoC++11 compiler will compile C++03 code just fine, AFAIK.
- plorkyeran 11y agoThere were a handful of breaking changes in C++11, but nothing that takes any meaningful amount of time to resolve. IME the only source of porting pain is libraries which conditionally use C++11 features where the C++03 and C++11 versions aren't semantically equivalent.
- Arzh 11y agoI really doubt #10, there is no way that they number of people using gcc and the number of people using VSC++ are even close. The only time I've seen someone use gcc on windows is to test some cross compiler errors.
- noselasd 11y agoIt does seem odd. Then again, don't underestimate the amount of people developing for embedded devices on windows - which is often done with a gcc toolchain supplied by the chip or rtos vendor.
- sauere 11y agoSemi-OT: i would love to see a Go IDE from Jetbrains