Skip to content
View ferris-joy's full-sized avatar

Organizations

@PRJsJGo

Block or report ferris-joy

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ferris-joy/README.md

πŸ¦€ Ferris

"The Rustacean" β€” Professional Rust Developer & Systems Engineer

In safe code we trust. In unsafe blocks, we audit.

Rust Email Crates.io


πŸ‘‹ About Me β€” Call Me Ferris

I'm Ferris β€” a Rustacean through and through. I write Rust for a living, dream in lifetimes, and genuinely think Result<T, E> is one of the most beautiful ideas in modern programming. With [X]+ years of professional Rust experience, I build systems that are fast, correct, and impossible to break β€” the way they were always meant to be.

  • πŸ”­ Currently building FluxGate β€” a high-performance AI gateway in Rust, routing and orchestrating LLM traffic across providers
  • 🌱 Diving into async runtime internals, embedded no_std, and formal verification with Kani
  • πŸ’¬ Ask me about ownership, lifetimes, async runtimes, zero-cost abstractions, or why the borrow checker is your friend
  • πŸ¦€ I unironically love the compiler errors
  • πŸ“« Reach me at wb.ts416@gmail.com

πŸ”₯ FluxGate β€” My Current Focus

A high-performance AI gateway written in Rust. One endpoint, every model β€” with the safety, throughput, and observability that production LLM traffic actually demands.

The problem: Modern apps talk to a dozen model providers (OpenAI, Anthropic, Mistral, Bedrock, local Llama deployments, you name it). Each has different APIs, auth schemes, rate limits, failure modes, and pricing. Wiring this up in every service is a tax on every team.

What FluxGate does:

  • πŸ”€ Unified routing β€” single OpenAI-compatible API, multi-provider backends, automatic fallback on failure
  • ⚑ Async-native β€” built on Tokio + Axum + Hyper for streaming throughput at thousands of concurrent connections
  • πŸ›‘ Guardrails β€” per-key rate limiting, token budgets, prompt-level policies, PII redaction hooks
  • πŸ’Ύ Smart caching β€” semantic + exact-match response caching backed by Redis, with TTL and invalidation strategies
  • πŸ“Š Full observability β€” OpenTelemetry traces, Prometheus metrics, per-request cost attribution
  • πŸ”Œ Pluggable β€” middleware traits let you drop in custom auth, logging, routing logic without forking
  • πŸ¦€ Zero-cost where it counts β€” the hot path is allocation-conscious, lock-free where possible, and benchmarks against the leading Go and Node alternatives

Stack: Rust Β· Tokio Β· Axum Β· Tower Β· Hyper Β· SQLx Β· Redis Β· OpenTelemetry Β· Docker

Status: actively building. Stars and feedback welcome once the repo goes public.


πŸ›  My Rust Toolbox

Core

Rust Cargo

Async Runtimes

Tokio async-std Rayon Smol

Web & Networking

Axum Actix Tonic Hyper

Data

SQLx Diesel SeaORM PostgreSQL Redis

AI & Observability

OpenTelemetry Prometheus LLM_APIs

Systems

WebAssembly Embedded Linux Docker


πŸš€ Projects I Build With & Contribute To

These are real, production-grade Rust projects in the ecosystem I work with daily β€” and where I've opened issues, sent PRs, or built systems on top.

πŸ”§ Tokio

The asynchronous runtime that powers most of the modern Rust async ecosystem.

What it is: A multi-threaded, work-stealing async runtime built on top of mio for non-blocking I/O. It provides the executor, task scheduler, timers, sync primitives, and I/O traits (AsyncRead, AsyncWrite) that nearly every async Rust crate depends on.

Why it matters: The cooperative scheduler with work-stealing rebalances tasks across cores automatically β€” you write straight-line async code and get throughput that rivals hand-tuned event loops in C. The tokio::select! macro for racing futures, JoinSet for structured concurrency, and the channel primitives (mpsc, oneshot, broadcast, watch) are tools I reach for daily.

In FluxGate: Tokio is the engine. Every inbound request, every upstream provider call, every cache lookup and metric emission is a Tokio task. I've spent real time understanding how the runtime handles backpressure, how to avoid blocking the executor, and when to drop down to spawn_blocking for CPU-bound work like tokenization.

Stars: ⭐ 27k+ · Lang: Rust


⚑ Axum

An ergonomic and modular web framework built on top of Tokio, Tower, and Hyper.

What it is: A web framework that leans hard into Rust's type system for safety and ergonomics. Routes are just functions, handlers extract typed data via the FromRequest / FromRequestParts traits, and middleware is just Tower Services composed at the router level.

What makes it special: Axum has no macros for routing β€” Router::new().route("/users/:id", get(get_user)) is plain Rust you can grep and refactor. A handler signature like async fn handler(State(db): State<Db>, Json(payload): Json<Body>) -> Response is fully type-checked at compile time, including which middleware ran. Composability with the Tower ecosystem means rate limiting, retries, timeouts, and tracing snap in without bespoke integrations.

In FluxGate: Axum is the HTTP surface. The provider-agnostic /v1/chat/completions endpoint is an Axum handler that streams responses straight from upstream via Hyper, with Tower middleware handling auth, rate limits, and observability before the request even reaches my business logic.

Stars: ⭐ 19k+ · Lang: Rust


πŸ” Ripgrep

A line-oriented search tool that recursively searches directories for a regex pattern. Faster than grep, ag, and ack.

What it is: Andrew Gallant's (BurntSushi) line search tool. Default-respects .gitignore, supports PCRE2, handles UTF-8 correctly, and parallelizes directory traversal across cores.

What makes it special: A masterclass in performant systems code. The underlying regex crate uses a hybrid NFA/DFA approach with SIMD acceleration for literal prefixes; memory-mapped I/O on large files avoids copy overhead; parallel walking via the ignore crate handles huge trees without saturating syscalls. Reading the source taught me more about real-world Rust performance than any blog post.

Why I keep it close: Permanently in my $PATH. The rg --json output is what I pipe into custom analysis scripts when I need structured grep output β€” and it's a reference implementation I revisit whenever I'm trying to make my own Rust code faster.

Stars: ⭐ 49k+ · Lang: Rust


πŸ“Š Polars

Lightning-fast DataFrame library for Rust and Python. Faster than Pandas, often by 10–100Γ—.

What it is: A DataFrame library built on Apache Arrow's columnar memory format, with a lazy query engine that does whole-query optimization β€” predicate pushdown, projection pushdown, common subexpression elimination β€” before executing anything.

What makes it special: Polars treats data work like a query planner treats SQL: you describe what you want with LazyFrame, and the engine figures out the cheapest way to compute it across multiple cores. The expression API (col("price").mean().over("category")) composes in ways pandas' string-based groupby never managed. Because the core is Rust, you get the same engine whether you call it from Rust, Python, or Node.

Where I use it: ETL pipelines where pandas runs out of memory or runtime. I've replaced multi-hour pandas jobs with Polars lazy pipelines that finish in minutes β€” same logic, an order of magnitude less RAM. Also useful inside FluxGate for analyzing request/cost telemetry at scale.

Stars: ⭐ 31k+ · Lang: Rust


πŸ“ Helix

A post-modern modal text editor written in Rust. Tree-sitter native, LSP-first.

What it is: A modal editor inspired by Kakoune's selection-first model rather than Vim's verb-object model. Tree-sitter is built in for syntax-aware highlighting and structural selection; LSP support is core, not a plugin.

What makes it special: Selection-first editing reverses the order β€” wd ("select word, delete") instead of vim's dw ("delete word"). You see exactly what you're about to operate on before you operate on it. Tree-sitter integration means selections can target AST nodes (Alt-o to expand to the parent node, for instance) β€” refactoring at the structural level instead of the line level. No .vimrc archaeology, no plugin manager: it just works on every machine I touch.

Why it matters to me: Daily driver. Reading its source is one of the cleanest examples I know of how to architect a large Rust application β€” clean module boundaries, sensible use of channels for editor/LSP communication, and careful management of borrowing across a complex state graph.

Stars: ⭐ 36k+ · Lang: Rust


fn main() {
    println!("Thanks for stopping by. Now go write some Rust. πŸ¦€");
}

Pinned Loading

  1. huggingface/candle huggingface/candle Public

    Minimalist ML framework for Rust

    Rust 20.3k 1.6k

  2. algorithm-written-rust algorithm-written-rust Public

    all core algorithms are designed and implemented in Rust, ensuring high performance, memory safety, and reliability across the entire system.

    Rust 1

  3. flock flock Public

    Flock is a native desktop AI agent application built with Rust and Tauri, enabling multi-provider LLM support, tool orchestration, memory, and skills systems. It provides structured automation, per…

    Rust 4

  4. axiomdesk axiomdesk Public

    Native desktop automation CLI for AI agents. Control any application through OS accessibility trees with structured JSON output and deterministic element refs.

    Rust 2

  5. silex silex Public

    Desktop application for Silex, the free/libre no-code website builder. Built with Tauri v2 and the silex-server Rust crate.

    Rust 1

  6. solana-mev-bot solana-mev-bot Public

    A high-performance, flash-loan-integrated MEV arbitrage bot for Solana blockchain. Built in Rust with support for multiple DEXs including Raydium, Meteora, Orca, and more. Features atomic multi-leg…

    Rust 2 3