View Single Post
  #90  
Old 06-03-2012, 09:39 PM
Continu0 Continu0 is offline
Approved Member
 
Join Date: Aug 2011
Location: Luzern, Switzerland
Posts: 702
Default

Quote:
Originally Posted by Blackdog_kt View Post
Depends on the size of the libraries. It's definitely not a copy/paste thing though and it goes into more than just "translating" the syntax from one language to another.

For example, say i have a small game written in Java or C# on my PC. These languages have what is called an automatic garbage collector: any entity that has served its purpose and not being used anymore is automatically purged from the PC's memory.

Now let's say i want to port my little game to objective C so that i can sell it on the apple store and make money off people with iPhones. I have to comb through the code and manually tell it exactly what and when to purge from memory, because it's not automatic.

The behaviour of certain commands can also complicate things, in one language a command does something and exits that block of code, in another language it might do things in a different sequence, etc.

All in all there is some complexity involved, so the deciding factor here is the amount of code to be "translated" between languages.
Thank you!
__________________
AMD Penom ll 6x 1055T Processor 2.8 GHz // 8GB Ram // XFX Radeon HD 7870 Black Edition DD (2048 MB Memory DDR5, GPU 1055MHz) // Windows 7 Professional 64 Bit Version
Saitek x52 // Saitek Throttle Quadrant // Saitek Pro Flight Rudder Pedals // Track IR 5
Reply With Quote