Re:How to get started with the LLVM C API
by alexchamberlain on Wednesday January 21, 2015 @04:15PM
(#8925832)
C++ is an awesome languages for writing algorithms and low level memory manipulation, such as network protocols. The big problem is the ABI sucks, although on Linux the story is better than elsewhere. Even on Linux mangling is just confusing.
[ Parent
| on HN ]
Re:How to get started with the LLVM C API
by faragon on Wednesday January 21, 2015 @04:48PM
(#8925994)
"The big problem is the ABI sucks"
The problem is that there is no standard ABI call for C++, as implentation is vendor-specific (it may change even for same vendor between different compiler versions (!)). It would be hard to "fix" that, e.g. virtual function tables, exceptions, etc. For standard bindings, C is the only sane option.