3 ms·
That's called porting. And whether or not it is a lot of work depends on how much foresight you had about doing that at some point in the future. If you didn't
by jacquesm 9y ago
That's called porting. And whether or not it is a lot of work depends on how much foresight you had about doing that at some point in the future. If you didn't then it would be a very large amount of work because platform assumptions would be baked in all over the place. If you did - and you were a disciplined programmer - then it could be reasonably quick. I've written software that ported cleanly between Windows and SGI Irix, the original was built for the SGI and when windows capabilities caught up it was relatively straightforward to port, I tried very hard to keep all the platform dependent stuff in a single file so I knew exactly which bits to leave untouched and where to use the chainsaw.