Asynchronous
Built from the ground up for concurrency using Async, Fibers and an event loop. Your code still looks synchronous though.
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 synchronous though.
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)
Embed HTML inside Ruby, embed nodes within nodes.
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.