4 ms·
> It doesn't make sense to consider ObjC independent of platform considerations. I don't think that's true. You can code in ObjC on Windows and Linux - it's ju
by spacedcowboy 2y ago
> It doesn't make sense to consider ObjC independent of platform considerations.
I don't think that's true. You can code in ObjC on Windows and Linux - it's just nowhere near mainstream on those platforms. Clang is all you need, and the GNUstep project provides the runtime. I have an SDL app up and running in Visual Studio which is written in ObjC - SDL is just doing the rendering.
ObjC is not an Apple-created technology, it was invented by Brad Cox and used by NextStep so it became the de-facto language of choice for Apple's frameworks when Next did the reverse-takeover of Apple.
- lapcat 2y ago> it's just nowhere near mainstream on those platforms. That's an understatement. > I have an SDL app up and running in Visual Studio which is written in ObjC What's your background, though? When did you learn ObjC, and why? > ObjC is not an Apple-created technology I know that, but nonetheless its usage outside of Apple development is close to nil.
- spacedcowboy 2y agoI'm not claiming it's popular outside of MacOS. I just think your statement is too strong. It doesn't matter what my background is. It is possible (supported, even, by Microsoft) to create ObjC binaries. They even had (until recently, project seems to be abandoned) a port of Cocoa derived from The Cocotron to make it easier to bring Apple apps over to Windows.
- lapcat 2y agoMy point is that every extant implementation of Objective-C outside of Apple's own developer tools is inspired by and used by current or former Apple platform developers. Nobody today who was never an Apple platform developer has any interest in Objective-C. And that's why my statement is not too strong. Objective-C developers are a dying breed even within the Apple developer community. I continue to use Objective-C exclusively myself, but I'm a minority.
- pjmlp 2y agoThey will need to rewrite Metal into something else, as it is Objective-C with Swift bindings. Hence why Metal-Cpp has a mini Objective-C interop layer.
- pjmlp 2y agoThat project went nowhere and was never more than a basic kind of Hello World, it is from Windows 10 early days, when Windows Phone still mattered. The Android variant of similar age, is what was in the genesis of WSL, after being ramped down as well.