Gracht Protocol/RPC Library

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
MollenOS
Member
Member
Posts: 202
Joined: Wed Oct 26, 2011 12:00 pm

Gracht Protocol/RPC Library

Post by MollenOS »

Hey everyone!

As a biproduct of developing my own hybrid microkernel with microservices and modules, I, like everyone else needed a protocol that I could use to communicate between the services and applications. I originally designed an XML protocol that generated stubs for my OS, but a few months ago I decided to develop something a little less verbose. I was pretty happy with the result and though I would generalize the library a little and then share it if anyone wanted an (easier) way to get protocols in their OS. So for the past few months I've worked on the library, made sure it could work on both linux, windows and my own OS.

It natively supports asynchronous communication, including being able to instantiate multiple calls if thats what you wish. You can take a look at the library here
https://github.com/Meulengracht/libgracht

And you can see some of examples of how its used in my own OS (but there are examples in the gracht repository)
https://github.com/Meulengracht/MollenO ... /protocols

Oh, and the name means canal #-o

And I would love feedback/comments on the library!
nexos
Member
Member
Posts: 1078
Joined: Tue Feb 18, 2020 3:29 pm
Libera.chat IRC: nexos

Re: Gracht Protocol/RPC Library

Post by nexos »

Nice project! Very cool 8)
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg
MollenOS
Member
Member
Posts: 202
Joined: Wed Oct 26, 2011 12:00 pm

Re: Gracht Protocol/RPC Library

Post by MollenOS »

Thank you! I hope it can be useful to someone
Post Reply