2. BPjs is
An extensible engine for
running and for analyzing
behavioral programs
Intended to be our industrial quality BP platform
3. BPjs is
An extensible engine for
running and for analyzing
behavioral programs
Intended to be our industrial quality BP platform
(...until something better is created)
4.
5. James Birnie, ThoughtWorks
I tried to imagine as I was watching the demo how I could
have written the same program using techniques that I'm
most familiar with. Which probably means some kind of C#,
OOP based, implementation.
Whichever way I thought about it, I couldn't imagine a more
succinct, elegant version than that which was
demonstrated. As ever with succinct code I do wonder how
easy it would be to read by others without the (excellent)
explanation of what was going on.
http://www.jamesbirnie.com/2018/11/devoxx-belgium-and-two-talks.html
6. Using BPjs
• Command-line
For testing and experimenting with BP
• Maven
For maven-based JVM projects
• Uber-Jar
Has all the dependencies, may cause class duplication
• Jar
Just BPjs, but bring your own Rhino
19. No BThread class
• BThreads are emergent phenomenon of progression
between BThreadSyncSnaphots
BTSS BTSS BTSS BTSSStartBThread ResumeBThread ResumeBThread
ResumeBThread
BTSSBTSSBTSS
BTSS
ResumeBThreadResumeBThreadResumeBThread
Resume