fibjs is a JavaScript runtime on Chrome's V8 engine. It uses fiber-based switching and a synchronous coding style over non-blocking I/O for scalable server programs.
Overview
fibjs is JavaScript on fiber: a runtime powered by Google's V8 engine. Fiber switching yields synchronous-looking code with non-blocking I/O, so scalable systems avoid the callback-heavy patterns seen in many JavaScript server stacks.
Startup is fast, the runtime stays lightweight, and numerous built-in modules provide batteries-included basics so work can begin without piecing together a large dependency set. Newcomers can follow a getting-started path plus guides and module references.
Network-oriented workloads get a built-in web server tuned for performance. Core pieces use C++, and multi-core support helps workloads use several CPU cores.
The project is open source with community issue tracking. npm-style module management lets teams reuse existing JavaScript packages inside fibjs applications.
Key features
- V8-based JavaScript runtime
- Fiber switching with sync-style non-blocking I/O
- Built-in modules for quick server development
- Built-in high-performance web server
- C++ core components
- Built-in multi-core support
- npm-compatible module management
- Open source with community issue tracking
Use cases
- Building scalable network services in JavaScript
- Writing web servers without manual async control flow
- Running JavaScript with fiber-based concurrency
- Reusing npm packages in a fiber runtime
- CPU-oriented server workloads using multiple cores