OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Mar 18, 2024 9:40 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Gracht Protocol/RPC Library
PostPosted: Tue May 11, 2021 12:10 am 
Offline
Member
Member

Joined: Wed Oct 26, 2011 12:00 pm
Posts: 202
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!

_________________
mollenos | gracht (protocol library) | vioarr (window-manager) | bake (package manager)


Top
 Profile  
 
 Post subject: Re: Gracht Protocol/RPC Library
PostPosted: Tue May 18, 2021 7:08 am 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
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


Top
 Profile  
 
 Post subject: Re: Gracht Protocol/RPC Library
PostPosted: Wed May 19, 2021 2:29 am 
Offline
Member
Member

Joined: Wed Oct 26, 2011 12:00 pm
Posts: 202
Thank you! I hope it can be useful to someone

_________________
mollenos | gracht (protocol library) | vioarr (window-manager) | bake (package manager)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Alexey1994 and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group