Live data from Hacker News

Is it possible to write plain C iOS app in 2025?

news.ycombinator.com

1–10 of 74 posts

Re: Is it possible to write plain C iOS app in 2025?

#7
If you just want to write C and are ok linking to stuff that is in other languages, then I used SDL2 for my game which I wrote in C and is on the app store. It was a very pleasant experience, and if I were doing an iOS thing again, I would likely do something similar.

I think I had one objective C file in there for calling a library function I needed, but otherwise I just wrote C code.

Re: Is it possible to write plain C iOS app in 2025?

#9

If you just want to write C and are ok linking to stuff that is in other languages, then I used SDL2 for my game which I wrote in C and is on the app store. It was a very pleasant experience, and if I were doing an iOS thing again, I would likely do something similar. I think I had one objective C file in there for calling a library function I needed, but otherwise I just wrote C code.

Just SDL2? Do you have access to OpenGL or some sound library as well? and if so what library are you using? How do you handle input and networking?

Re: Is it possible to write plain C iOS app in 2025?

#10

If you just want to write C and are ok linking to stuff that is in other languages, then I used SDL2 for my game which I wrote in C and is on the app store. It was a very pleasant experience, and if I were doing an iOS thing again, I would likely do something similar. I think I had one objective C file in there for calling a library function I needed, but otherwise I just wrote C code.

SDL2 is awesome. Just the right level of abstraction for me (not "all-in" like Unity, etc.).
Post reply on HN