Update README
This commit is contained in:
parent
981b77756d
commit
ec9a26f26f
26
README.md
26
README.md
|
@ -1,4 +1,4 @@
|
||||||
# A surprisingly fast Actor library for Java
|
# A surprisingly fast, surprisingly simple Actor library for Java
|
||||||
|
|
||||||
As part of my research work on
|
As part of my research work on
|
||||||
[Syndicate](https://syndicate-lang.org), in 2020 I built this simple
|
[Syndicate](https://syndicate-lang.org), in 2020 I built this simple
|
||||||
|
@ -12,6 +12,8 @@ with an actor. Actors are thus similar to E's *vats*.
|
||||||
So far, I've limited myself to implementing a straightforward Actor
|
So far, I've limited myself to implementing a straightforward Actor
|
||||||
system, not including Dataspace or Syndicate primitives.
|
system, not including Dataspace or Syndicate primitives.
|
||||||
|
|
||||||
|
## Surprisingly fast
|
||||||
|
|
||||||
It's quite interesting all by itself, though: it's *very* fast and
|
It's quite interesting all by itself, though: it's *very* fast and
|
||||||
able to use all the cores in a machine very effectively. For example:
|
able to use all the cores in a machine very effectively. For example:
|
||||||
|
|
||||||
|
@ -35,6 +37,28 @@ Here's that same benchmark run on a single core:
|
||||||
|
|
||||||
That's just over 3 million messages per second on a single core. Neat, huh?
|
That's just over 3 million messages per second on a single core. Neat, huh?
|
||||||
|
|
||||||
|
## Surprisingly simple
|
||||||
|
|
||||||
|
It's also only ~730 lines of code:
|
||||||
|
|
||||||
|
```
|
||||||
|
~/src/syndicate-java$ cloc src/main/java/
|
||||||
|
12 text files.
|
||||||
|
12 unique files.
|
||||||
|
0 files ignored.
|
||||||
|
|
||||||
|
github.com/AlDanial/cloc v 1.86 T=0.01 s (965.7 files/s, 69128.5 lines/s)
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Language files blank comment code
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Java 12 126 6 727
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
SUM: 12 126 6 727
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
```
|
||||||
|
|
||||||
|
## Next steps
|
||||||
|
|
||||||
Next steps are to implement proper Dataspace model entities, with
|
Next steps are to implement proper Dataspace model entities, with
|
||||||
assertions and facets etc., and then build an actual Dataspace to go
|
assertions and facets etc., and then build an actual Dataspace to go
|
||||||
with it. I'll be trying to reuse as much of this implementation style
|
with it. I'll be trying to reuse as much of this implementation style
|
||||||
|
|
Loading…
Reference in New Issue