Ivan Folgueira Bande 4f2706a983
better resources cleanup and call shutdown
Some resource cleanup is moved into the sds thread's body.
The cleanup and shutdown must be properly called by the thread
itself.
2026-01-20 22:08:33 +01:00
2026-01-20 15:22:18 +01:00
2026-01-19 12:00:43 +01:00
2025-12-23 19:47:02 +04:00

nim-e2e-reliability

Nim implementation of the e2e reliability protocol

Building

Nix

nix build --print-out-paths '.?submodules=1#libsds'
nix build --print-out-paths '.?submodules=1#libsds-android-arm64'

Windows, Linux or MacOS

make libsds

Android

Download the latest Android NDK. For example, on Ubuntu with Intel:

cd ~
wget https://dl.google.com/android/repository/android-ndk-r27c-linux.zip
unzip android-ndk-r27c-linux.zip

Then, add the following to your ~/.bashrc file:

export ANDROID_NDK_ROOT=$HOME/android-ndk-r27c
export PATH=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH

Then, use one of the following commands, according to the current architecture:

Architecture command
arm64 make libsds-android ARCH=arm64
amd64 make libsds-android ARCH=amd64
x86 make libsds-android ARCH=x86

At the end of the process, the library will be created in build/libsds.so

Description
Nim implementation of the e2e reliability protocol
Readme
Languages
Nim 85.7%
Nix 7%
Makefile 3.9%
Shell 1.8%
C 1.6%