3 ms·
A language like C++ without a stable ABI makes a terrible OS framework language since you'd have to recompile apps every time the framework classes change.
by cageface 5y ago
A language like C++ without a stable ABI makes a terrible OS framework language since you'd have to recompile apps every time the framework classes change.
- chunkyguy 5y agoThe same problem we have now with Swift. Even after ABI stability code compiled and linked across different versions don't often work.
- vetinari 5y agoThat's one of the problems that original BeOS had -- they were locked into gcc 2.95 abi. In the late days of BeOS, gcc 3 was released and it was not possible to use it.
- nielsbot 5y agoI also think C++ is uniquely bad for this. There are maybe other languages that would fare better, perhaps even C. For example, CoreFoundation has a C API... that would be a bit of a test of a C-only framework world. You can see however that's missing the convenience of Obj-C. I hope Swift will be successful. It is nice to use (most of the time).
- cageface 5y agoSure. Win32 and Unix are good examples of OS's with a C interface.