设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Clojure 1.7发布,并发编程语言

2015-7-1 21:21| 发布者: joejoe0332| 查看: 517| 评论: 0|原作者: oschina|来自: oschina

摘要: Clojure 1.7 发布,该版本最主要的两项特性是 transducers 和 reader conditionals。其中 transducers 可在几种新的和现存的环境中使用:into - to collect the results of applying a transducersequence - to incr ...

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上的实现。


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部