mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-27 23:50:36 +08:00
e0323e34bc7b395d02b6e97366c54441bbcd86f7
tokio::time::sleep instead of blocking threads
Great explanation by @LarsWirzenius on the why > Async code in Rust runs in one or more threads. Usually there's a small number of threads that are multiplexed between different async functions. The async executor chooses what threads to use and which thread runs which async code. If the async code takes a long time, such as by calling std::thread::sleep, the whole thread stops doing anything else, and then no other async code runs in that thread, either.
Radicle Desktop
This desktop application lets you interact with Radicle, a peer-to-peer code collaboration and publishing stack, directly from your web browser.
Local-first
Prerequisites:
- Recent versions of Node.js (20.9.0 or higher) and npm installed
- Requires the Rust toolchain (1.77 or higher).
Also make sure to have the following Tauri system dependencies installed.
Run the following commands to build the desktop app locally:
git clone https://seed.radicle.xyz/z4D5UCArafTzTQpDZNQRuqswh3ury.git radicle-desktop
cd radicle-desktop
npm install
npm run tauri build
Then run one of the builds that the script outputs at the end.
Getting in touch
To get in touch with the maintainers, sign up to our official chat on Zulip.
License
The UI is distributed under the terms of GPLv3. See LICENSE for details.
Languages
Svelte
43.5%
TypeScript
31.8%
Rust
18.7%
JavaScript
2.2%
CSS
1.8%
Other
2%