View Single Post
  #88  
Old 06-03-2012, 07:49 PM
Blackdog_kt Blackdog_kt is offline
Approved Member
 
Join Date: Jan 2008
Posts: 2,715
Default

Quote:
Originally Posted by zapatista View Post
meaning what ? a few edits in some lines of code that are critical for this function, or months of rewriting large chunks of code ?
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.
Reply With Quote