Rhubarb is a lightweight WebSocket library for multiplayer HTML5 games. It is originally designed to be used by the ROYGBIV Engine. However, it can be used outside of ROYGBIV as well. Javascript is slow, therefore we want to have as much main-process-power as we can in order to do game related calculations, graphics rendering and achieving 60 FPS. For multiplayer games achieving 60 FPS gets even more complicated given that transferring data over WebSockets is a slow operation. It also triggers GC activity by copying the transferred data (if JSON is the preferred way), which eventually slows down the main thread as well.
Features
- Using WebWorkers to handle networking out of main thread
- Using transferables between the main thread and the worker to prevent GC activity (zero copy)
- Redefining/compressing and sending protocols using Float32Arrays
- Allowing users to define their protocols in a high-level way and taking care of all the dirty bitwise operations internally
- Allowing sharing same protocol definitions between server/client
- Allocating objects only when being initialized
Categories
WebSocket LibrariesLicense
MIT LicenseFollow Rhubarb
Other Useful Business Software
AI Powered Global HCM for the Evolving World of Work
Darwinbox is a new-age & disruptive mobile-first, cloud-based HRMS platform built for the large enterprises to attract, engage and nurture their most critical resource - talent. It is an end-to-end integrated HR system that aids in streamlining activities across the employee lifecycle (Hire to Retire). Our powerful enterprise product features are built with a clear focus on intuitiveness and scalability, with standards of best in class consumer apps. Darwinbox’s motto is to engage, empower, and inspire employees on one side in addition to automating and simplifying all HR processes for the enterprise on the other. Over 350+ leading enterprises with 850k users manage their entire employee lifecycle on this unified platform.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Rhubarb!