[cfe-dev] alternate clang driver

Miles Bader miles at gnu.org
Tue Oct 25 23:38:27 PDT 2011


Konstantin Tokarev <annulen at yandex.ru>
writes:
> 22.10.2011, 01:47, "David Chisnall":
>> Adding a dependency on Python (or Lua, or what other buzzword
> scripting language that you favour this week) for invoking an
> [Objective-]C[++] compiler seems to redefine overkill.
>
> To the defense of Lua, well-written Lua code is almost as fast as C
> without any JIT, and original interpreter is an executable sized under
> 200K.

Agreed; Lua is quite suitable for this of task, much more so than many
other scripting languages.  It's very fast, very small, and very
portable.

[Indeed, the Lua source is small enough (and liberally licensed
enough) that it be perfectly reasonable to have a copy of Lua in the
clang source tree to avoid an additional dependency...]

-Miles

-- 
Friendless, adj. Having no favors to bestow. Destitute of fortune. Addicted to
utterance of truth and common sense.




More information about the cfe-dev mailing list