如何分发(开源)Vala项目?

Luc*_*eis 6 c open-source vala

作为C语言等高级语言编写的唯一语言之一,Vala对我很感兴趣.我一直想用它开始一个小项目,但我一直想知道如何分发它.

事实是,它编译为C代码(我想是C99).

  • 我可以分发C代码而不是Vala代码吗?
  • 如果我这样做,C代码是否与所有平台兼容?
  • 或者它,例如在使用套接字时,是否自动包含适当的东西(winsock.h for Windows)?

Luc*_*eis 3

来自 irc 的 Vala 开发人员,irc.gnome.org 上的 #vala:

   18:57 < flo> It is of course possible to distribute the C code as
         well. The compiler itself is shiped with vala and C code. We
         actually access C-libraries over an abstract interface with all
         advantages and disadvantages of the libraries we are using,
         including platform dependencies.
Run Code Online (Sandbox Code Playgroud)