HaliteChallenge/Halite-III

Update Rust

lidavidm opened this issue · 3 comments

Update Rust

The two questions I always when updating a language during the contest. Will this effect already submitted bots? And how will this effect users already using the language?

I think rust is probably safe on the first question, as I don't believe it has a runtime that the update would effect. Will this end up changing a dynamically linked standard library though?

I'm not familiar with rust's backward compatibility stance. If a user uploads after the update while having been developing with the current version how likely is that to cause a problem?

Generally Rust will statically link other Rust libraries, including the standard library, since there's not yet a defined ABI. And Rust generally tries to maintain backwards compatibility, though IIRC minor things have broken in the past. They are introducing breaking changes in the latest compiler, but authors have to opt-in to them at the project level.

I could go through the current Rust bots and make sure they still compile and run after the update (there seem to be about 50 currently)

I don't think you need to bother checking that they will all still compile without any change. From what you said it sounds like it should be good and if something does break there it will be immediately obvious when the person resubmits.

It also sounds pretty safe that the already compiled bots will continue running without a problem after the upgrade. I would be more inclined to try running those current binaries on an upgraded server or at least keeping a close eye on them right after the upgrade.