Mark Shuttleworth on the future of Ubuntu
Posted Jun 8, 2008 16:03 UTC (Sun) by
salimma (subscriber, #34460)
In reply to:
Mark Shuttleworth on the future of Ubuntu by oak
Parent article:
Mark Shuttleworth on the future of Ubuntu
Regarding C code generation, C++ compilers were for many years just C
pre-processors like Vala is now. Vala is just younger (and prettier)
language than C++, just give it time and it may grow into a real compiler
like C++ compilers did. Whether we need yet another language is another
matter...
There is a difference: Cfront *defines* its own object model, and because the C code it produces is not supposed to have a stable interface, it's easy to abandon C-code generation in favour of a full-blown compiler.
Vala, by design, targets the GObject type system (letting users write GObject applications much more naturally than writing them in C). I don't think we'll ever get to a situation where valac's backend does not actually generate straight C code..
(
Log in to post comments)