Skip to content

Releases: duckworthd/mirai

Holy Reliable Codebase, Batman!

30 May 04:47
Compare
Choose a tag to compare

Thanks to the hardwork for @jdanbrown, we now have a Futures library free of waiting! This means no more unbounded thread count when using Promise.collect, Promise.join, and Promise.select! But fear not, you cowboys of the thread-filled west now have the UnboundedThreadPoolExecutor at your disposal. Unlike a standard ThreadPoolExecutor, this version (1) doesn't clean up after itself when your system exits and (2) starts every operation in a new thread. Use with care!

Overview

  • 135 tests covering an astonishing 93% (!) of the codebase
  • wait-free implementations of Promise-combiner methods
  • UnboundedThreadPoolExecutor for when you just don't care how many threads you've got (for you gevent fans!)

Exceptions that means something

02 May 05:20
Compare
Choose a tag to compare

Inspired by @GaelVaroquaux's handling of exceptions in the fantastic joblib, I've cleaned up my presentation of exceptions as well. And a (slightly) better example!

Bugfixes & Renaming

02 May 00:08
Compare
Choose a tag to compare
  • Fix race condition on setvalue and setexception
  • Rename Future to Promise. A Future is now a read-only version of a Promise.

Initial Release

14 Apr 05:20
Compare
Choose a tag to compare

Marks the initial release of mirai. Testing for all of Future has been implemented, as has all relevant functionality from Promise. Documentation forthcoming!