4 ms·
building libwebsockets on iOS can be quite a chore for many, however, and the authors of the library are not shy to express their distaste for Apple products, w
by hellofunk 10y ago
building libwebsockets on iOS can be quite a chore for many, however, and the authors of the library are not shy to express their distaste for Apple products, which I find inappropriate.
- woodman 10y agoI can't speak to the appropriateness of publicly expressing distaste, but I'd expect building any nontrivial C library for iOS to be a chore - because Objective-C isn't C.
- hellofunk 10y agoObjective-C has nothing to do with it, actually (despite that Objective-C technically is C with a superset of features -- all C is compatible Objective-C). The issue is the build/compilation process for the different platform architecture via cross-compilation. Tends to be rather tricky, regardless of the actual language you choose to write your app with (this build process is entirely separate from any code you write yourself in any supported iOS language).
- woodman 10y agoI'll have to defer to your expertise in Objective-C and iOS, because it was my understanding that C was not a first class citizen in the iOS world. Like with Windows, Microsoft has treated C like a redheaded stepchild. Yes C++ is a superset of C, but it is still a huge pain to get working in Windows. Do you have a favorite platform independent C project that handles iOS deployment well that you can direct me to?
- eatonphil 10y agohttps://github.com/richardjrossiii/CBasediOSApp https://github.com/richardjrossiii/CBasediOSApp
- woodman 10y agoI hope you didn't put much effort into tracking that down for me, because that isn't what I would call a "favorite platform independent C project". I guess it could be someone's favorite something, but I think it would make most programmers sad. Thanks for trying though.
- eatonphil 10y agoI didn't. This (or something very similar) was on HN a few weeks ago so I remembered it.