-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put Cocotron on top of MulleObjC #3
Comments
@mulle-nat in what way we should address it? I have some thoughts:
Do you have any other ideas? |
I would talk to @cjwl and ask how he would prefer to handle it (Basically if things work out via github notify, I am doing this right now :)) |
Hi, if you want to do this it makes sense to make a PR to the original repo which ... a) makes the required changes to tie Foundation to mulle-objc provided they are MIT and conditionalize them. b) implement a script which downloads mulle-objc, build it for the desired platforms, and manage the build flags which conditionalize the usage of it in Cocotron Cocotron supports a variety of optional third party libraries, e.g. openssl for ssl support in CFNetworking stuff, libjpeg for image decompression, etc. Adding mulle-objc would fit into this pattern. The important thing is that it becomes an optional objc runtime drop-in, Cocotron supports its own runtime, and the gnu ones, mulle would just be another one. |
Hi cjwl thanks for considering to accept a possible future PR for mulle-objc. Very kind. I don't know if you ever looked at MulleObjC. mulle-objc is not a compatible runtime, there is a list of classes and protocols , that would get #ifdef swapped out from Cocotron/Foundation.
As the compiler declares itself with e.g.
e.g.
I could see a problem with this, if you were using "bridging" with CoreFoundation classes, but the CoreFoundation in Cocotron seems to be pretty much devoid of actual content, so it's maybe not a problem ? |
Porting Cocotron to mulle-objc should be relatively easy. Remove the Cocotron classes that are supplied by MulleObjC and you might be good to go. Cocotron looks like its also MIT or BSD licensed.
The text was updated successfully, but these errors were encountered: