User: Password:
|
|
Subscribe / Log in / New account

A look at two new languages: Vala and Clojure

A look at two new languages: Vala and Clojure

Posted Jun 4, 2009 0:57 UTC (Thu) by JoeBuck (guest, #2330)
Parent article: A look at two new languages: Vala and Clojure

The resulting C compiles normally with gcc, plus it can be distributed as source packages fully usable on platforms that do not have Vala installed.

Careful. It's a nice feature that users who don't have Vala can build a program from the C output from the Vala compiler. But one of the functions of source packages is license compliance, and it's important to remember that for purposes of GPLv2 or GPLv3, the source code is defined as the preferred form for modification, thus the Vala code is the source and the C code produced by the Vala compiler is not. Vala source must be made available for license compliance.


(Log in to post comments)

A look at two new languages: Vala and Clojure

Posted Jun 4, 2009 11:03 UTC (Thu) by njh (subscriber, #4425) [Link]

Yes - hopefully what was meant by the original comment was that one can have a source distribution which contains both the Vala sources and the generated C files, such that someone who just wants to "./configure && make install" can do so with only a C development environment installed.

Someone who wants to exercise "freedom 1" can do so, but will need to get a Vala development environment (much as someone who wants to do non-trival hacking on a project that includes a YACC parser will need Bison installed, but if they just want to build the program unmodified then they only need a C compiler).


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds