Re:Implications of Rewriting a Browser Component in Rust
by millstone on Thursday February 28, 2019 @11:34AM
(#19272567)
These are all ways that Rust is neutral or better. Were there any ways that Rust was worse? For example, did the previous code use value-type templates? If so how was their absence worked around in the new code?
[ Parent
| on HN ]
Re:Implications of Rewriting a Browser Component in Rust
by Thaxll on Thursday February 28, 2019 @11:55AM
(#19272760)
Chucklefish made some buzz few month ago saying they were writting there new game in Rust, they now stopped and went back to C++.
https://www.reddit.com/r/programming/comments/atyzz4/halley_...
Re:Implications of Rewriting a Browser Component in Rust
by steveklabnik on Thursday February 28, 2019 @11:57AM
(#19272778)
They're still using Rust for some stuff, just not for the game itself. Wargroove's matchmaking server is still in Rust. That said, yes, this is a good example of what your parent is asking for.
https://www.reddit.com/r/programming/comments/atyzz4/halley_... has some more context too
Re:Implications of Rewriting a Browser Component in Rust
by steveklabnik on Friday March 01, 2019 @01:00AM
(#19278295)
Even more context: https://www.reddit.com/r/rust/comments/avwxq1/comment/ehijdw...
Re:Implications of Rewriting a Browser Component in Rust
by pum-purum on Thursday February 28, 2019 @01:51PM
(#19273954)
Compile time. For my 9k lines project it takes 20 sec to compile in debug mode and 1 minute in release. Wich is insane because I have to do a lot of runs to test things(where cargo check can't help).
Re:Implications of Rewriting a Browser Component in Rust
by pum-purum on Thursday February 28, 2019 @02:03PM
(#19274059)
In spite of this i'm in love with Rust
Re:Implications of Rewriting a Browser Component in Rust
by herogreen on Thursday February 28, 2019 @04:43PM
(#19275516)
If you modify a single line and rebuild, how much time does it takes, on average ?
Re:Implications of Rewriting a Browser Component in Rust
by pum-purum on Thursday February 28, 2019 @05:37PM
(#19276027)
I tried to change some constants in random places(in 1 line each time) and on average it's ~10 seconds
Also compilation unit in rust is a crate. I guess if your app can be separated in different crates it can ease the pain.