in reply to Reading from two files at once

Not related to your question, more rather your field: I once wrote a neutralino detector simulator in perl for my physics degree...

This is some advance ammo for use against skeptics on your course. When someone complains that perl is too slow to use look at Inline::C or similar. Also don't try to work out which bits of the code to optimise up front, instead spend your time thinking about algorithms and then find your slow spots using something like Devel::Profile.

Perl is really excellent for modelling and simulations because it is fast to develop in and flexible. This is important as the chances are that any simulation may well take hours to run, so you will run them overnight. Perl might be slower, but does it matter that the simulation finished at 3am rather than 1am?

And finally, for when you venture off into MathsLand, don't forget to look into PDL. Good Luck, and don't forget to ask here if you get stuck.

--tidiness is the memory loss of environmental mnemonics

Replies are listed 'Best First'.
Re: Re: Reading from two files at once
by flyingmoose (Priest) on Feb 13, 2004 at 15:25 UTC

    "I once wrote a neutralino detector simulator in perl for my physics degree..."

    Is that the same as a neutrino? Or is that like a neutralectron :)

    Thanks for reminding me about PDL. flyingmoose needs to play with PDL too. There are just too many hardcore modules on my list that I need to play with in my space time. Math rocks.

    off-topic: I promise not to write any Perl Maple bindings anytime soon. Anybody else have to use this anal-retentive "language" in college? We had to use this beast all the way through Calculus III. No, flux integrals through fifth dimensional hypersolids cannot be graphed :) I've had some exposure to Matlab and very little to Mathematica, but none of them seemed as remotely annoying as Maple.

      Yep, neutralinos - look, there are even pictures out there.

      --tidiness is the memory loss of environmental mnemonics