2010/12/7 Charles Wu <wuq...@gmail.com>:
网球和羽毛球哪个好?应该学哪个?完全没有可比性,只要能拿到冠军,都好。
2010/12/7 Charles Wu <wuq...@gmail.com>:
> ��ǰ�ù�һ��ʱ��perl��������python�����ö������?�������ڱ�Ĺ�˾�ϰ��
> ͬѧ���ܣ���������ruby����ͬ�����飬������Ƚ�һ�¡�
����עЧ�ʣ�perl python ruby regex benchmark ֮��Ĺؼ��Ҳ���Ը�����
���IJο���Ϣ������ http://snowplow.org/martin/rebench/
>
> 2010/12/7 qiancheng shen <qianch...@gmail.com
> <mailto:qianch...@gmail.com>>
>
> ͬ��С��Ĺ۵㣻������Ҫרע���?python�����ַ���perl�����
> Perl�����Ҿ��ø������Щ��Ruby��̫��Ϥ�����������Լ���killer app��
> ���дweb���Կ��ǣ�
>
> 2010/12/7 ��xiaoma <cnxi...@gmail.com <mailto:cnxi...@gmail.com>>
>
> Ҫ����ѧϰ�κ�һ��������ֻ�л�ʱ��ȥ��ϰ��1000Сʱ�����ţ�10000
> Сʱ���Ծ�ͨ��
>
> �������ë���ĸ��ã�Ӧ��ѧ�ĸ�����ȫû�пɱ��ԣ�ֻҪ���õ��ھ�
> ���á�
>
> 2010/12/7 Charles Wu <wuq...@gmail.com <mailto:wuq...@gmail.com>>:
> > Perl��Python���Ӵ�����ֻ��֪����Ƥë��������ѧϰ����Ҿ���
> ����������ʲô��ȱ�㡣����ѧ�ĸ�������������Ruby�Ļ����ĸ���ã�
��Ҫ�ǿ���python����չ�Ժ㷺�Ŀ�֧�֣��������ⷽ��ľ���ô���ܷ��㽨
�顣����ʹ��python
��д����չ��ͻ���ıȽϺõĿ�Դ��Ŀ��
It is with a boisterous belly laugh that I announce on behalf of the Yapsi development team that the December 2010 release of Yapsi, a Perl 6 compiler made of Perl 6, by Perl 6, for Perl 6, shall not perish from the earth.
You can download it here.
Yapsi is implemented in Perl 6. It thus requires a Perl 6 implementation to build and run. This release of Yapsi has been confirmed to work on all releases of Rakudo Star to date.
Yapsi is an "official and complete" implementation of Perl 6. Usually in the rest of this paragraph I perform some obscure hand-waving or ill-formed logic to pretend that the terms "official" and "complete" apply to Yapsi... but today I'd like to break from that norm and simply proceed by structural meta-circular induction on this paragraph, which in itself happens to be official and complete. QED.
This month's release sets the stage for subroutines (and takes a bold step towards Turing-completeness) by allowing programs that put blocks of code into variables:
$ bin/yapsi -e 'my $a; my $b = { say $a }; $a = 42; $b()'
42
For a complete list of changes, see doc/ChangeLog.
Quite a lot of features are within reach of people who are interested in
hacking on Yapsi. See the doc/LOLHALP file for a list of 'em. Or see
here
for a list of English words containing the letter Q not followed by the
letter U.
Yapsi consists of a compiler and a runtime. The compiler generates instruction code which the runtime then interprets. Cool, huh? Actually, that's quite standard. What's not standard is calling the instruction format SIC, and then not really having a good idea what it stands for. But never mind; you can either produce SIC code or plug it right into the runtime -- of which, by the way, famous Perl 6 implementor Jonathan Worthington after learning about its inner workings is known to have said "Wow! I don't think I could design something that slow even if I tried!" Though not very fast at all, the runtime is very easy to modify, which has the effect that we modify it quite a lot. We also modify SIC quite a bit; if you expect it not to change, expect that expectation to come back and bite you.
An overarching goal for making a Perl 6 compiler-and-runtime is to use it as a server for various other projects, which hook in at different steps:
Another overarching goal is to optimize for fun while learning about parsers, compilers, and runtimes. \o/
Have the appropriate amount of fun!
2010/12/7 qiancheng shen <qianch...@gmail.com>:
像比如 xxx语言真烂,或者xxx语言真好 之类的空洞无味的话就不要说了。
另外,禁止攻击。无论对人还是对语言。
2010/12/7 小马xiaoma <cnxi...@gmail.com>:
twisted��python����Ƚ��������Ŀ�ܣ����ݶ���Ҹ��ӣ���Ҳ����twisted����Ӧ�ÿ��Խ̵���һ �£���ֻ��һ���django����twisted��˵Ҫ��������ࣻ��ʵ��Ҳ����������ֻ��bt����õ�deluge����twisted���ģ��о���Ƶúܺã�������ѧһ�¡�
2010/12/7 xiaoHan <hanson...@gmail.com>
On 12/7/2010 4:23 PM, qiancheng shen wrote:
python��twisted���ѧϰ���ߺܶ���Ը�����꣬����ڿ����
于 2010年12月07日 15:51, Charles Wu 写道:
> 主要是处理文本文件。例如在一个4GB左右的文本文件中找到大于0.1的所有数字,
> 并计算个数等等。
所以你的问题是处理文本最好应该选什么语言
http://stackoverflow.com/questions/704828/what-is-the-best-language-for-text-processing
> 以前用过一段时间perl,现在用python,觉得都还不错,另外听在别的公司上班的
> 同学介绍,他们在用ruby做相同的事情,所以想比较一下。
如果关注效率,perl python ruby regex benchmark 之类的关键词也可以给你足
够的参考信息。比如 http://snowplow.org/martin/rebench/
> <mailto:qianch...@gmail.com>>
>
> 同意小马的观点;技术需要专注。另:python处理字符串不比perl差;而且
> Perl的语法我觉得更难理解些。Ruby不太熟悉,但是它有自己的killer app,
> 如果写web可以考虑;
>
> 2010/12/7 小马xiaoma <cnxi...@gmail.com <mailto:cnxi...@gmail.com>>
>
> 要深入学习任何一个东西,只有花时间去练习。1000小时算入门,10000
> 小时可以精通。
>
> 网球和羽毛球哪个好?应该学哪个?完全没有可比性,只要能拿到冠军,
> 都好。
>
> 2010/12/7 Charles Wu <wuq...@gmail.com <mailto:wuq...@gmail.com>>:
> > Perl与Python都接触过,但是只是知道点皮毛,想深入学习,大家觉得
> 这两个各有什么优缺点。建议学哪个?另外如果加上Ruby的话,哪个更好?
> >
> > --
> > Thanks & Best Regards
> >
> > ViaEDA IC Design Service
> > Charles Wu
> > Tel: 021-51619326
> > Http://www.viaeda.com
> >
> >
>
>
>
>
>
> --
> Thanks & Best Regards
>
> ViaEDA IC Design Service
> Charles Wu
> Tel: 021-51619326
> Http://www.viaeda.com
>
Apache, Struts, Spring, Hibernate, Oracle, Linux, English
2010/12/7 Shell Xu <shell...@gmail.com>:
--
Best Regards
LI Daobing
python么更全能一点。而且用c扩展方便,也有大公司支持。未来发展也是很有潜
力的。
>>>>>>>>>>>>>>> Thanks& Best Regards
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ViaEDA IC Design Service
>>>>>>>>>>>>>>> Charles Wu
>>>>>>>>>>>>>>> Tel: 021-51619326
>>>>>>>>>>>>>>> Http://www.viaeda.com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Thanks& Best Regards
>>>>>>>>>>>>
>>>>>>>>>>>> ViaEDA IC Design Service
>>>>>>>>>>>> Charles Wu
>>>>>>>>>>>> Tel: 021-51619326
>>>>>>>>>>>> Http://www.viaeda.com
>>>>>>>>>>>>
>>>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks& Best Regards
2010/12/7 Shell Xu <shell...@gmail.com>:
Perl与Python都接触过,但是只是知道点皮毛,想深入学习,大家觉得这两个各有什么优缺点。建议学哪个?另外如果加上Ruby的话,哪个更好?
--
Thanks & Best Regards
ViaEDA IC Design Service
Charles Wu
Tel: 021-51619326
Http://www.viaeda.com
Perl与Python都接触过,但是只是知道点皮毛,想深入学习,大家觉得这两个各有什么优缺点。建议学哪个?另外如果加上Ruby的话,哪个更好?
--
Thanks & Best Regards
ViaEDA IC Design Service
Charles Wu
Tel: 021-51619326
Http://www.viaeda.com
Python我感觉怎么很像PHP啊..
UNIX.
我感觉现在PC都流行Linux了.
不知道是不是大机和IBM服务器那边还在用UNIX.
另外,不知道Solaris是不是也是属于UNIX.
On 12月10日, 下午10时53分, "J.Y. Hsu" <infern...@gmail.com> wrote:
> 我来说说看我面试的时候的回答.
>
> "Perl能做的简单的事情,awk/sed/shell可以做的更快, Perl能做的复杂的事情,Python可以使之更简单”
>
> 但是我也提醒面试官,UNIX来钱快,而大多数UNIX出厂就有perl 5.8.8, 一般装不上一个Python...
>
> Availablity is very important!!
>
> 2010/12/9 杨超 <zhaoyang2...@gmail.com>
>
>
>
>
>
> > 可以先学学perl,不是很难。
>
> > 不管perl和python,都是工具,看你用哪个用的顺手,是否合适,不要太在意那些意见之争
>
> > 2010/12/7 Charles Wu <wuq...@gmail.com>
>
> >> Perl与Python都接触过,但是只是知道点皮毛,想深入学习,大家觉得这两个各有什么优缺点。建议学哪个?另外如果加上Ruby的话,哪个更好?
>
> >> --
> >> Thanks & Best Regards
>
> >> ViaEDA IC Design Service
> >> Charles Wu
> >> Tel: 021-51619326
> >> Http://www.viaeda.com<http://www.viaeda.com/>
>
> > --
> > svenyang
>
> --http://ucarenya.com/
月收入是N万RMB了吧?
On 12月7日, 下午10时20分, LI Daobing <lidaob...@gmail.com> wrote:
> 精通 ASSHOLE
>
> Apache, Struts, Spring, Hibernate, Oracle, Linux, English
>
> 2010/12/7 Shell Xu <shell909...@gmail.com>:
>
>
>
>
>
> > 最好把php python perl全学了,就可以在简历中写"精通3P"了。
>
> > 2010/12/7 Charles Wu <wuq...@gmail.com>
>
> >> 我觉得比较一下可以看出各自的优缺点,有的放矢去学习。
>
> >> 2010/12/7 Chaos Eternal <chaoseter...@shlug.org>
>
> >>> 不,可以比较,但是得说出理由。
>
> >>> 像比如 xxx语言真烂,或者xxx语言真好 之类的空洞无味的话就不要说了。
> >>> 另外,禁止攻击。无论对人还是对语言。
>
> >>> 2010/12/7 小马xiaoma <cnxia...@gmail.com>:
> >>> > 好像slug有个不成文的规矩,禁止比较和讨论各种语言的优劣。
>
> >>> > 2010/12/7 qiancheng shen <qianchengs...@gmail.com>:
> >>> >> 现在Python对正则的支持也非常好;哈哈~~
>
> >>> >> 2010/12/7 cnhack TNT <cnhack...@gmail.com>
>
> >>> >>> Perl 对正则的支持我认为是最给力的,文本处理还是 Perl 最舒服了。
> >>> >>> 国内用 Perl 的人不多并不代表 Perl 步入晚年,Perl 社区活跃着呢。
> >>> >>> 实际上很多大企业有很多产品都是混合多种语言的,各种语言都有它自己适合的场景,我们公司的产品的不同部分就分别用了 c/c++,
> >>> >>> python,
> >>> >>> perl。其中 perl 的部分作文本处理也是核心组件之一。公司里很多工具,报表和其他系统也有很多用 perl 开发。
> >>> >>> 每年的 12 月份一开始到圣诞节,perl 社区都有 perladvent 的传统:
> >>> >>> 去年的:http://perlchina.org/advent/
> >>> >>> 今年的:http://fayland.github.com/advent.perlchina.org/
> >>> >>>http://perladvent.pm.org/2010/
> >>> >>>http://www.catalystframework.org/calendar/2010/
> >>> >>>http://advent.rjbs.manxome.org/2010/
> >>> >>>http://advent.perldancer.org/2010
> >>> >>>http://perl-users.jp/articles/advent-calendar/2010/
> >>> >>> 日本的 perl 社区比较活跃,今年涌现了不少开源的好东西。
>
> >>> >>> 2010/12/7 Shen Chenjun <chenjun.s...@gmail.com>
>
> >>> >>>> 我了解过Perl6, 从2001年开始立项,至今未Official Release,我认为这是一种进入老年的表现。
> >>> >>>> 但很多大型IT企业内部,还在用Perl编写的框架,比如:SAP, Ebay等,Perl程序员还是有市场的。
>
> >>> >>>> 2010/12/7 kind terry <kindte...@gmail.com>
>
> >>> >>>>> Perl在文本处理领域无敌,速度奇快无比.
> >>> >>>>> 另外说perl进入晚年的同志,请关心一下Perl6
>
> >>> >>>>> 2010/12/7 Shen Chenjun <chenjun.s...@gmail.com>
>
> >>> >>>>>> 处理文本是Perl的强项,但Perl的发展已经进入晚年了。
> >>> >>>>>> Python目前处于青壮年,用的人也不少,各类库都很成熟,介绍书籍也比较多,是一门比较比较主流的脚本语言。
> >>> >>>>>> Ruby随着前2年的RoR火过一把,个人认为处于青年期,库没有Python成熟,但处于上升期,最近的版本性能有所增强,快了不少。
> >>> >>>>>> 仅供参考。
>
> >>> >>>>>> 2010/12/7 Charles Wu <wuq...@gmail.com>
>
> >>> >>>>>>> 主要是处理文本文件。例如在一个4GB左右的文本文件中找到大于0.1的所有数字,并计算个数等等。
>
> >>> >>>>>>> 以前用过一段时间perl,现在用python,觉得都还不错,另外听在别的公司上班的同学介绍,他们在用ruby做相同的事情,所以想比较一下。
>
> >>> >>>>>>> 2010/12/7 qiancheng shen <qianchengs...@gmail.com>
>
> >>> >>>>>>>> 同意小马的观点;技术需要专注。另:python处理字符串不比perl差;而且Perl的语法我觉得更难理解些。Ruby不太熟悉,但是它有自己的kille-r
> >>> >>>>>>>> app,如果写web可以考虑;
>
> >>> >>>>>>>> 2010/12/7 小马xiaoma <cnxia...@gmail.com>
研究生学了.Net(C#)
第一份工作是C++.
现在刚考过了Oracle的Java的OCJP认证.
目前工作使用Java.
数了下,会C,C++,C#,Java.觉得有点头晕了.
现在又想开始学Python和JavaScript了...
On 12月9日, 下午2时31分, Roy <gregorian.zh...@gmail.com> wrote:
> 同意,现在人都想速成,好像学了一个语言可以走天下。
> 很多时候高手都是同时会几门语言的,看需求来的。
>
> 2010/12/8 woosley. xu. <redic...@gmail.com>
我之前工作上又不会的C++的问题时,一直把问题发到StackOverflow上面的,
http://stackoverflow.com/users/365479/meteor
但是遇到C语言的一些问题,叫你只能写.h或者.c后缀的代码的时候,那个才是我觉得最郁闷的事情.
明明有Function可以直接用,但是人家不允许你去用.非要你自己写,这个好痛苦啊.
On 12月7日, 下午10时29分, 机械唯物主义 : linjunhalida <linjunhal...@gmail.com>
wrote:
2010/12/11 meteor <liuxi...@gmail.com>:
Solaris, IBM AIX, HP-UX, FreeBSD, OpenBSD, NetBSD都是正统的UNIX,
Linux是UNIX的克隆, 并不包含UNIX的代码.
IBM i系列上跑的OS/400, z系列上跑的z/OS, z/VM都不是UNIX, 都属于专有系统. 其他大机不知道跑什么系统,
可参考:
http://en.wikipedia.org/wiki/Unix
--
Liang Guo
http://bluestone.cublog.cn
2010/12/11 meteor <liuxi...@gmail.com>:
On 12月10日, 下午10時53分, "J.Y. Hsu" <infern...@gmail.com> wrote:
> 我来说说看我面试的时候的回答.
>
> "Perl能做的简单的事情,awk/sed/shell可以做的更快, Perl能做的复杂的事情,Python可以使之更简单”
>
> 但是我也提醒面试官,UNIX来钱快,而大多数UNIX出厂就有perl 5.8.8, 一般装不上一个Python...
>
> Availablity is very important!!
>
> 2010/12/9 杨超 <zhaoyang2...@gmail.com>
>
>
>
>
>
>
>
>
>
> > 可以先学学perl,不是很难。
>
> > 不管perl和python,都是工具,看你用哪个用的顺手,是否合适,不要太在意那些意见之争
>
> > 2010/12/7 Charles Wu <wuq...@gmail.com>
>
> >> Perl与Python都接触过,但是只是知道点皮毛,想深入学习,大家觉得这两个各有什么优缺点。建议学哪个?另外如果加上Ruby的话,哪个更好?
>
> >> --
> >> Thanks & Best Regards
>
> >> ViaEDA IC Design Service
> >> Charles Wu
> >> Tel: 021-51619326
通常都只會得到宗教信仰的回答
每種刀都有用途,重點是合不合手。你自己學了才知道適不適合你
跑上來問人沒有用的。
2010/12/29 J.Y. Hsu <infe...@gmail.com>:
很多商业UNIX不装编译器,是因为编译器是需要花money买的。
shell肯定会有,perl一般会有吧?
Programming language Python has become programming language of 2010. This award is given to the programming language that gained most market share in 2010. Python grew 1.81% since January 2010. This is a bit more than runner up Objective-C (+1.63%). Objective-C was favorite for the title for a long time thanks to the popularity of Apple's iPhone and iPad platforms. However, it lost too much popularity the last couples of months.
Python has become the "de facto" standard in system scripting (being a successor of Perl in this), but it is used for much more different types of application areas nowadays. Python is for instance very popular among web developers, especially in combination with the Django framework. Since Python is easy to learn, more and more universities are using Python to teach programming languages.