"ye, wei" wrote:
> Tom Christiansen wrote:
> > It [miniperl] isn't substantially smaller, so that does you no good.
The socket library seems to be the poster child for what to leave
out, but that's a weak argument. If Perl 6 gets all the functionality
requested by Damian or the PDL folks, it would make sense to design a
miniperl that can dynamically load the "expensive" stuff.
> By the way, I took some time learn Guile(Gnu version of Scheme). The Guile
> is an extension language as well, which allow you embed it in your program
> very easily.
Starting guile is extremely slow. That has led to people "freezing" guile
after the core modules have been loaded. What's the point in having a super
small core if it has to be pre-loaded with a bunch of modules and frozen
in order for it to be usable?
> The most interesting thing is its "Faster Integers", which don't have to malloc
> memory to store integer.
Perl 6 will be able to fit an integer into the SV directly so malloc won't
be necessary. (Boxing an SV into a single machine word using Guile's bit packing
tricks will probably not be used. It's not clear that packing has many benefits
on modern machines.)
I like guile (and Scheme in general), but Perl isn't a minimalist language.
Stealing from Scheme is good. Adopting Scheme's Small Is Beautiful philosophy
isn't.
- Ken