On Sat, 2007-02-24 at 04:55, Nick Leverton wrote: > On Saturday 24 February 2007 09:25, Christian Roessner wrote: > > > Tom, > > > Have you considered using glibc? This would address your speed issues, > > > and possibly allow embedded systems to compile with uclibc. > > > > What about flex,bison,C/C++ for the compiler? > > I wanted to bring Tom some positive comments on his actual questions, but > at the risk of just popping up when the bike-sheds need painting, he's > already looking at Perl, and I believe Perl 6 will have a native compiler > as well as a bytecode interpreter. So (depending on memory footprint of > course) a Perl solution need not be locked out of embedded systems.
Nick, >From what I'm able to determine it's in alpha. It looks like it allows writing in perl and execution in c. I wonder if the generated code will compile with uclibc. Interesting stuff. :-) http://www.perl.com/doc/FMTEYEWTK/comp-vs-interp.html Another code-generator that produces compilable C code, except that this one doesn't just trace the steps the interpreter would have followed, but actually produces optimized code (for example, it would work with raw integers directly rather than calling the interpreter calls that would have done so). If your code makes use of any dynamically-loaded modules (like POSIX, Socket, Fcntl, FileHandle, etc.), then you must keep those modules' binary forms (POSIX.so, Socket.so, etc) around so they can be found when your executable gets run. Both backends one and two alleviate the need to store the original, pre-compiled source code anywhere. Backends two and three alleviate the need to keep the old PP interpreter lying about. Backend number three is the only one which is going to speed up execution time when compared with the old PP interpreter. -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: leaf, sitedocs ------------------------------------------------------------------------- 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
