3 ms·
Snow Leopard Adds Closures to C (and its derivatives)
- nathanb 17y agoSo basically Apple is pulling a Microsoft by adding a platform-specific extension to an otherwise cross-platform, portable language?
- philwelch 17y agoFor C, yes. For Objective-C, Apple already owns it so no problem. It seems like conforming ANSI C code should still work so it isn't a weird IE6 cross-incompatibility issue.
- nathanb 17y agoSure, but now there's a variant of C that will only work on Apple platforms...
- philwelch 17y agoI think if you're writing C code, you're either writing systems code yourself, or you're writing application code for a particular operating system, or you're writing something that's explicitly cross-platform by design (like a programming language runtime). I think anyone facing these three situations would be able to judge whether or not to use Apple-C closures.
- electronslave 17y agoYou'll just have to trust me when I tell you that this syntax actually makes sense to seasoned C programmers. What?
- fogus 17y agoThere is also an ongoing discussion at http://groups.google.com/group/comp.lang.c++.moderated/browse_thread/thread/f6479d0d4dab8592 http://groups.google.com/group/comp.lang.c++.moderated/brows...