Hey. Me and a few of my programming-ignorant friends were having a discussion the other day and we sort of have a bet going. We were talking about language compatability across different platforms. The argument was over this: take a simple program and write it for a PC. If you want it to work on a Mac, will you have to re-write it if it's in:
-Assembly (no idea. beyond any experience of mine)
-C (I say you'd have to re-write it.)
-Fortran (I say you'd have to re-write it. This is used for some of our business software, I think)
-Java (OK, I don't really know the difference between this and JS)
Any help would be appreciated. It was a friendly bet, but I'd like to know if I got at least a few right.
-John M. L.