Questions tagged [rust]

Rust is a multi-paradigm programming language designed for performance and safety, especially safe concurrency

Rust is a multi-paradigm programming language designed for performance and safety, especially safe concurrency. Rust is syntactically similar to C++, but can guarantee memory safety by using a borrow checker to validate references. Rust achieves memory safety without garbage collection, and reference counting is optional.

https://en.wikipedia.org/wiki/Rust_(programming_language)

27 questions
1
vote
1 answer

How to identify the visible tiles and select them for rendering?

I can render a 5000 x 5000 tile map, but it takes forever to load, and the performance is horrid. It takes around 30 seconds to Render all the tiles, So how can I render only the visible tiles? Here is the gist of the rendering code let mut worldx =…
Macho Onion
  • 189
  • 8