azizamari / Ncodi

Tunisian Programming Language, Ncodi - Code in your own words.
http://ncodi.tn
Apache License 2.0
117 stars 11 forks source link

Pretty sure those "m" are not intended :P! #58

Open LyesSaadi opened 3 years ago

azizamari commented 3 years ago

It was temporarily intended since someone abused madem loop and ran infinite loops in my server and took it down 15 times 😅

azizamari commented 3 years ago

I implemented a solution to make a time limit in the online editor and I thought it worked at first but somehow the asynchronous task keeps running in my server even though the user gets a time exceed message. I have to fix that before and I don't know how to stop an asynchronous Task in C# (I still don't understand asynchronous code well 😅)

LyesSaadi commented 3 years ago

Well, no one understands async, it's like quantum mechanics, so I totally understand :laughing:!

But yeah, people abusing online code execution is an issue as old as the Internet itself :stuck_out_tongue:! An execution time limit is the only solution for preventing this (and that's the way most online compilers do, like Rust's Playground).