vibe.d
Productive
High-level declarative REST and web application framework Full HTTP(S) stack with client, server and proxy implementations Shipped with native database drivers for MongoDB and Redis Complete concurrency toolkit and support for low level I/O operations
Read more…
Fast
Asynchronous I/O for maximum speed and minimum memory usageCompile-time "Diet" templates for unparalleled dynamic page speedCompiled to native machine code Multi-threading and integrated load-balancing*
Read more…
Simple
Fiber based blocking programming model for concise and intuitive developmentCompact API with sensible default choicesFull support for exception based error handling Simple access to third-party extension libraries using the DUB package system
Read more…
Jump to…
Features View a list of all features explaining how they work and what makes them special
Documentation Development documentation including the full API reference
Tutorials Quick overviews and step-by-step instructions
Get involved Support vibe.d through bug reports, code contributions or donations
Download Get the latest release and accompanying material
News Follow the development of vibe.d and stay up to date with news and events
About All about the project's motivation, goals and the creators
Featured
D Web Development by Kai "redstar" Nacke This book gives a thorough introduction to web development in D, using vibe.d. While walking through the various topics, it always provides practical step-by-step examples and explains the underlying mechanisms.
Available as e-book and print versions at Packt Publishing
Example of a simple HTTP server import vibe . vibe ;
void main ()
{
listenHTTP ( ":8080" , & handleRequest );
runApplication ();
}
void handleRequest ( HTTPServerRequest req , HTTPServerResponse res )
{
if ( req . path == "/" )
res . writeBody ( "Hello, World!" );
}
Example of an echo server import vibe . vibe ;
void main ()
{
listenTCP ( 7 , ( conn ) { conn . write ( conn ); });
runApplication ();
}
* Still work-in-progress, implemented by the vibedist project.