Gracht Protocol/RPC Library
Posted: Tue May 11, 2021 12:10 am
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
And I would love feedback/comments on the library!
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
And I would love feedback/comments on the library!