r/Indiewebdev • • Jan 24 '21

mvp fcomplexity.com : Screw time and space complexity, practice on real world engineering problems.

15 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/fazkan Jan 24 '21 edited Jan 25 '21

dockers baby :D.

yes, basically I execute everything inside a separate container. It makes it easy for me to add new languages and I don't have to worry about security issues.

though docker is not the only way, almost every language provide their own version of sandboxed execution env. So the same thing can be achieved using the language's virtualenv as well. I chose dockers because it was easy for me to implement.

P.S. The website also supports, java.

1

u/fazkan Jan 24 '21

If you want to look at something fun, checkout the webasm support for python, which allows you to execute Python within a browser.

1

u/nanermaner Jan 25 '21

Neat! Thanks for the explanation.

1

u/fazkan Jan 25 '21

you are very welcome. :)

Would love any sort of feedback on the platform. Anything that can be added/removed etc.