Wednesday, January 16, 2019

C vs C++ The Illuminati doesn't run the world. C programmers do.

The Illuminati doesn't run the world. C programmers do.
Guns dont kill people... (Postal2 repl.)

~C90, ~C99:

http://david.tribble.com/text/cdiffs.htm#C++-vs-C

https://www.geeksforgeeks.org/write-c-program-wont-compiler-c/

http://www.compilers.de/vbcc.html

http://www.softintegration.com/

https://sites.google.com/site/lccretargetablecompiler/

https://bellard.org/tcc/

http://www.smorgasbordet.com/pellesc/



Posebna kategorija C kompajlera koji je nastao u kuhinji http://cs.illinois.edu/ Illinois University USA:


Clang is an "LLVM native" C/C++/Objective-C compiler, which aims to deliver amazingly fast compiles (e.g. about 3x faster than GCC when compiling Objective-C code in a debug configuration), extremely useful error and warning messages and to provide a platform for building great source level tools. The Clang Static Analyzer is a tool that automatically finds bugs in your code, and is a great example of the sort of tool that can be built using the Clang frontend as a library to parse C/C++ code.



Kada se instalira zauzima oko 866 MB (908,722,176 bytes), odnosno 234 Files, 22 Folders, što je mnogo manje od Jave koja ima oko ~600.000 fajlova.

Clang llvm iz Illinois Univerziteta je 3 puta brži od GCC-a i prilično upotrebljiv, čak i u modernim uslovima.

Ako se poredi sa TCC koji zauzima oko 1MB instaliran, to je sasvim ok.

Ako nekome trebaju potpuno funkcionalni primeri za TCC javite se.

Nije potrebno da podsećam da je većina kernela skoro svih operativnih sistema nastala u C programskom jeziku, kao i neki interpreteri poput PHP, Python i sličnih. Namerno govorim C, jer on nije isto što i C++, a nije isto ni što je C#.


On May 16, the Illinois CS Alumni Network (Bay Area) hosted its first event: an informal talk and Q&A with fellow alumnus Chris Lattner (MS CS ’02, PhD ’05), formerly a Senior Director at Apple, and currently a Director with Google Brain. Lattner is best known for his work as a primary author on the LLVM and Clang compilers, and the programming language Swift. He recounted many stories along his life journey thus far, and shared personal and professional insights on lessons learned. In addition, CS alumni had the opportunity to network before and after the informal program.

Chris Lattner, a fellow UIUC alum is the creator of LLVM and Swift (!!), former Senior Director at Apple and current Director at Google Brain. Chris’s PhD advisor and interim CS department head Vikram Adve will join us to open things up. - Alumni Network...


VS

C++:



Naučite sve o:

C#.net, ASP, IIS, Delphi, Lazarus, PHP, MySQL, Apache, Xamarine,Python, HTML5, CSS3, JavaScript, Java, Ajax, jQuery

iz prve ruke !

No comments:

Post a Comment

Коментар: