Questions Regarding Rust Architecture, Feature Progress, and the C++ Refactor Branch #3112
Replies: 1 comment 1 reply
-
|
I think you got things wrong. I forgot exactly what the cpp-refactor branch does but it has likely been partly redone already in master and it's related to the c++ code close to the OpenVR interface which is C++-only. The general direction of the project is to move more and more code to Rust, but only where it makes sense, not because of performance reasons but to avoid making things harder to work with. Big parts of the codebase like the rendering code and the encoder are still C++ but eventually I think they will be ported to Rust. Rust is not slower than C++, it can be slower if you're take shortcuts to work around the borrow checker, like cloning everything |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve been looking through the project structure and recent commit history, and I have a couple of questions about the current direction of ALVR’s architecture.
From what I can see, development is still active (last commit ~9h ago), but several core features are still missing or incomplete even after months of updates. At the same time, there’s a cpp-refactor branch that hasn’t been touched in roughly two years or more.
Given that:
ALVR already integrates with OpenXR
the cpp-refactor branch exists (even if dormant)
Rust introduces challenges for low-latency, buffer-heavy pipelines
and some basic functionality still isn’t implemented
I’m trying to understand what the long-term plan is.
Is the Rust-first architecture still the committed direction for the project, or is the team open to moving more of the pipeline back toward C++ where latency, GPU interop, and real-time behavior are easier to optimize? Or is the C++ branch simply an abandoned experiment?
I’m asking this from a technical perspective, not to criticize the project — I’m just trying to understand whether the current architecture is expected to evolve or whether Rust is the permanent foundation going forward.
Thanks for any insight you can share.
Beta Was this translation helpful? Give feedback.
All reactions