Hey Dev Community!
I'm thrilled to be writing blogs for you again after a while!
π Introduction
OLSRT (OverLab Streams Runtime) is a powerful, minimal runtime (~90 KB) delivered as shared libraries (.so for Linux/BSD) and dynamic libraries (.dll for NT), written in C, and designed to power all programming languages!
If your language can talk to C (yes, even COBOL!), you can use OLSRT directly via FFI.
β Supported Languages: All of them! (JavaScript (with nodeffi), PHP (with C extensions), Python (with cffi), Rust, D, C++, Go, Dart, Kotlin, Java, C#, Julia, and any language you use!)
π Note for C, C++, D, Rust, and other languages with C at their core:
You can use OLSRT directly in your programsβeven without any.so/.dllfiles! Just include the header for your required module and use OLSRT with zero bridging.
π₯ Whatβs New in Version 1.2?
This release brings exciting and advanced features to OLSRT:
π Improved Actors & Supervisors
The first C-based Actors designed for all programming languages! OLSRT now delivers an advanced Actor model for concurrent systems.
β‘ Enhanced Async I/O, Await, Promises & Futures
Full support for modern concurrency patterns across all languages.
π§΅ Green Threads & Modern Fibers
Now you can leverage OLSRT's powerful Green Threads in all your projects.
β¨ Many Other Improvements
Check out the full release notes for OLSRT Atom v1.2.
π Documentation for v1.2 is still in progress, but you can refer to the v1.0 docs (the core concepts remain similar). Weβre actively working on examples and comprehensive documentation.
π§ In Development: OLSRT Version 1.3
Weβre already working on v1.3 with revolutionary features:
π§© Fully Isolated Actors
π₯ βLet It Crash!β Philosophy
π ORoutines (OLSRTβs Modern Coroutines)
π§ HCR (Hot-Coding References) β A Brand New Paradigm!
π€ What is HCR? A New Paradigm!
OverLab Group divides concurrency paradigms into two categories:
| π Waiting Paradigms | β‘ Non-Waiting Paradigms |
|---|---|
| Blocking: | Branch-based: |
| β Sync | β HCR (First of its kind!) |
| β Lock | |
| β Semaphore | |
| Non-Blocking: | |
| β Async | |
| β Await | |
| β Actors |
π§ͺ HCR in Action:
In waiting paradigms, you write code like this:
int x = a + b;
This pauses the main program for milliseconds.
But with HCR:
ol_caller* x = ol_reference_do(a + b);
Here, OLSRT creates a lightweight branch (~1 KB) for x, a, and b, processes them without stopping the main program, and merges the result back seamlessly!
π’ Call to Action
If you like the OLSRT project and want to give us some energy, even doing one of the following helps a ton:
- β Star the repository (One energy)
- π Fork the repository (One super energy)
- π¬ Comment, share your ideas, and follow us (One mega energy)
- π£οΈ Discuss with us on GitHub (Three mega energies)
- π οΈ Clone and use the project (One ultra energy)
- π Open an issue with your ideas (Three ultra energies)
- π€ Contribute to the repository (One mega ultra super energy)
π GitHub Repository:
https://github.com/OverLab-Group/OLSRT
We welcome all forms of feedback and contribution!
Hope you enjoyed this update.
Have an ORoutine day! π
Top comments (0)