btrask / stronglink

A searchable, syncable, content-addressable notetaking system
Other
1.04k stars 39 forks source link

Use of fibers should be optional #41

Open btrask opened 9 years ago

btrask commented 9 years ago

For the StrongLink library, we should probably expose an interface based on callbacks, not fibers. This makes it easier to embed in other applications and language runtimes.

I don't think this should be too difficult, but I'm not sure. Maybe it means using heavyweight threads and blocking I/O for most cases, and then letting clients use us on a thread pool.