Egor's blog

By Egor, history, 2 years ago, In English

Hello!

I'd like to introduce new tool to use rust in competitive programming. Tool support parsing tasks (by using Competitive companion, testing on samples and additional tests, generating full source file when you use your library and generating unit tests based on tasks you solved.

You can checkout example repository with instructions on how to use from here. Huge thanks to qwerty787788 for extracting helper to a separate project

To use with Competitive companion you need to set custom ports in plugin settings to include 4244.

Sample interaction:

  • Vote: I like it
  • +91
  • Vote: I do not like it

»
2 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Can you explain a little more, why are you behind rust ? Because of some industry requirement ? I saw you posting about update of rust on atcoder twice. Why not just c++ ? is this only helpful if i am using rust ? Thanks for replying :), enjoy your day man !! Another thing I was going through the editor it supports, seems like majority of them are c++ based. Moreover I am new in this, on windows you download a file, click the executable and install in. Now consider this redPandaCpp, I am trying to install this on windows machine, how do I do that, I am trying to test it.

  • »
    »
    2 years ago, # ^ |
      Vote: I like it +23 Vote: I do not like it

    About rust — I think it is ideal for competitive programming. It is as fast as C++, but help you catch all your errors, including problems with memory safety.

    This tool will only work for rust, yes. You just clone repository, go into helper folder and "cargo run" it, from there everything is pretty straightforward. Can't tell much about other tools

»
21 month(s) ago, # |
  Vote: I like it -13 Vote: I do not like it

great