wild thoughts about small core.

new version perl will lose weight. that's what I want to see for long time. but cleanning package size is not an ultimate target to me. cleanning internal code and attract developers to improve bizatine define is.

I've been using perl for years. and I love it, because of its expression, its cpan, and its community. But its weakness is also apparent, its implementation and its history which have to be compatible backward. Every time I am frustrated in some deficiencies of perl, which ambition of improving perl failed by it’s internal makes me more frustrated. In other word, perl has been evolving thirty years. Which makes perl burden too much history, mistakes, inconsistence etc. Ie. It can call c function by win32::api without a compiler, but you end up dealing with xs. Why You can find many wrap of c library on cpan? just because xs is an weird and obsruced, and nobody want to learn it.

With waiting a perl6, we'd better learning a new language to strengthen my arsenel, and maybe we can learn how improve perl. Here are some choices:

lua: it's my first choice. It’s small, and thus, it can be handled fully. Question about table? See source code; question about coroute? See source code; Actually, except a little weird syntax, Its nice and clear code explains everything. It’s limit, but its extensible enough to add new feature with c.
In terms of general language, lua is not good. but its internal code is a way to perl evovle, small core, large modules. I've been watching potion for serveral months, hope it, whose compiler is a little like lua can bring freshing air to perl5.

scala: this is a wonderful language, and it's very similar with perl6. it's type system. I even impulse to use it as my primary language. But when using it, I found it's not mature so as to a working language to me, a person who spoiled by perl5. its modules are still limited. and sometimes you have to use java module which bring you many pitfall and headache.

And many many.....

There are still many projects to improve perl inside is been implementing actively, rakudo, potion, moe and perl5 itself. I'm confident about it, the guys who get involved, and community . But why dont you dabble into the outside world when enjoying perl?

1 Comment

BTW, Perl just passed its 25th year in 2012 (the fact which will be celebrated in the upcoming YAPC::NA 2013), so it's not quite 30 yet.

Leave a comment

About xiaoyafeng

user-pic I blog about Perl.