Commit graph

1 commit

Author SHA1 Message Date
4e974ad8a2 Add a resource module
Resources are loaded as binary or lisp files. A streamed resource is
also planned but not yet implemented.
Resources are shared and loading happens asynchronically,
powered by promises.
Resources are used through proxies that shares a weak pointer.
When a proxy is gc'd, a finalizer is triggered using trivial-garbage to
release the resource.
2015-12-27 17:09:05 +01:00