Uh oh!
There was an error while loading. Please reload this page.
feat(rust): establish Rust graph computing modernization framework (#355) - #359
Open
KHARSHAVARDHAN-eng wants to merge 1 commit into
Open
Conversation
…pache#355) - Create computer-rust crate with high-performance CSR graph representation, PageRank, SSSP, and atomic aggregator kernels - Implement C-ABI export layer (computer_rust_c_api.h) for FFI interoperability - Add dataset fixtures (Karate Club, synthetic power-law) and differential tolerance check suite - Add Java RustKernelBridge in computer-core with graceful fallback logic and unit tests - Add Go RustKernelBridge in vermeer with fallback execution and unit tests - Create .github/workflows/rust-ci.yml for Rust linting, testing, and formatting - Add docs/rust-modernization-roadmap.md detailing architecture, guardrails, baselines, and newcomer-friendly child tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements the initial Rust modernization baseline and proof-of-concept framework for HugeGraph Computer and Vermeer as outlined in parent roadmap issue #355.
Key Changes
computer-rust):CSRGraph: High-performance Compressed Sparse Row / Column memory-efficient graph representation.PageRankKernel&SsspKernel: Vectorized, parallelized PageRank and Single Source Shortest Path computing kernels.AtomicAggregator: Lock-free thread-safe aggregators for superstep reductions.C-ABI FFI Layer: Exported functions incomputer_rust_c_api.handsrc/ffi/c_api.rsfor JNI (Java) and CGO/gRPC (Go) interoperability.benches/kernel_bench.rs) for measuring iteration speed and memory scaling.computer-core):RustKernelBridge.javawith graceful fallback to pure JavaComputationexecution if native library is absent.vermeer):rust_bridge.goinapps/computewith fallback execution..github/workflows/rust-ci.yml: Automatedcargo fmt,clippy,cargo test, and release build validation.docs/rust-modernization-roadmap.md: Comprehensive architecture overview, baseline principles, safety guardrails, and newcomer-friendly child issue breakdowns.Reference
Fixes#355