|Subject:||Re: [Netsukuku-vala] cleaner and reusable code|
|Date:||Wed, 16 Oct 2013 23:01:38 +0400|
I have extrapolated some code from netsukuku and I created some base libraries that are quite generic.--Luca
This is quite useless. There are plenty of tools to facilitate the production of logs. Anyway the netsukuku code use this one at the moment.
This library depends on logger.
A program using this library will be able to spawn tasklets (micro-threads) and, in any tasklet, interact with sockets in a non-blocking manner for the other concurrent tasklets. These micro-threads are currently backed by GNU Pth. They are very light and portable.
This library is a framework for producing code that enables Remote Procedure Calls. It depends on logger and tasklet.
The aim of this work is to make netsukuku code more readable, by removing code that is ancillary.
I will soon release these libraries and then work to rebase netsukuku on them so that I will be able to remove many of the current source files.
Another plus is that we'll be able to produce, without much code duplication, a rpc-client that one can use to monitor the internals of ntkd locally or even on remote nodes.
In particular the rpc framework (which the rpc library will be a part of) is quite flexible and I will explain in more details when I release it.
|[Prev in Thread]||Current Thread||[Next in Thread]|