back to list

Re: [tuning-math] Digest Number 2117

🔗Jon Wild <wild@music.mcgill.ca>

6/21/2007 8:08:46 AM

Paul Hj wrote:

> What language did you use for
> your Z-relations program again?

C. You have to do more work up front--it's a fairly "bare bones", close-to-the-metal language--but for programs whose runtime grows combinatorially with the size of the scale, writing optimised loops and your own lean C functions will let it run much quicker than a program in an interpreted language like Maple.

This problem of enumerating scales is much smaller and I doubt you'd find a difference between a fast compiled language like C and an interpreted language. You could learn a modern language like Python and code what you want much more easily--so what if it takes 6 seconds to run, instead of 60 milliseconds. (The problem is when it takes 6 days instead of 60 minutes, for big problems.)

--Jon