Hacker News new | ask | show | jobs
by DominoDataLab 4359 days ago
We let users run arbitrary shell scripts, so you can use that to run C code -- either by compiling binaries for x86-64 and including them in your project, or by running a shell script that first compiles your code, and then executes the resulting binaries. It hasn't been a common use case, but we definitely have some folks doing that.
1 comments

Thanks for the quick reply! Would you be willing to provide some more details about your service? Just so I understand: I can just upload my C code and you will run it...can you tell me how to do that? As in, prove that this is possible by at least mentioning this somewhere in the documentation? Or perhaps giving me a link to the appropriate reference material at dominoup.com? The website is very slick.
Hi there. I've made a sample public project you can check out to see an example of running C code [0]. I just wrote a shell script that compiles my C code and then executes the resulting binary. Then I tell Domino to run my shell script. Voila. Let me know if you have any questions.

We allude to this in our FAQ ("What if I want to run C++ code...") but we'll update the docs to make the specific instructions more clear.

[0] https://app.dominoup.com/nelprin_at_mac/c-example

c++ LOL! I love it. Thank you so much. I don't mean to hate on C++ too much.

much love!