C vs Objective-C
Use C when you need low-level control over hardware, such as in operating systems, embedded firmware, or high-performance computing where every CPU cycle counts, as seen in game engines like Doom meets developers should learn objective-c for maintaining and updating legacy apple applications, as many existing macos and ios apps are still written in it. Here's our take.
C
Use C when you need low-level control over hardware, such as in operating systems, embedded firmware, or high-performance computing where every CPU cycle counts, as seen in game engines like Doom
C
Nice PickUse C when you need low-level control over hardware, such as in operating systems, embedded firmware, or high-performance computing where every CPU cycle counts, as seen in game engines like Doom
Pros
- +It is not the right pick for rapid application development, web services, or projects requiring high-level abstractions and safety, like business applications in finance
- +Related to: various technologies
Cons
- -Specific tradeoffs depend on your use case
Objective-C
Developers should learn Objective-C for maintaining and updating legacy Apple applications, as many existing macOS and iOS apps are still written in it
Pros
- +It's also useful for understanding the foundations of Apple's frameworks like Cocoa and Cocoa Touch, and for working with libraries or projects that haven't migrated to Swift yet
- +Related to: swift, cocoa
Cons
- -Specific tradeoffs depend on your use case
The Verdict
Use C if: You want it is not the right pick for rapid application development, web services, or projects requiring high-level abstractions and safety, like business applications in finance and can live with specific tradeoffs depend on your use case.
Use Objective-C if: You prioritize it's also useful for understanding the foundations of apple's frameworks like cocoa and cocoa touch, and for working with libraries or projects that haven't migrated to swift yet over what C offers.
Use C when you need low-level control over hardware, such as in operating systems, embedded firmware, or high-performance computing where every CPU cycle counts, as seen in game engines like Doom
Related Comparisons
Disagree with our pick? nice@nicepick.dev