logoalt Hacker News

w4rh4wk5today at 11:53 AM2 repliesview on HN

I am wondering whether this would actually be a helpful compile option in upstream rustc for quick prototyping. I don't want prod code to use this, but if I want to try things out during development, this could substantially shorten the dev cycle.


Replies

Philpaxtoday at 12:05 PM

After a while, you just don't write code that would cause substantial borrow-checker problems, even when prototyping. I'd say the slow compile times are much more of an impediment for a practicing Rust prototyper than the borrow checker.

0xdeafbeeftoday at 11:57 AM

What the point, though? You will get compiling code, but later you would need to reachitecture code to avoid violating rust rules.

show 1 reply