|
Subject: =?GB2312?B?UmU6IFtMaXNwLWNuXSBbT1RdILn6xNq1xNPDR1VJTEWx4NC0tcS3/s7x?= =?GB2312?B?xvc=?= Newsgroups: gmane.lisp.china Date: Sunday 15th April 2012 12:03:05 UTC (over 5 years ago) 目前还没有出稳定版,刚刚解决了几个导致崩溃的bug,不过学生的话可以尝试用这个来在校内架设自己的站点,好消息是目前狂刷新浏览器不会崩溃了,坏消息是目前暂时没有空写文档。 最好等我上了actor model再考虑压测。目前Ragnarok只是普通的线程服务器,没有用到工作模型。松本行宏在自己的书里说用了actor model的服务器性能比线程服务器好得多,所以无论如何也要试试actor。现在基本完成了功能框架,准备开始优化了。 Scheme跟其他语言不一样,一般没有直接可用的actor module,因为Scheme当初就是为了实现actor而设计的语言[1],first class continuation和proper tail call两大特性都是为了actor而加入的。但它只是为了方便实现actor而设计,不像erlang那样完全属于actor的语言,不用actor这门语言基本就无法用的感觉。说白了,Scheme一开始就是为了设计高性能服务器而诞生的语言,但后来不知怎么回事就沦落为专门为了上课交作业而使用的语言了。 [1]Scheme started as an attempt to understand Carl Hewitt's Actor model, for which purpose Steele and Sussman wrote a "tiny Lisp interpreter" using Maclisp and then "added mechanisms for creating actors and sending messages."[7] Scheme was originally called "Schemer", in the tradition of other Lisp-derived languages like Planner or Conniver. The current name resulted from the authors' use of the ITS operating system, which limited filenames to two components of at most six characters each. Currently, "Schemer" is commonly used to refer to a Scheme programmer. ------From Wiki 2012/4/15 CRLF0710 |
||