"Architecting high-performance, real-time web applications, custom compilers, and deterministic multiplayer game engines with clean code."
I'm Ali Haggag, a Software Engineer & CS Student focused on System Design, Performance Optimization, and Security Hardening. I specialize in building complex backends, custom language parsers, and low-latency real-time synchronization layers.
-
π€ Logic Arena β Competitive Robot Battle Simulator
- Compiler & Sandbox: Engineered AliScript v2.2 (Lexer β AST parser) running inside a secure server-side sandbox with strict execution limits.
- Real-time Sync: Built a 20 TPS physics engine with client-side state interpolation and delta compression (<50ms latency).
- Tech Stack: Next.js 16, NestJS 11, React Three Fiber (Three.js), Socket.io, Redis, PostgreSQL, Prisma, Docker.
-
π Flurry Super App β Real-time Social Super App
- Communication: Established WebRTC P2P media connections with custom Socket.io signaling servers (<50ms call latency).
- UX & AI: Implemented an offline-first PWA architecture with Workbox Service Workers and integrated Gemini AI for group summaries.
- Tech Stack: WebRTC, Socket.io, Gemini AI, PWA, React, MongoDB, i18next.
-
ποΈ CS Arena Platform β Developer Ecosystem
- State Engine: Resolved cascading UI state filter race conditions using Next.js 16 Server Components and React's concurrent rendering features.
- Tech Stack: Next.js 16, Sanity CMS, NextAuth, Sentry, Resend, Framer Motion.
- Systems Design: Domain-Driven Design (DDD), Microservices, Anti-Corruption Layers (Zod), and Enterprise Security pipelines.
- Real-time Protocols: WebSocket event handling, WebRTC signaling, and client-side interpolation buffers.
- Performance Optimization: CPU profiling, database pagination query constraints, and asset bundle pruning.
| Category | Technologies |
|---|---|
| Frontend | |
| Backend | |
| ORM & API Layer | |
| Real-time & AI | |
| Auth & Security | |
| CMS, Media & State | |
| Deploy & DevOps | |
| Monitoring | |
| Email Services | |
| Design & UI Libs | |
| CS & Tools |







