4 ms·
> desktop applications are still 99% C/C++ In the Windows world especially that's not even slightly true.
by orf 11y ago
> desktop applications are still 99% C/C++
In the Windows world especially that's not even slightly true.
- frik 11y agoIn Windows world you are very wrong. Run "Process Explorer", Options -> Color Selection -> check ".Net Processes" (Yellow). In all consumer Windows up to Windows 7 no dotNet processes run (by default) at all. [Longhorn was meant to bring a dotNet shell (explorer, etc) but failed big time.] I have lots of common applications and all are coded in C/C++ with the exception of IDEs (VS/Eclipse/IDEA) which eat memory like no tomorrow. I couldn't care less about the brave Win8/10 world.
- Aleman360 11y ago> I couldn't care less about the brave Win8/10 world. Still supports C++ ;)
- orf 11y ago> In all consumer Windows up to Windows 7 So XP and Vista then. Most of the software that comes pre-installed on Windows machines (by the OEM) is .NET. That fact by itself means the amount of software written in .NET is far far far above 1%. > In Windows world you are very wrong. So you're saying after the shedloads of money, effort and development Microsoft has pumped into .NET it hasn't even amounted to 1% of applications running it? That's preposterous.
- frik 11y agoI almost wanted to include the exclaimer of "crap software preloaded by hardware vendors like HP, Lenovo, Dell, etc". Who (in the right mind) doesn't reinstall Windows and install only the "device drivers" but not the crap UI software that is of very little use anyways? The device driver is always in C and sometimes in C++. Nvidia/AMD/Intel drivers work fine without the crap "experience" or "control panel". And even if you install keep all the preloaded software, it's the first action to remove them from autostart, isn't it? Otherwise don't blame your hardware or Windows why your computer is that slow and takes ages to start... DotNet and Java are very big in enterprise software and server software. Java is also big in open source thanks to Apache foundation (if you need a full text search engine, Lucene is still the only feature complete in town; and all the projects based around Lucene like Hadoop, Solr, etc) There was an C++ port of Lucene (CLucene) that was a lot faster and used little memory and compatible with Lucene file format. Though no native fork of Lucene keep up with the development speed of Apache Java Lucene.
- orf 11y ago> Who (in the right mind) doesn't reinstall Windows All non-technical people, so 90% of users. I get where you're coming from (and you have valid points about speed/memory usage) but to say <1% of software on Windows is .NET is frankly wrong. Sure it's not 100% and might not even be 50%, but it's way way way above 1%.
- jimmaswell 11y agoAre there statistics on this? Most of the apps I often use that I can think of are written in C/C++, the ones in C/C++ being (at least mostly, some are partially made with other languages) Firefox, Chrome, Hexchat, Steam, KiTTY, Programmer's Notepad, Unity3D, Skype, GIMP, VLC, iTunes and surely a lot more. A few turned out to be C#/others (Visual Studio, SourceTree, Remote Desktop Connection Manager, ShareX). Maybe it's closer to 90%?
- orf 11y agoWell seeing as anything Dell (or any other large PC manufacturer) pumps out is in .NET and seeing as most users leave that crapware installed I would say they definitely do not account for 1% of programs. Most of the software you listed is pretty specialized, with the exception of a couple I don't think Joe Bloggs would have even heard of them, let alone use them.