kilim 2.0 released

37 views
Skip to first unread message

nqzero

unread,
Nov 9, 2018, 4:08:47 PM11/9/18
to kilimthreads
kilim 2.0 is available in maven central and github

* `org.db4j : kilim : 2.0.1` supports java 8, 9, and 11
* `2.0.1-jdk7` supports java 7
* openjdk 10 has a bug and refuses to load certain valid classfiles that use lambdas. see the readme for workarounds if you must use java 10

recent improvements:
- added a fork-join scheduler and made it much easier to add custom schedulers
- upgraded to ASM 7.0
- runtime weaver can filter which classes are woven
- logging can be delegated
- execution threads are `setDaemon()`, allowing cleaner shutdown

cumulative improvements from 1.0:

 - `Kilim.trampoline` weaves a program programmatically with a single line of code in `main`
 - lambda support
 - runtime weaver is rock solid
 - continuations (pure fibers) - up to 20x faster than tasks
 - new Scheduler based on ThreadPoolExecutor
 - high performance single producer and single consumer mailboxes and no-context-switch timers
 - support for java 7, 8, 9, 10, 11 and 12-ea
 - maven based dependencies and deployment to the central repository
 - maven plugin for weaving within a pom.xml
 - demo projects (battle royale, jetty,invoke)
 - idledown: automatically stop kilim when outstanding tasks complete
 - single-file source cope programs, ie JEP 330
 - JShell support (in a demo - not yet integrated into the kilim artifact)
 - Java 11 nestmates support
 - many bugfixes related to correct execution of complex woven code, eg loops and exceptions
 - and many more bugfixes and usability improvements


nqzero

unread,
Nov 9, 2018, 4:10:25 PM11/9/18
to kilimthreads

```
    <dependency>
        <groupId>org.db4j</groupId>
        <artifactId>kilim</artifactId>
        <version>2.0.1</version>
    </dependency>
```
Reply all
Reply to author
Forward
0 new messages