Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

geev03

Members
  • Joined

  • Last visited

Everything posted by geev03

  1. geev03 replied to sven-ola's topic in RISC-V
    🦀 Rust PiCalculator on Orange Pi RV2 (riscv64, Armbian Trixie) Compiled and ran a high-precision Pi calculator in Rust on my Orange Pi RV2 (K1X, 8-core @ 1.6 GHz) running Armbian-unofficial Trixie riscv64. The goal: test rustc performance and validate big-integer workloads on RISC-V. ✅ Environment OS: Armbian-unofficial 26.02.0-trunk (Debian Trixie) Kernel: Linux 6.18.5-edge-spacemit Rust: rustc 1.85.0, cargo 1.85.0 (built from source) Display: EZCAP28X @ 1920×1080 Memory: 3.7 GiB RAM, 1.3 GiB used Disk: ext4, 28.96 GiB total GPU: Mesa llvmpipe (LLVM 19.1.7) 🧮 Project: PiCalculator Rust implementation using rug (GMP-backed) to compute 1000 digits of π: rust use rug::{float::Constant, Float}; fn main() { let digits: usize = 1000; let bits: u32 = ((digits as f64) * 3.321928).ceil() as u32 + 10; let pi = Float::with_val(bits, Constant::Pi); let s = pi.to_string_radix(10, Some(digits)); println!("{s}"); } 🧩 Build Notes Needed libgmp-dev and m4 to compile rug cleanly. cargo build --release succeeded without patching. Output verified against known π digits. ⚖️ Performance Comparison Board CPU Time (ms) Real Time (ms) Pi 400 Faster (1.8 GHz, fewer cores) Lower latency RV2 (K1X) Slower per-core, but stable Good throughput Despite having 8 cores, the RV2’s in-order K1X is slower than the Pi 400’s Cortex-A72 for single-threaded math. Still, the build was smooth and the output correct — a great stress test for rustc on riscv64.
  2. geev03 replied to sven-ola's topic in RISC-V
  3. geev03 replied to sven-ola's topic in RISC-V
    Thank you

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.