DEV Community

Cover image for πŸš€ OLSRT v1.2: A Powerful Runtime for All Programming Languages!
Javad
Javad

Posted on

πŸš€ OLSRT v1.2: A Powerful Runtime for All Programming Languages!

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/.dll files! 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;
Enter fullscreen mode Exit fullscreen mode

This pauses the main program for milliseconds.

But with HCR:

ol_caller* x = ol_reference_do(a + b);
Enter fullscreen mode Exit fullscreen mode

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:

  1. ⭐ Star the repository (One energy)
  2. πŸ”€ Fork the repository (One super energy)
  3. πŸ’¬ Comment, share your ideas, and follow us (One mega energy)
  4. πŸ—£οΈ Discuss with us on GitHub (Three mega energies)
  5. πŸ› οΈ Clone and use the project (One ultra energy)
  6. πŸ› Open an issue with your ideas (Three ultra energies)
  7. 🀝 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)