In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you an example analysis of the different performance of C++ compilers. The article is rich in content and analyzes and describes it from a professional point of view. I hope you can get something after reading this article.
I am mainly engaged in programming under windows, so I usually compile with vc. After all, it is the dominant product of today's software, so there is no need to ask about performance and functions. It's just that the compilation speed is a little slow. So I have a lccC/C++ compiler when I write Mini Program. Performance is also good, and the compilation speed is extremely fast.
Also, I think vc may not be a good compiler for beginners, because mfc encapsulates all program execution mechanisms in its classes. Beginners may not know why when they see the code. But lcc is good and suitable for beginners. It is a standard sdkC/C++ compiler. The running mechanism and message handling mechanism of the program are written very clearly.
I mainly use these two kinds of Crample + compilers, and the other ones are rarely used, so I dare not comment on them. Please comment.
GCC family has Cygwin Mingw32 DJGPP Dev-C++ (Mingw32) and authentic GNU GCC 2.95.5 / 3.0.0.4 MS family has MSC 5.0,6.0,7.0 MSQC 1.0,2.5 MSVC 1.0,4.2,6.0,7.0 Borland family has TC 1.0,2.0,2.01,3.0 BC 3.0,3.1,4.0,4.5,5.0, 5.02 BCB 3.0,5.0,6.0 other Intel C CC386 Pacific + 11.0c, 11.0c VectorC 1.3.3 IBM VisualAge for C++ DigitalMars CC386 Pacific + 4.03f for RedHat 7.2Lcc4.1 LCC-WIN32 2001-09-25th 2002-04-28 Edition Small C CC386 Pacific C also has a C interpreter Quincy Eic CINT
I have used most of the above-mentioned Cmax codes + compiler / interpreter. VC7.0 Cygwin Mingw32 VectorC and LCC-WIN32 are now regularly used in the five C _ CumberPlus compilers. GNU GCC is fundamental in the GCC family, from which all other versions of the CAccord Clipper + compiler are derived. Among them, Cygwin and Mingw32 are both Cmax Candle + compilers under WIN32 platform, and DJGPP is a 32-bit Citrus + compiler under DOS. DEV-C++, as we all know, is at best a shell of GCC, and its built-in Cpicurus + compiler is a version of Mingw32.
In these versions of GCC, Cygwin is * *, and it is more of a programming tool than a Cmax Cobb + compiler. It has not only the Cmax Cure + compiler, but also many other tools. In fact, it is an implementation of a UNIX system on the WIN32 platform. Most commonly used UNIX tools have been implemented, and even "tools" such as Apache have been integrated in recent versions.
However, Cygwin, while powerful, is not very easy to use (like UNIX, people who are familiar with UNIX can use it quickly) because too many other tools distract people. Mingw32, by contrast, is much easier to use, with only the most basic programming tools (except that it doesn't come with GDB). It's not just the CumberCandle Candle + compiler in GCC.
Among them, there are many other Cpicket + compilers, such as Jacks, compilers, Amenon, Fortran, ADA and so on. It is a collection of Cmax codes + compilers, but some of them can only be used on UNIX systems. Needless to say, everyone is familiar with the MS family's CUniverse + compilers. VC 7. 0 (VC.NET) is its product. Needless to say, everyone is familiar with the Borland family. It only recently launched BCB 6. 0.
Other C _ Intel + compilers such as: Intel C _ + you can tell at a glance that it is something that is Intel, it is fully compatible with VC6, but can only be used by hanging it under VC6. Watcom Cplink + was a member of the previous four-nation war of CAccord + Compiler, which used to be a very good thing, but the strategy is wrong, and now it has disappeared. But an OpenWatcom based on it is still fighting.
VectorC is a good thing I just discovered recently. it is a pure C + Cmax + compiler. IBM's VisualAge for C++ was originally something that IBM wanted to use to get involved in the muddy waters of Candlestick and compiler, but IBM's strategy changed and it was abandoned. Symantec C++ (it was also a member of the four Kingdoms War of DigitalMars Cpicurus + compiler), but now that Symantec is no longer doing it, its author has changed it to DigitalMars Citrus + and opened it to everyone. These are all things on the WIN32 platform.
KAI Cpicurus + is a very powerful Cmax compiler, and it is a multi-platform Cmax compiler. But now it has been acquired by INTEL and the development has been stopped. Lcc4.1 is a pure C Candlestick + compiler that is open source. But it doesn't work very well. LCC-WIN32 is a C language integrated development environment developed on the basis of LCC.
Very easy to use, and there are very detailed information, FREE! Pacific C is a pure DOS C integrated development environment, so I won't say much about it. Small C CC386 are all open source C _ compiler. They are very simple and can be applied to learn _ compiler. Quincy Eic CINT is a C interpreter, is used to let you learn the C language, of which CINT is very powerful, but also supports some C++ features.
The above is the analysis of the examples of different performance between C++ compilers shared by Xiaobian. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.