4 ms·
These problems look like a lot of fun! Unfortunately, I'm currently learning Rust and would prefer to use it to solve these problems. It would be nice to suppo
by stonewareslord 5y ago
These problems look like a lot of fun! Unfortunately, I'm currently learning Rust and would prefer to use it to solve these problems.
It would be nice to support uploading a binary or solution (like project Euler) or a CSV of test cases next to solutions. Maybe I'll try compiling rust to c and upload the c file
- PolarizedPoutin 5y agoI'm excited to learn Rust actually so we might support it soon! It's not trivial to add support new languages since the engine app that runs user-submitted code needs to be able to run arbitrary code in your chosen language and needs a way to communicate with Python (either directly or through JSON passing). So far we've just been adding support for languages we know and use. But indeed there are hundreds of languages out there that would be nice to support in some way. I'm gonna think about how we can add a new "submission mode" where you're given a couple of test cases that you run manually with any language then submit your solution.
- a3n 5y agoYou could do the problems in rust, locally, and bask in the glow of accomplishment without communicating your results to the site. People self-study text books without sending in their solutions to the publisher.
- stonewareslord 5y agoThat's true. I am most interested in testing if my code works though. I don't see a 'cheat' option that gives you the correct answer I could check against. I do see that the engine is open source though. I'll look into contributing: https://github.com/project-lovelace https://github.com/project-lovelace