How does MS maintain cross-platform source code?
Joel said he has written everything that he has to say. But one thing he has not talked about is how Microsoft maintains their source code, particularly Excel, for different platform. Yeah, it is easier to say they use p-code, etc. but how does it get away with platform specific GUI related stuffs and COM interface. (Don’t tell me MS uses RealBasic)
"Joel said he has written everything that he has to say".
Steve Jones (UK)
I don't think there is a secret GUI library. I even think that Mac and Windows developers of the same product doesn't share a large part of their source code.
If you took the Microsoft label off Office or IE for the MAC and Windows it would not be obvious they come from the same company. However, some time ago Microsoft ported IE and Media player to Solaris. These two apps looked identical to their Windows counter parts. That would be the code I would be interested seeing how they ported it.
They have a business partner called MainWin who has an MFC to Unix porting package.
MainWin does a lot more than just MFC conversion. They implement a Windows-like runtime on Unix. It's like Wine, but with legal access to the Windows source code.
MainWin... these were the braintrusts that were responsible for leaking the Windows source code because the CEO or CTO had it on a network-connected machine that he was too lazy to secure.
I worked at Microsoft _very_ briefly before deciding to go back to my old company. Part of the frustration was having to reimplement font dialogs, table border dialogs, etc.
You can mine some info on this from Rick Shaut's blog http://weblogs.asp.net/rick_schaut/ at times.
Just me (Sir to you)
Fog Creek Home