Trabajos

Aura - Browser Engine in Rust

Complete web browser engine built from scratch in Rust with a 5-phase pipeline, achieving 92% completion with 89 passing tests.

RustSystems Programming
Aura - Browser Engine in Rust

Designed and implemented a complete web browser engine from scratch in Rust with a 5-phase pipeline (Network → Parsing → Styling → Layout → Rendering → Scripting), achieving 92% completion and 89 passing tests.

Key Features

  • Custom Layout Engine: CSS Box Model with advanced text rendering (word wrapping, alignment, spacing) and O(n) optimized algorithms for geometry calculation.

  • Async Multi-Threaded Architecture: Built with Tokio, connection pooling, and thread-safe communication via channels for non-blocking UI, achieving 60 FPS rendering.

  • Production-Grade Parsers: Integrated html5ever and cssparser with AST construction (DOM tree, Styled tree, Layout tree) and JavaScript engine (Boa) for ECMAScript execution.

  • Memory-Safe TLS: Used rustls without C dependencies, leveraging Rust's ownership and lifetimes for zero memory vulnerabilities and 100% safe code.

  • GPU-Accelerated Rendering: Utilized egui + wgpu for real-time UI with integrated debug panel and performance metrics visualization.

Technologies

Rust, Tokio, reqwest, rustls, html5ever, cssparser, boa_engine, egui, wgpu. ~4,200 LOC with comprehensive testing and documentation.

GitHub Repository