News for hackers. Stuff that matters.
Re:Ooc – a small programming language that compiles to C99 by camgunz on Saturday January 09, 2016 @12:59AM (#10870276)
I've heard portability arguments; C is far more portable than LLVM. But I'm guessing more people know C than LLVM IR or 4 assembly languages, so C is an easier target.

EDIT: oh, also wildly easy interoperability with existing C/C++ code (so long as the C++ code provides a C interface).

Re:Ooc – a small programming language that compiles to C99 by dom96 on Saturday January 09, 2016 @05:17AM (#10870741)
Compiling down to C also makes wrapping C++ libraries much easier. Because when you compile down to C, it's not that much of a stretch to also allow compilation to C++. You can then make wrapping C++ code much easier in the language.

Nim is one language that I know of which takes advantage of that. Here is one example of a pretty large wrapper around a C++ library https://github.com/3dicc/Urhonimo, and here is the documentation for this feature http://nim-lang.org/docs/manual.html#implementation-specific...