[haiku-development] Re: LLVM status

  • From: André Braga <meianoite@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Thu, 12 Nov 2009 13:00:59 -0200

Em 12/11/2009, às 11:08, Michael Crawford <mdcrawford@xxxxxxxxx> escreveu:

Do I understand correctly that LLVM can only be used on C and not on C++?

NO. LLVM is a language-agnostic framework for building compilers. There exists a LLVM-based compiler whose frontend was taken from GCC', and there's also a whole new compiler with its own frontend called "clang" that is developed as a subproject of LLVM. The later doesn't have a complete C++ frontend yet, but it's in progress. The former handles everything GCC does.

It's not that there's any inherent reason why it can't be, other than
that the necessary work hasn't been completed yet.  At least that's
what I've heard.

True.

If that's the case, could someone estimate the relative abundance of C
vs. C++ code in the whole system?

Unscientifically speaking, lotsa more C++.


Cheers,
A.

Other related posts: