免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2946 | 回复: 8
打印 上一主题 下一主题

Perl 5.26已出,大家怎么看? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2017-06-04 18:52 |只看该作者 |倒序浏览
貌似这一年开发团队的大把精力都花在修正默认@INC上了。。。感觉近两年perl5上的动作还是有点慢啊。

论坛徽章:
0
2 [报告]
发表于 2017-06-05 15:23 |只看该作者
perl5的重点在于维稳,而不是开发很多新功能。

论坛徽章:
0
3 [报告]
发表于 2017-06-05 23:09 |只看该作者
回复 2# 大米白面

你这句话说的好淡定。。

本来要吐槽抱怨两句,想想还是算了。既然我现在靠Perl吃饭,还是平时出点力回馈Perl及其社区吧。

论坛徽章:
42
19周年集字徽章-周
日期:2019-10-14 14:35:31平安夜徽章
日期:2015-12-26 00:06:30数据库技术版块每日发帖之星
日期:2015-12-01 06:20:002015亚冠之首尔
日期:2015-11-04 22:25:43IT运维版块每日发帖之星
日期:2015-08-17 06:20:00寅虎
日期:2014-06-04 16:25:27狮子座
日期:2014-05-12 11:00:00辰龙
日期:2013-12-20 17:07:19射手座
日期:2013-10-24 21:01:23CU十二周年纪念徽章
日期:2013-10-24 15:41:34IT运维版块每日发帖之星
日期:2016-01-27 06:20:0015-16赛季CBA联赛之新疆
日期:2016-06-07 14:10:01
4 [报告]
发表于 2017-06-06 10:11 |只看该作者
Coro,AE,EV这些模块都宣称最高支持到 5.022.
在5.26下直接编译不过。

论坛徽章:
0
5 [报告]
发表于 2017-06-06 12:34 |只看该作者
ActiveState Perl Dev Kit最高支持到5.22,已经停止开发!Perl跟天朝政府一个策略

论坛徽章:
0
6 [报告]
发表于 2017-06-08 12:16 |只看该作者
回复 5# iamlimeng
啥策略?

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
7 [报告]
发表于 2017-06-08 21:00 |只看该作者
我觉得很好啊。

不可能天天有新东西啊,而且那样的话,用户也受不了啊。

论坛徽章:
0
8 [报告]
发表于 2017-06-15 21:52 |只看该作者
回复 4# laputa73

这几个library好像是同一个作者,Marc Lehmann。libev也是他写的。可惜牛人脾气太臭,估计Coro是用了非公开的Perl api然后到5.22 break了,他不帮忙修复却自己fork出了stableperl。说到他难免想到另外有个叫Reni Urban的,也是把p5p的人喷成翔然后自己fork了一个cperl。。。要是这两个人和p5p的人能和谐相处就好了。。。唉。

论坛徽章:
0
9 [报告]
发表于 2017-06-15 21:57 |只看该作者
本帖最后由 zhouzhen1 于 2017-06-15 22:04 编辑

我昨天跑了一个benchmark,Perl 5.14.4, 5.20.3, 5.26.0,都是perlbrew的默认安装配置。用Benchmark :: Perl :: Formance跑的。

看得出除了regex那块普遍不如5.14意外,这几年Perl的性能总的还是有明显提升的。


  1. item                                                    5.14 5.20 5.26
  2. perlformance.perl5.DPath.dpath                         118.1  116  100
  3. perlformance.perl5.Fib                                 104.8  126  100
  4. perlformance.perl5.FibOO                               111.5  116  100
  5. perlformance.perl5.MatrixReal.det_LR.030               142.8  128  100
  6. perlformance.perl5.MatrixReal.det.030                  147.3  134  100
  7. perlformance.perl5.MatrixReal.inverse.030              145.7  134  100
  8. perlformance.perl5.MatrixReal.invert_LR.030            140.4  126  100
  9. perlformance.perl5.MatrixReal.matrix_squared.030       176.4  158  100
  10. perlformance.perl5.MatrixReal.matrix_times_itself.030  180.2  167  100
  11. perlformance.perl5.MatrixReal.to_negative_one.030      145.7  140  100
  12. perlformance.perl5.Mem.allocate                        179.9  107  100
  13. perlformance.perl5.Mem.copy                             93.7  103  100
  14. perlformance.perl5.Rx.regexes.fieldsplit1               88.6   97  100
  15. perlformance.perl5.Rx.regexes.fieldsplit2              119.2   91  100
  16. perlformance.perl5.Rx.regexes.pathological              82.5  105  100
  17. perlformance.perl5.RxCmp.native                         80.6   99  100
  18. perlformance.perl5.RxMicro.code-literal                105.1  124  100
  19. perlformance.perl5.RxMicro.code-runtime                  2.7   91  100
  20. perlformance.perl5.RxMicro.precompile-access            74.6  115  100
  21. perlformance.perl5.RxMicro.runtime-compile              92.0  109  100
  22. perlformance.perl5.RxMicro.runtime-compile-nocache      84.0  102  100
  23. perlformance.perl5.Shootout.binarytrees                112.4  115  100
  24. perlformance.perl5.Shootout.fasta                      138.8  140  100
  25. perlformance.perl5.Shootout.nbody                      147.0  144  100
  26. perlformance.perl5.Shootout.spectralnorm               121.4  120  100
复制代码



CU貌似不支持monospace字体也是醉了。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP