Objective-C Language Features

The cluster focuses on discussions about Objective-C's capabilities, runtime, semantics, and usage in Apple frameworks like Cocoa, including comparisons to other languages and debates on its practicality and performance.

πŸ“‰ Falling 0.4x Programming Languages
3,628
Comments
20
Years Active
5
Top Authors
#7195
Topic ID

Activity Over Time

2007
2
2008
37
2009
110
2010
216
2011
328
2012
463
2013
368
2014
395
2015
225
2016
213
2017
160
2018
140
2019
180
2020
119
2021
171
2022
104
2023
161
2024
132
2025
101
2026
3

Keywords

right.html apple.com mikeash.com ocrtHowMessagingWorks.html FFI MacRuby LLVM ABI i.e FoundationRefUpdate objective method arc code obj object objects garbage collection runtime gc

Sample Comments

alexbell β€’ Feb 12, 2014 β€’ View on HN

No need to! ObjC developers have soldiered on for years and years without such fanciness.

qaq β€’ Dec 20, 2021 β€’ View on HN

Sure using a bit of Objective-C

pjmlp β€’ Jan 30, 2025 β€’ View on HN

Sorry, but that seems like not being knowledged of the spectrum of Objective-C capabilities then, specially to the extent how it was used in NeXTSTEP and first round of OS X frameworks.

miohtama β€’ May 30, 2021 β€’ View on HN

Does this actually apply only for Objective C or can other programming languages benefit as well?

LeoNatan25 β€’ Apr 19, 2024 β€’ View on HN

This isn’t an example of that. Have you looked at the code? This uses ObjC and Cocoa implementations in an unintuitive method. Nice exercise to learn about the ObjC runtime, but has zero practicality or use.

spacedcowboy β€’ Sep 14, 2023 β€’ View on HN

Objective C. Why yes, I do work at Apple...

pjmlp β€’ Apr 24, 2023 β€’ View on HN

Indeed, it is based on Objective-C semantics.

quelsolaar β€’ Sep 12, 2023 β€’ View on HN

No its not. All Objective C objects can be assessed using a C API. This C api is very hard to use, so tecnically its nicer C code wrapping a bad C API.

ajanuary β€’ Jan 12, 2015 β€’ View on HN

Objective-C does this. I've not used Objective-C enough in the wild to say how often it causes issues.

saagarjha β€’ Sep 26, 2024 β€’ View on HN

Most of Apple's Objective-C code is in the application layer just like yours is