Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Theoretically, sure! But that's an enormous effort. This is actually what the goal of GNUstep is and has been from the start, and I kind of doubt there's even a single codebase (apart from, maybe, example code) that will compile on both Xcode and GNUstep without major changes.

Edit: To be clear, GNUstep is something like 6 years _older_ than Mac OS X, so it's had plenty of time to catch up. The problem is really that these APIs are constantly changing and being extended. The goalpost is moving far too fast to ever meet it.



Microsoft tried porting GNUStep to Windows as part of the Windows 10 "iOS Bridge". They gave up, which is actually kind of sad.


As far as I know they largely based this on Cocotron[1], without giving credit.

And of course it wasn't so much "giving up" (which sorta implies it was the difficulty of the task), but more "losing interest", because they discontinued Windows Phone, where they were behind Apple's iOS in terms of market share. In that context, getting iOS apps on their system is economically interesting.

On desktop, Windows is way ahead of macOS in terms of market share, so there isn't much of a point.

[1] https://cocotron.org


There was actually an official implementation of OPENSTEP for Windows NT. And later on, you could still get the runtime (called Yellow Box) via WebObjects for example. Not sure if it still exists anymore nowadays.


Wow, do you have any source on that? Would love to read more about it!


On the heyday of trying to cater devs into WinRT, Microsoft had a couple of projects:

- Project Astoria[0], for porting Android apps

- Project Centennial[1], for porting Win32 apps

- Windows Bridge for iOS[2], for porting iOS apps

Project Astoria was later rebooted into WSL, and now with Windows Subsystem for Android we are back at Astoria's original goal.

[0] - https://en.wikipedia.org/wiki/Windows_10_Mobile#Project_Asto...

[1] - https://blogs.windows.com/windowsdeveloper/tag/project-cente...

[2] - https://blogs.windows.com/windowsdeveloper/2015/08/06/open-s...


Ok, I'm very much paraphrasing from "shit I read on Wikipedia", but WinObjC does exist and it did use parts of GNUStep: https://github.com/Microsoft/WinObjC/issues/116




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: