Categories: GoogleTechnology

Google Chrome ditches Microsoft’s C++ compiler for Clang



Google Chrome replaces Microsoft’s C++ compiler with Clang

While Google is already using the Clang compiler for iOS, macOS, Linux and Android versions of Chrome, the search giant has now started developing Chrome for Windows using the Clang compiler. Previously, the Windows version of Chrome was built using the Microsoft Visual C ++ compiler.

Clang is a well-known open source compiler that is often used alongside GCC on Linux. It can be used to compile many C family programming languages, including C, C ++, Objective C, and Objective C ++. According to Google, the major advantage of Clang is that it is compatible with parts of Microsoft Visual C ++ (MSVC).

Microsoft’s Visual C++ compiler is the most widely used and best supported compiler for Windows and is most compatible with debugging and diagnostic tools for the operating system. However, back in 2013, Google decided to use Clang on all platforms to have the same compiler error working across platforms – while accessing Clang’s diagnostic tools like ASan and UBSan. But then, it did not have any real Windows support.



That’s when Google decided to rectify the problem on its own. The company assembled their own team of developers and assigned them the task of improving Clang and LLVM compatibility. Although an early prototype of Clang-compiled Chrome browser for Windows first surfaced in 2015, Google tested it first in its Canary development channel, then the Development and Beta channels. With Chrome version 64, the stable browser channel is making the switch to using Clang.

It is important to note that Clang is not a complete replacement for the entire Visual Studio toolset. Currently, Google still uses Microsoft linker (the segment of the toolchain that mixes the compiled source code accurate into a single executable or DLL) and Microsoft’s C++ platform Library. However, it has plans to move over to Clang’s LLVM linker as soon as it can.

You can read the full technical details on the LLVM blog.

Source: Ars Technica

Kavita Iyer

An individual, optimist, homemaker, foodie, a die hard cricket fan and most importantly one who believes in Being Human

Recent Posts

  • Laws and Legalities
  • News

Cloudflare requested to expose Showbox, YTS and Popcorn Time site operators

Movie studios obtain subpoena that orders Cloudflare to expose piracy site operators including Showbox, YTS and Popcorn Time site A group…

13 hours ago
  • Laws and Legalities
  • Security news

Mirai botnet masterminds helping FBI to avoid jail time

Mirai botnet creators avoid prison time by assisting FBI as part of their sentencing Remember the three young hackers who…

13 hours ago
  • leak
  • News

Winamp’s new beta version 5.8 leaks online

Winamp 5.8 beta leak surfaces on the web A beta version of the upcoming Winamp 5.8 has been leaked online…

1 day ago
  • Security news
  • Technology

Developer of Terrarium TV says he could hand over user info to authorities

Details of Terrarium TV users could be handed to authorities, developer says Terrarium TV had recently announced that it would be…

2 days ago
  • Explanatory
  • Gaming

How To Add Bots To Discord Server; Working-2018

Discord is possibly the best cross-platform voice and text chat service for gamers. Well, adding bots to discord server makes…

2 days ago
  • Apple
  • Security news

iOS web attack crashes, causes iPhones or iPads to restart

This new CSS-based web attack can crash and restart iPhones or iPads and can cause a Mac computer to freeze…

3 days ago