From: "Berger, Daniel" Date: 2006-07-28T06:47:12+09:00 Subject: Re: converting some autogenerated ruby code to C > -----Original Message----- > From: Eric Mahurin [mailto:eric.mahurin@gmail.com] > Sent: Thursday, July 27, 2006 3:26 PM > To: ruby-talk ML > Subject: converting some autogenerated ruby code to C > > > One of the next things I want to do in my grammar package is > to give it a performance boost by generating C code instead > of ruby code. Right now the parsers I generate are a set of a > few methods with giant expressions in each. I would like to > try improving the performance by generating and compiling C > code instead. My preference would be to convert my small > subset of ruby code to C code (easily have an option to use > pure ruby or use ruby/C), but I could also autogenerate C > code instead. Anybody have any opinions/ideas about what > approach I whould take? Couldn't you start with Ruby, see how it performs, and add C support later? Or does it become more difficult later? Just remember, not everyone has a C compiler on their system... Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.