From a6e1609fe65539f45fc38e5f2d60eecd7e3b9554 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Sun, 5 Feb 2023 06:00:30 +0100 Subject: [PATCH] Readme: link to the new Zig implementation. --- README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1beba80..c0ccafe 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ +# OBSOLETED BY + +This project was obsoleted by the [new Zig implementation][zigimpl]. +Code is smaller, simpler and safer to use. +Packet format and API are a bit simpler, too. + # libipc libipc - Simple, easy-to-use IPC library @@ -7,9 +13,6 @@ See the introductory man page in `man/libipc.7`. See the presentation in [docs/libipc.md](docs/libipc.md). -> This library is a work in progress, but is already used intensively in production. -> It works, but we provide no warranty. - # Compilation `make` @@ -22,9 +25,9 @@ See the presentation in [docs/libipc.md](docs/libipc.md). For performance improvements within `libipc`: +- `libipc` will be rewritten in Zig -- **DONE!** - `libipc` shouldn't use realloc for each event (new client, new message, etc.) but by batch of a few thousand elements - `libipc` should use better internal structures, unrequiring the use of loops (over the whole list of messages or connections) for each action -- `libipc` will be rewritten in Zig # Planning for 0.9 @@ -37,10 +40,4 @@ For performance improvements within `libipc`: - `libipc` should have usable bindings in several languages - -# Implementation design - -## Memory management - -1. Prefer stack over mallocs. -2. Basic functions (such as *usock_*) should not handle memory allocation. +[zigimpl]: https://git.baguette.netlib.re/Baguette/libipc