Ask coding questions

← Back to all posts
How does compile and execute code
Sonjeet (4)

Hey all,

For my computer science dissertation I'm required to integrate an online code editor that can compile then execute the user entered code. I understand that for the client side I can just use open source code editors.

However, would anyone be able to guide me in how I would compile the code for something like c++ or python and display the executed results on the client side?

I'm assuming that I just send code to my server through a POST request? Also, security is not a massive concern at this stage.

Looking forward to hearing your input :)

JaneJLocane (1)

Writing a dissertation is not an easy task. At the university, I tried to do all the assignments by myself. But it is extremely difficult to devote maximum time to writing each work. Therefore, I turned for help to the research paper service for writing my dissertation. Thus, I was able to pass it on time and not sit for days on textbooks.

kingmanas (0)

Yes you would send the code in a post request, talking of security, deploy it in a chroot jail or simply speaking, in a docker container. There are also tools on github which do a security check for your docker containers.