Earlier quoted context omitted.
It is in the top 3 issues with Scala as well. The amount of drag it causes in a project just isn't worth it.
FWIW, I don't find it to be a big issue in Scala anymore with SBT's incremental compilation.
A Doom Renderer written in Rust
61–69 of 69 posts
Re: A Doom Renderer written in Rust
#62Earlier quoted context omitted.
I am a huge sponsor of agile, but in the enterprise world I work on, strong type checking wins over unit tests. It is a lost battle trying to make enterprise guys to write a single line of unit tests.
Ruby has strong type checking. ;) Static typing vs. unit tests is a false dichotomy.
Not at the enterprise.
In what is now almost 30 years of dealing with computer systems. I only had the luck to work at one single company that took unit tests seriously.
All the other companies, the guys just write tests if a manager imposes them (usually only if the customer makes it a condition of payment), or they are somehow related to their performance evaluation.
Otherwise, the best you can get are integration tests at around one month before delivery date.
Ah, and agile in the enterprise is a synonym for a 3 week long mini-waterfall project.
Re: A Doom Renderer written in Rust
#63This is sort of off topic, but the fact that every change to the source requires (on my machine) 3-4 full seconds to recompile, without optimization, is indicative of the compiler performance problems that remain my main roadblock with Rust.
3-4 seconds is extremely fast if you're coming from the C/C++ world. I can't see how this could possibly be a roadblock.
That said, I expect incremental compilation built into rustc to greatly improve the situation - if done right, it should easily beat C++, although I don't know the details of the plan - so I'm happy someone is working on it. (In the past I wanted to work on it myself, but I was in a big generally unproductive slump..)
Re: A Doom Renderer written in Rust
#64These are really valuable projects. It's not only a nostalgic project to hack on. It's also a learning tool for those interested in game programming, idiomatic Rust, and C-to-Rust conversion. Even building complex software from requirements. Thank you, Cristi Cobzarenco.
Re: A Doom Renderer written in Rust
#65why do these post's titles keep getting moderated? "Doom I/II written in Rust" is a fine title for what this is.
Re: A Doom Renderer written in Rust
#66Holy crap, this is f *ing awesome. Rust has made systems programming exciting for me again. Seeing well written Rust code like this (also, the repos on Github https://github.com/trending?l=rust ) has been a really good learning experience. As a Rust newbie, I only wish there were better examples of testing in public Rust repos.
>As a Rust newbie, I only wish there were better examples of testing in public Rust repos. Testing is incredibly easy. The reason you may have missed the testing is that tests are often in the same file as tested code. Go back and check, it's very common in Rust to test your code. And it's as simple as writing: #[test] on the line before your unit test function, and then using some of the unit test macros in std like…
Re: A Doom Renderer written in Rust
#67Re: A Doom Renderer written in Rust
#68Earlier quoted context omitted.
really doesn't matter how long the compiler takes, so long as the result is fast.
That's not true; for quick turnaround it's important to be able to get results out of the compiler quickly.
Re: A Doom Renderer written in Rust
#69Earlier quoted context omitted.
That's not true; for quick turnaround it's important to be able to get results out of the compiler quickly.
In what scenario does executable correctness and performance take a backseat to compiler runtime? Seems backwards to me.