Groovy和Groovy ++,它们有什么不同? [英] Groovy And Groovy++,Are they different?
本文介绍了Groovy和Groovy ++,它们有什么不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最近才知道groovy ++已经发布了,Groovy和Groovy ++的主要区别是什么?
解决方案
从groovy ++网页 http://code.google.com/p/groovypptest/
Groovy ++是Groovy编程语言的静态类型扩展。除了标准Groovy的所有好处之外,它还增加了许多功能
- 编译时检查代码>与编译代码的Java性能一样快
- 静态和动态类型代码的简单混合
- 非常强大的类型推断
- 尾递归特征(带有默认实现的接口)
- 扩展方法(编译时类别)
- 函数式编程的标准工具库,并发性和分布式计算(早期原型阶段)
i recently came to know that groovy++ have been released, what is the major difference is in Groovy and Groovy++?
解决方案
From the groovy++ page http://code.google.com/p/groovypptest/
Groovy++ is statically typed extension of Groovy programming language. Additionally to all goodies of standard Groovy it adds a lot of functionality
- compile time checking of code
- as fast as Java performance of compiled code
- easy mixing of statically and dynamically typed code
- very powerful type inference
- tail recursion traits (interfaces with default implementation)
- extension methods (compile time categories)
- standard library of utilities for functional programming, concurrency and distributed computing (early prototype stage)
这篇关于Groovy和Groovy ++,它们有什么不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文