Re:Re: C as used/implemented in practice
by carlosrg on Tuesday July 14, 2015 @06:32AM
(#9883886)
Until I see really big and open source projects like WebKit or Clang itself moving to Swift or whatever, anything I read about moving to "better systems languages" is like reading a letter to Santa Claus. I doubt C++ is going anywhere, especially when C++ itself is not standing still and evolving (C++11, 14, 17...) while maintaining backwards compatibility.
[ Parent
| on HN ]
What about having early versions Mac OS written in Object Pascal, only to rewrite it in C for pleasure of the UNIX hordes?
Re:Re: C as used/implemented in practice
by GFK_of_xmaspast on Tuesday July 14, 2015 @10:03PM
(#9889312)
I wasn't a mac user until later, are you saying that was done for reasons of ideology?
Yes. Mac OS was initially written in a mix of Object Pascal and Assembly.
Even Photoshop 1.0 was, check the available source code.
Object Pascal was the inspiration for Turbo Pascal 5.5 OOP extensions.
After a few OS releases, UNIX was already getting user in the industry and pressure from users about C compiler availability grew.
Apple introduced a new SDK with C and C++ support, including a C++ framework. Afterwards the new OS apis were written in C.
Also by this time, Apple did their first attempt at the UNIX market with A/UX.