On Fri, 2007-03-02 at 07:07 -0800, Mike Noyes wrote: > On Thu, 2007-03-01 at 14:46, Paul Gear wrote: > > Tom Eastep wrote: > <snip> > > > I have begun some experimentation with rewriting the compiler in Perl and > > > that is looking promising. Converting to Perl will unfortunately present > > > migration/compatibility issues with compile-time extension scripts > > > although > > > I've been able to retain shorewall.conf and /etc/shorewall/params > > > functionality for the most part. > > > > You know my feelings about perl - it is so much better a language for > > string processing than shell. I think it would cut your code size > > substantially, and thus result in much more maintainable and bug-free > > code, as long as you don't write it like a typical perl programmer > > (which i already know you aren't ;-). > > Paul, > What is your opinion of microperl? Would in suffice for the proposed > rewrite?
My vote probably dont count since i havent contributed with any code, anyway... I just compiled microperl on my gento/hardened/uclibc chroot. It compiled on first try, but the file was 1155980 (1254803 before strip). I have also the full perl but its huge so its never used. If you intend to continue be The firewall for embedded I'd suggest avoiding perl/python/ruby/php. We had a long debate some time ago on alpinelinux list what to do with webconf since we wanted to replace shell with some kind of high level language. We ended with lua, which definitively gives the most for the bucks. As a comparation to microperl, lua is 160kb. http://shootout.alioth.debian.org/debian/benchmark.php?test=all&lang=lua&lang2=perl my $0.02 Natanael Copa ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
