Skip to content
← Back to Community
How does repl.it compile and execute code
Profile icon
Sonjeet

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 :)

Voters
Profile icon
BannedBanned
Profile icon
RafaelaOlivei10
Profile icon
AlexanderDerbas
Profile icon
SuhailAhmed2
Profile icon
MurtazaZ
Profile icon
dorukozer
Profile icon
Sonjeet
Comments
hotnewtop
Profile icon
JeffThorsen777

Thanks a lot!

Profile icon
WilliamChen65

I in reality price your hard-working work for bringing this useful article thank you for sharing this useful data. Continue blogging! It's overcoming the sturdy situations that make you extra beached and in a while the awesome instances will take after, preserve writing on your encounters and we need to all pressure together. We are imparting principal facts to the college students at on the net. Our writing carrier advantage is having come across experts for making a large vary of undertakings is effective way. You can go your on paper work papers with fantastic from custom essay writing services.

Profile icon
ashishkumar145

I m also looking for the code to create a tool youtube thumbnail downloader in c++ but not able to find a attached library regarding this tool.

Profile icon
JaneJLocane

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.

Profile icon
kingmanas

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.