Re:Steve Jobs, NeXTSTEP, and Early Object-Oriented Programming
by astrange on Thursday November 14, 2024 @01:24AM
(#42133600)
Not sure if objc_msgSend is a runtime, but it does require malloc, so there are limits to how low level it can be.
[ Parent
| on HN ]
Re:Steve Jobs, NeXTSTEP, and Early Object-Oriented Programming
by mpweiher on Monday November 18, 2024 @02:49AM
(#42170568)
> objc_msgSend [...] does require malloc,
Are you sure about that?
]pwd
objc4/runtime/Messengers.subproj
]rg malloc
]
The two variants I implemented way back when also did not require malloc.And of course NeXT used objc_msgSend() in the kernel, to good effect, so that's pretty low-level.