linenoise VS libnklabs

Compare linenoise vs libnklabs and see what are their differences.

linenoise

A small self-contained alternative to readline and libedit (by antirez)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
linenoise libnklabs
6 4
3,634 20
- -
2.4 5.3
20 days ago 3 months ago
C C
BSD 2-clause "Simplified" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

linenoise

Posts with mentions or reviews of linenoise. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-29.

libnklabs

Posts with mentions or reviews of libnklabs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-29.
  • Keyboard Shortcuts every Command Line Hacker should know about GNU Readline
    13 projects | news.ycombinator.com | 29 Nov 2022
    Two issues with readline: it's GPL and it's big. For embedded systems intended to become products you really need something else. My tiny variant is this, but for sure there are many others:

    https://github.com/nklabs/libnklabs

    ("nkreadline" has editing, tab-completion (for embedded "nkcli" commands) and history)

  • Rtems Real Time Operating System
    3 projects | news.ycombinator.com | 3 Aug 2022
    I used RTEMS on Movius Myriad vision CPU (running on LEON- a SPARC clone).

    I remember the RTEMS event concept was not very good- the events are globally shared. You are better off using semaphores.

    >I have realized that for a majority of the embedded software using an RTOS is an overkill

    I agree with this. Instead of an OS, we like to use a small framework that provides a CLI, database and UART communications (YMODEM protocol). It's a single stack system that provides a simple work-queue for scheduling future tasks / callbacks, and for interrupt code to schedule non-interrupt code. It works for almost everything as long as you are comfortable programming in an event-driven style.

    https://github.com/nklabs/libnklabs

    (recently added support for AVR 8-bit processors).

  • Framework: Open Sourcing Our Firmware
    10 projects | news.ycombinator.com | 21 Jan 2022
    I've extracted the Chromium-EC encryption functions, they are convenient for signing / verifying firmware on other platforms. Chromium-ec is nice for example code like this:

    https://github.com/jhallen/rsa-verify

    On the other hand, if you are looking for some generic embedded system code all in C, here is our library:

    https://github.com/nklabs/libnklabs

    I think it's most unique feature is the embedded schema-based database- so you can save things like calibration and configuration information in local flash memory. Recently I've been adding device drivers for all common devices I can find on break-out boards for the Arduino and Raspberry-PI communities.

  • Show HN: Library to quickly make MCU-based products
    1 project | news.ycombinator.com | 2 Jan 2022

What are some alternatives?

When comparing linenoise and libnklabs you can also consider the following projects:

replxx - A readline and libedit replacement that supports UTF-8, syntax highlighting, hints and Windows and is BSD licensed.

mu - Project Mu Documentation

microrl - micro read line library for small and embedded devices

carl9170fw - CARL9170 Firmware Source Repository

awesome-hpp - A curated list of awesome header-only C++ libraries

firmware-setup - Firmware Setup

nuspell - 🖋️ Fast and safe spellchecking C++ library

esp32-elfloader - esp32 component to load in ram and relocate elf file

commandline - A C++ commandline for use in servers and chat software. Provides very simple asynchronous input/output.

input-polling-test - Tests the scan behavior of your keyboard/mouse

Vcpkg - C++ Library Manager for Windows, Linux, and MacOS

rsa-verify