On 10/5/05, <b class="gmail_sendername">Walter Dnes</b> <<a href="mailto:waltdnes-SLHPyeZ9y/tg9hUCZPvPmw@public.gmane.org">waltdnes-SLHPyeZ9y/tg9hUCZPvPmw@public.gmane.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Oct 05, 2005 at 09:53:05AM -0400, Lennart Sorensen wrote<br><br>> I really don't think I miss BASIC at all. Nope quite sure. :)<br>><br>> Why use BASIC when many much nicer languages with saner syntax exist
<br>> like OCAML, Python, etc.<br><br> I've recently begun a personal pet project where I need to process a<br>honking big text file and produce a relatively smaller, but still quite<br>large text file. I need a *COMPILED* language for that. I need to have
<br>multiple filehandles reading from the same input file. I need to do<br>string-handling and number-crunching. If..THEN..ELSE, SELECT CASE, and<br>various looping constructs are required.</blockquote><div><br>
Hi Walter,<br>
<br>
I don't know if I'm suggesting something that's already been burnt to a
crisp, but either awk or Perl will give you great speed for processing
honking big text files, even using multiple file handles.<br>
<br>
Perl (with which I have some experience) can be used without object
orientation and multiple inheritance. You can use it strictly (heh) as
a command line utility; no vast GUI to deal with.<br>
<br>
I have successfully used Perl with multi-gigabyte files; it's an
industrial strength solution. Only if speed is absolutely the highest
priority should you need to go to hand optimized C code .. and I have
lots of experience with C as well, it's lightning fast but can be slow
to develop. Perl is almost as fast, but very quick to develop.<br>
<br>
Alex<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I do *NOT* need "abject ornamentation". I do *NOT* need multiple<br>
inheritance that creates an object that's both a tooth paste *AND* a<br>floor wax. Bill Gates' "Visual Basic" abortion has "embraced and<br>extended" Basic and given lean/mean compiled Basics an undeserved bad
<br>reputation.<br><br>--<br>Walter Dnes <<a href="mailto:waltdnes@waltdnes.org">waltdnes-SLHPyeZ9y/tg9hUCZPvPmw@public.gmane.org</a>><br>An infinite number of monkeys pounding away on keyboards will<br>eventually produce a report showing that Windows is more secure,
<br>and has a lower TCO, than linux.<br>--<br>The Toronto Linux Users Group. Meetings: <a href="http://tlug.ss.org">http://tlug.ss.org</a><br>TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>How to UNSUBSCRIBE:
<a href="http://tlug.ss.org/subscribe.shtml">http://tlug.ss.org/subscribe.shtml</a><br></blockquote></div><br><br clear="all"><br>-- <br>----------<br>Linux, Firefox and GMail .. what a combination.