Just to avoid flames, I love Perl. It's a great programming language for
quick hacks, and even some large scale programs. I always ask myself,
"Can I do this in Perl?" before I go to C or C++ or Java or LISP or TCL.
However, Perl is definitely not a good fit for embedded work, especially
not the uCsimm or any system running uClinux for that matter. Maybe for a
Pentium SBC it is, but not for us.
1) Perl is too high level for most embedded work. Sure, you can make a C
module and call that, but that's a more work than I feel like doing.
2) Good luck getting it to fit in 32k text and 32k bss sections!!! (Perl
has huge amounts of global data structures in addition to a lot of code).
3) Even if it was possible to strip down the interpreter to fit in 32k, I
still say good luck. I've actually been looking at the Perl interpreter
code (we're trying to apply an external threading mechanism to it here
at UT-Arlington), and it's not pretty! Not to deride Larry Wall or any of
the Perl developers. Perl is a great language with an utterly mystifying
My recomendation for a scripting language for uClinux stuff would be Forth
I think you might be able to get a stripped down LISP or Scheme
interpreter to run on uClinux platforms. That would be nice, too.
--- Geoffrey Wossum email@example.com Project AKO - http://rover1.uta.edu/~ako Internet Imperialists - http://inetimperial.sourceforge.net This message resent by the firstname.lastname@example.org list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:35 EST