Asynchronous
Built from the ground up for concurrency using Async, Fibers and an event loop. Your code still looks the same though so you'd never know.
Raindeer is an event-driven framework using the dynamic features and latest async improvements in Ruby + some weird ideas, to build a new breed of web application.
Deer to be different.
Built from the ground up for concurrency using Async, Fibers and an event loop. Your code still looks the same though so you'd never know.
Observe and respond to events
observe '/:id'
def render(event: RenderEvent)
event.params[:id] # => 123
end
Inline type checking and annotations
def method(var: String)
HTML and templating inside Ruby files
def render
<html><{ ChildNode }></html>
end
Immutable nodes designed for parallel execution
<{ parallelize: }>
<{ UserNode user=@user }>
<{ PostsNode posts=@posts }>
<{ :parallelize }>
Build SQL queries compositionally
Users[:name] + Posts[:title, :body]
Results in an OUTER JOIN SQL query.