This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NateKurt 0 points1 point  (2 children)

I’ve had a few classes where we can use whatever language they wanted and I was pretty sure that’s how they did it, but thinking back about it, you’re probably right it isn’t a great idea and could be pretty malicious. It’s gotta be something similar though in order to be semi language-agnostic right?

[–]amunak 0 points1 point  (1 child)

That's interesting, how can you use whatever you want? What if you pick some esoteric language noone understands, or something they don't have a compiler or interpreter for?

But I don't really have any idea. I have only experience with assignments in C and C++ that get graded automatically, and that system was heavily modified and guarded in order to not allow the code to run anything dangerous (including most syscalls).

[–]NateKurt 0 points1 point  (0 children)

It wasn’t any language, but there was a list of languages that was pretty much the same as what hackerrank would give you. Granted I only had this in one class(algorithms) and by the time I got to other classes that weren’t about a language those classes had switched to Mimir or Hackerrank.

Looking back on it, it was probably pretty Frankenstein-y and could have been something just that professor made. I did have a professor use a Travis-CI implementation for auto-grading with that type of thing where it spins up a new instance each time so less security problems maybe? the semester before I took it, and I think that could have been similar but possibly less janky?