论坛首页 综合技术论坛

ICFP2006大赛结果

浏览 6990 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2006-09-23  
International Conference on Functional Programming 2006大赛结果:
第三名Team: Can't Spell Awesome Without ASM, from Google,使用汇编
第二名Team kuma, from Japan,使用D语言
第一名Team Smartass, from Google,使用Haskell,并辅以C++/Python/2D语言。

Haskell连续三年蝉联第一!

ICFP2006站点:http://icfpcontest.org/index.shtml
今年的题目背景是虚拟的‘计算考古学’,要求实现一个指定规范的虚拟机以执行‘古代文明代码’完成各种任务。

颁奖录像http://video.google.com/videoplay?docid=6419094369756184531
(很遗憾,在google video上,而且很不清晰)

2D语言特别介绍(from wikipedia)
2d is a programming language that appeared in the 2006 ICFP programming contest. Programs written in this language are drawn out as ASCII flowcharts using boxes and arrows, as shown in the following example.
,....................................,
:p |  *=================*            :
---#->!send[(W,S),(W,E)]!+           :
:  v  *=================*v           :
:*=============*| *===========*      :
:!case N of S,E!#>!send[(N,E)]!-------
:*=============*v *===========*      :
:      |   *=====*  *===============*:
:      +-->!use p!->!send[(Inl W,E)]!-
:          *=====*  *===============*:
,....................................,

While on the surface the language appears much like a description of a printed circuit board, it differs from physical circuits in many significant ways. In the 2d language, arbitrarily large and complex values may be passed along a wire. In addition, 2d boxes may make recursive references with the use keyword.

Participants in the contest were asked to write several programs in this language, including a 1-dimensional ray tracer. Programs were evaluated both on the correctness of their output and on their size: programs with smaller areas were worth more points.
   发表时间:2006-09-23  
2D语言???

这个代码厉害啊。

:*=============*| *===========*

这是什么用哦??
0 请登录后投票
   发表时间:2006-09-23  
用来画边框的。。。

bbcode格式化出来的代码行之间有多余空行,你可以贴到编辑器里把空行删掉看清楚些
0 请登录后投票
   发表时间:2006-09-28  
hurricane1026 写道
有介绍D语言的么?光听说过,怎么用,哪有reference?

http://digitalmars.com/d/
左边"search"框下边的3个链接,第1个language是语法方面的,phobos是目前的标准库,还包括一个各种语言的比较。

http://blog.csdn.net/uframer
有一些有点过时的中文翻译。

http://dsource.org/projects
包括一些D语言项目。目前成熟的不多,好像只有mango和ddl,这个ddl是个杀手级的。还有一个dwt项目,是swt的D语言移植,暂只有windows平台版本,而且有几个月没维护了,可能编译不过。d首页的link里包括一些应用,其中有一些dx/opengl小游戏项目,感觉还不错。

D现在最大的问题是语言发展太快,很多库都不上,都暂停了等着第一个正式版呢,看开发者的意向似乎快要出正式版了,只是用户意见还比较多。
0 请登录后投票
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics