2009/1/21 Mike.G <[email protected]> > :) > 是阿。也写一些,不过都是比较简单的。基本上是简单的protype.js的应用。 > > 呵呵,援引 Mozilla 官方文档中的一句话:
"You shouldn't use synchronous XMLHttpRequests because, due to the inherently asynchronous nature of networking, there are various ways memory and events can leak when using synchronous requests." 我已经用 100% JavaScript 写过好几个比较大比较复杂的 web app 了,还不算各种纯 JS 写的 Firefox 插件,呵呵。我的大脑现在已经是"异步"的了,哈哈! 异步 I/O 是高性能应用的福音,就是需要改变传统的代码结构,好在习惯就好了,呵呵。像 Erlang 这样的能自动拆分出异步纤程的确实比较 NB,哈哈! -agentzh --~--~---------~--~----~------------~-------~--~----~ 您收到此信息是由于您订阅了 Google 论坛“PerlChina Mongers 讨论组”论坛。 要在此论坛发帖,请发电子邮件到 [email protected] 要退订此论坛,请发邮件至 [email protected] 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛 -~----------~----~----~----~------~----~------~--~---
