Ada语言怎么样?我想了解一下

最近对Ada语言有点好奇,听说他有


不过对这个语言的了解只停留在大型嵌入式系统开发,不知道学了能干什么,不会像Scheme一样是鸡肋吧?(狗头
求教

对,反正我学了 Scheme 以后好歹用 Scheme 写过东西,学了 Ada 以后用它啥都没写过。

順帯 Ada 的一大槽点是唯一一个免費的编译器是会 GPL 污染的。

这个语言好啰嗦啊,感觉代码有点难记

人家都是用IDE啊

1 个赞

gcc/ada 有很多Ada代碼可供學習。

GCC 那个 Ada 就是 AdaCore 社区版的“简化版”,AdaCore 社区版一样是 GPL 开源,而且多带些库和周边工具,更新还更快。

Ada…好像是有很长历史的编译器了…听人提到过,没学过…

编译器是 GPL 应该没有太大影响吧?否则 LLVM 诞生以前的 Mac 程序员不都得绝望死了?(苹果在用 Clang 之前也用过 GCC)

众所周知 GCC Runtime Library Exception

Ada 用的是 GCC,但是编译器作者为了搞创收用的 runtime 没有进入这个 Exception,商用要另外买

1 个赞

runtime 包含传染性的语言还是第一次听说。 :scream:

不过如果不拿 Ada 用于工作,只是个人使用,应该不需要担心传染性吧?

不买商用授权就默认按照 GPLv3 来,即用 AdaCore 编译的产品如要公开发布就须要开源。

1 个赞

此话题已在 18 小时后被自动关闭。不再允许新回复。

看了 AdaCore 的 blog,好像现在 GNAT(虽然不能这么叫了,因为 GNAT 已经是通过 Alire 发行的了)是有 GCC run-time exception 的了,并且一些官方库也是以非 GPL 许可开源的。

Until now, the default license of choice for new software libraries at AdaCore was GPLv3 as complemented by the GCC run-time exception.

as of today, new libraries developed at AdaCore will use the Apache License 2.0 by default.

In addition, in the coming months we will also change the license of some of our libraries hosted on GitHub to Apache 2.0:

  • ada-traits-containers
  • gpr
  • langkit
  • libadalang
  • platinum_reusable_stack
  • spawn
  • VSS