Running C Code in iPad

Hi!


Is there a way I can run a C code in an iPad?

iPad Air, iPadOS 16

Posted on Feb 16, 2023 6:15 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 16, 2023 6:44 PM

maplew1nter wrote:

Is there a way I can run a C code in an iPad?


Yes, but you’ll need a Mac with Xcode to build the C app for the iPad.


Yes, if you have another computer Emscripten, and are willing to run the C code in Safari. (See below.)


Yes, if you want to use a solution such as Godbolt and run the C code remotely.


No, if you seek a local C compiler and a traditional local compile, link, run, debug cycle with the C code. (This is what the previous reply references.)


PS: here is Linux booted in Safari running on an iPad Pro: https://bellard.org/jslinux/ (fast network link preferable.)


2 replies
Question marked as Top-ranking reply

Feb 16, 2023 6:44 PM in response to maplew1nter

maplew1nter wrote:

Is there a way I can run a C code in an iPad?


Yes, but you’ll need a Mac with Xcode to build the C app for the iPad.


Yes, if you have another computer Emscripten, and are willing to run the C code in Safari. (See below.)


Yes, if you want to use a solution such as Godbolt and run the C code remotely.


No, if you seek a local C compiler and a traditional local compile, link, run, debug cycle with the C code. (This is what the previous reply references.)


PS: here is Linux booted in Safari running on an iPad Pro: https://bellard.org/jslinux/ (fast network link preferable.)


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Running C Code in iPad

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.