1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Clojure 1.7 发布,并发编程语言 下载

本帖由 漂亮的石头2015-07-01 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,295
    赞:
    47
    Clojure 1.7 发布,该版本最主要的两项特性是 transducers 和 reader conditionals。其中 transducers 可在几种新的和现存的环境中使用:


    • into - to collect the results of applying a transducer


    • sequence - to incrementally compute the result of a transducer


    • transduce - to immediately compute the result of a transducer


    • eduction - to delay computation and recompute each time


    • core.async - to apply a transducer while values traverse a channel

    更多内容请查看更新日志

    Clojure是一种LISP风格的语言,运行在JVM上。Clojure的一大特色就是其并发机制,它支持不可变的数据结构(Clojure是来自于可持久化的数据结构)。Clojure还有一个特色是软件事务存储(Software Transactional Memory,STM),其支持用事务代替锁和互斥器来更新共享内存。STM还是一个有争议的技术,还需要更好的证明自己,一个简单的办法就是访问一个JVM上的实现。
    Clojure 1.7 发布,并发编程语言下载地址
     
正在加载...