My God. "Turing-complete." But the real question is: why?
Why don't you ask Pedro?Quote: from Cloud121 on 2:02 pm on Jan. 23, 2002
...(although I gotta learn Pascal first, or else C is gonna be tougher than #### to learn (or so my good friend Pedro says, Programmer Extraordinaire in Pascal, C, and Java )) is C more universal than Pascal? Or can I use Pascal is program ANYTHING?
This is true, but C doesn't offer a huge advantage on platforms like SMS and MD unless you're trying to write portable code (which opens up a whole other can of worms). Since the hardware handles the details of pixel blasting and sound, the benefits of using prewritten libraries are kind of diminished - no matter what you do, you still need to deal with that hardware's programming model to get anything useful out of the system. That's why I recommend assembly language for MD and SMS, not for performance.If you've properly optimized your program, profiled it and identified the trouble spots then by all means convert them to assembly, but trying to get a faster program by reimplementing bad C code in equally bad assembly isn't going to do you much good.