An interesting readme on the project's GitHub page about the architecture and the use of Rust in the core application logic of Xray. They're using Rust to improve the applications speed and exploit Rust's superior concurrency support. The Rust crate is made accessible to Electron's JavaScript code via N-API bindings, and then loaded in via Node's native add-on system. They also go into a bit of detail on them using the RGASplit variant for their copy-on-write CRDT (Conflict-Free Replicated Data Type).
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Using Rust with Elixir for code reuse and performance
|
1 | 369 | November 17, 2021 | |
Rust in scientific research (calculations)
|
5 | 1503 | January 12, 2022 | |
Introducing RustType, a pure Rust alternative to FreeType | 18 | 3111 | January 12, 2023 | |
Review on a new crate: opencl3 v0.1.1 | 3 | 433 | April 4, 2021 | |
Rasteroid code review | 13 | 529 | January 23, 2023 |