New week, new Rust! What are you folks up to?
Spent a bit of time to update notzero
so that it requires Rust 1.79.0 instead of the nightly compiler.
I've been plugging away at my room4doom project. In the last few days I fixed a whole host of small bugs, and removed the visplanes structure (used for floors/ceils) in favour of the column rendering I started doing for flats - this alone cleaned up a rather large amount of code, and I got a speed boost.
edit: I got many speed boosts after using flamegraph-rs
to check where my hot spots were. Nested Vec is a huge drag on perf so I split out and used static arrays where possible. And since I know the bounds would never be violated I use get_unchecked()
. The end result is on par or faster than crispy doom (software) and I can get more speed if I optimize the flats drawing better.
Just doing some research on web security from OWASP Top 10.
Usual graphics crate headaches:
- wgpu and egui out of sync. Crates.io and github out of sync. Appropriate parties nagged.
- Still using old version of OpenJPEG, which is C front-ended by Rust. Need to check out newer version to see if some problems are fixed.
- Rend3 abandoned by dev. Have forked and will need to do some maintenance.
The user community that does high-performance 3D graphics in Rust is very, very small.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.