uehaj's blog

Grな日々 - GroovyとかGrailsとかElmとかRustとかHaskellとかReactとかFregeとかJavaとか -

@Typedアノテーションの提案と却下

Groovy1.6への速度向上の努力の中で、「うへーもう最適化が泥沼で苦労が多いよ、プログラマアノテーションでスタティックかダイナミックか指定さしたらどうだ」なんて話が出て、Guillaume Laforge が却下してる記事。
http://markmail.org/message/hxfh5tpp6psyg6rg#query:+page:1+mid:vhr54wvuyrvtlv3d+state:results

  • Such a proposal would be a consent that we failed to make Groovy the fastest dynamic language possible. Have we really tried to make Groovy as fast as possible? Have we implemented a second generation MOP yet? No.
  • その提案は、われわれが可能な限り最速の言語にするのに失敗したことを認めることになるんだ。われわれは、Groovyを可能な限り速くする事を、真に試みたか?第二世代MOPを実装したか?ノーだ。
  • it's not an unrealistic goal to be faster than Ruby and Python.
  • RubyPythonより速くするってのは、非現実的な目標じゃないんだ。

プロジェクトのリーダーがビジョンを示している姿が感動的ですね。

  • Remember that Groovy has not been conceived to replace Java, but as a complement, an adjunct, an enhancer to Java. It's a core value of the language and the project.
  • GrooyはJavaを置き換えるのではなく、補完し調整し、拡張するのです。これがこのプロジェクトの核心的価値です。

らへんも味がある。

ちなみに1.6rc1をちょっとベンチマークしてるんですけど、相当速くなってますね(1.5.xから比べると)。惜しみない感謝と賞賛を開発チームに。