Answering your implicit question:
"Programming Languages" generate "software programs" that generally fall into one of two categories:
1. Interpreted programs:
<= THESE CAN USUALLY BE RUN ON ANY PLATFORM
THAT HAS THE RIGHT INTERPRETER INSTALLED
2. Compiled programs:
<= THESE CAN USUALLY BE RUN ON ONLY ONE SPECIFIC
COMBINATION OF CPU ARCHITECTURE AND OPERATING SYSTEM
"Interpreted programs" are basically "scripts". "Perl" is a great example of an interpreted language: you can write a Perl program on Linux, copy your .pl file to Windows and (unless your Perl script calls some OS-specific feature), the script will run just fine in the new environment.
On Windows, it looks for a (clear-text) "autorun.inf" on the CD's root directory and, if it finds one, will execute whatever program "autorun.inf" says to run.
In general, "autorun.inf" points to a windows-specific .exe, and I would expect it to crash and burn if you tried to run it on a Mac.
But it could just as easily point to a platform-independent interpreted program .
Java would be a good candidate. Using Java would also necessitate putting two copies of the Java runtime on the CD: one copy for Mac, the other for Windows.
But the point is that there are lots and lots of possibilities - the details of each could vary wildly. I honestly don't know how Macs support "autorun" in general, or how your particular CD happens to work.
I point you back to the Wikipedia:
http://en.wikipedia.org/wiki/Interpreted_language
'Hope that helps .. PSM