liblinux VS Task

Compare liblinux vs Task and see what are their differences.

liblinux

Linux system calls. (by matheusmoreira)

Task

A task runner / simpler Make alternative written in Go (by go-task)
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
liblinux Task
16 113
195 10,017
- 1.7%
0.0 9.6
over 4 years ago 7 days ago
Makefile MDX
MIT License MIT License
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.

liblinux

Posts with mentions or reviews of liblinux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-03.
  • Liblinux – architecture-independent access to Linux system calls
    2 projects | news.ycombinator.com | 3 Nov 2023
  • A standalone zero-dependency Lisp for Linux
    6 projects | news.ycombinator.com | 3 Nov 2023
    > libc isn't really getting in the way here.

    For the standard set of system calls, the libc is pretty great. For Linux-specific features, it could take years for glibc to gain support. Perhaps it's gotten better since then, perhaps it still takes years. I don't know.

    Years ago I read about the tale of the getrandom system call and the quest to get glibc to support it:

    https://lwn.net/Articles/711013/

    A kernel hacker wrote in an email:

    > maybe the kernel developers should support a libinux.a library that would allow us to bypass glibc when they are being non-helpful

    That made a lot of sense to me. I took that concept and kind of ran with it. Started a liblinux project, essentially a libc with nothing but the thinnest possible system call wrappers. Researched quite a bit about glibc's attitude towards Linux to justify it:

    https://github.com/matheusmoreira/liblinux#why

    Eventually I discovered Linux was already doing the same thing with their own nolibc.h file which they were already using in their own tools. It was a single file back then, by now it's become a sprawling directory full of code:

    https://github.com/torvalds/linux/tree/master/tools/include/...

    Even asked Greg Kroah-Hartman on reddit about it once:

    https://old.reddit.com/r/linux/comments/fx5e4v/im_greg_kroah...

    Since the kernel was developing their own awesome headers, I decided to drop liblinux and start lone instead. :)

  • Nolibc: A minimal C-library replacement shipped with the kernel
    2 projects | news.ycombinator.com | 10 Apr 2023
    It gives you access to 100% of Linux's system calls. It eliminates a lot of global state. It gets rid of a lot of legacy libc crap.

    Years ago I wrote a fairly referenced rationale in my liblinux project:

    https://github.com/matheusmoreira/liblinux/blob/master/READM...

  • Win32 Is the Only Stable ABI on Linux
    13 projects | news.ycombinator.com | 15 Aug 2022
    > Now, do I think it would make total sense for syscall wrappers and NSS to be split into their own libs (or dbus interfaces maybe) with stable ABIs to enable other libc's, absolutely!

    I worked on this a few years ago: liblinux.

    https://github.com/matheusmoreira/liblinux

    I'm not developing it anymore though because I found out the Linux kernel itself has a superior nolibc library:

    https://github.com/torvalds/linux/tree/master/tools/include/...

    It used to be a single header but it looks like they've recently organized it into a proper project!

    I wonder if it will become some kind of official kernel library at some point. I asked Greg Kroah-Hartman about this and he mentioned there was once a klibc:

    https://old.reddit.com/r/linux/comments/fx5e4v/im_greg_kroah...

    > This is something the BSD's got absolutely right.

    BSDs, every other operating system really, force us to use the bundled C libraries and the C ABI. I think Linux's approach is better. It has a language-agnostic system call binary interface: it's just a simple calling convention and the system call instruction.

    The right place for system call support is the compiler. We should have system_call keywords that cause it to emit code in the aforementioned calling convention. With this single keyword, it's possible to do program literally anything on Linux. Wrappers for every specific system call should be part of every language's standard library with language-specific types and semantics.

  • Oasis: Small statically-linked Linux system
    3 projects | news.ycombinator.com | 14 Aug 2022
    I'm not using this stuff professionally, it's just my own home lab's virtual machines with little services implemented as freestanding C programs. Not doing anything fancy right now, much of it was just to see if I could do it.

    I've seen other people commenting here on HN saying they're using the same approach so it's defenitely not my invention.

    I published some of my work in the form of a liblinux that I use to make system calls:

    https://github.com/matheusmoreira/liblinux

    I'm not developing it anymore though because I found out the kernel itself has a nolibc library:

    https://github.com/torvalds/linux/tree/master/tools/include/...

    It used to be a single header but it looks like they've organized it into a proper project.

  • A Tutorial on Portable Makefiles
    9 projects | news.ycombinator.com | 1 Aug 2022
    That's awesome. I didn't know about rwildcard until now. Is it part of GMSL? I searched for rwildcard on gmsl.sourceforge.io but didn't find it.

    I think my function is needlessly complicated compared to rwildcard. Here's my code:

    https://github.com/matheusmoreira/liblinux/blob/modular-buil...

    https://github.com/matheusmoreira/liblinux/blob/modular-buil...

    The file? and directory? functions were inspired by GMSL.

    I wrote a general recursion function. It takes a function to apply to lists and a function to compute whether an element is a base case.

    The recursive file system traversal function applies a directory globbing function to the list of paths and has file? as base case.

    The find function filters out any items not matching a given predicate function. It was my intention to provide predicates like C_file? and header_file? but I stopped developing that project before that happened.

    I think rwildcard is probably simpler and more efficient!

  • GitHub - matheusmoreira/liblinux: Linux system calls.
    3 projects | /r/programming | 16 Nov 2021
  • liblinux: Architecture-independent access to Linux system calls
    1 project | /r/patient_hackernews | 9 Nov 2021
    1 project | /r/hackernews | 9 Nov 2021
  • Liblinux is a C library that provides architecture-independent access to Linux system calls.
    1 project | /r/linux | 9 Nov 2021

Task

Posts with mentions or reviews of Task. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-04.
  • Show HN: Workflow Orchestrator in Golang
    7 projects | news.ycombinator.com | 4 Mar 2024
    So many tools in this space! This one looks a little bit like go-task, but it seems maybe better for production workflows because if timeout support, while go-task seems more aimed to command line work/makefile replacement.

    β€”-

    https://github.com/go-task/task

  • Essential Command Line Tools for Developers
    29 projects | dev.to | 15 Jan 2024
    View on GitHub
  • Task: A task runner / alternative to GNU Make
    1 project | news.ycombinator.com | 26 Dec 2023
  • Using Make – writing less Makefile
    6 projects | news.ycombinator.com | 26 Dec 2023
    A similar tool is `task` https://taskfile.dev/ . It is quite capable and also a single executable. I've grown to quite like it.
  • What’s with DevOps engineers using `make` of all things?
    17 projects | /r/devops | 6 Dec 2023
    check out tasks - a bit of a learning curve but arguably more powerful imo
  • Go Development with Hot Reload Using Taskfile
    2 projects | dev.to | 11 Nov 2023
    That's when I came across taskfile.dev. Task is an automation tool designed to be more accessible than other options, such as GNU Make.
  • Poetry (Packaging) in motion
    2 projects | dev.to | 27 Sep 2023
    Full disclosure, I did not review Conda or Hatch fully. Not that there is anything explicitly wrong with either of them. Conda is too specific to the scientific community for my general taste. Hatch seems to go well with Conda and also uses the PyProject manifest as well. It's nice that it gives you several built in tools, similar to commit hooks, but I tend to like to roll my own via a Taskfile and run them with Poetry.
  • Building RESTful API with Hexagonal Architecture in Go
    21 projects | dev.to | 27 Sep 2023
    Taskfile is a tool for streamlining repetitive development tasks. It helps automate activities like building, testing, and deploying applications. Unlike Makefile, Taskfile uses YAML for configuration, making it more readable and user-friendly.
  • We built the fastest CI in the world. It failed
    11 projects | news.ycombinator.com | 12 Sep 2023
    9. We test everything with another promotion which runs make targets which build docker containers to run python scripts (pytest)

    This is also built by a complicated web of wildcarded makefile targets, which need to be interoperable and support a few if/else cases for specific components.

    My plan is to migrate all of this to something simpler and more straightforward, or at least more maintainable, which is honestly probably going to turn into taskfile[0] instead of makefiles, and then simple python scripts for the glue that ties everything together or does more complex logic.

    My hope is that it can be more straightforward and easier to maintain, with more component-ized logic, but realistically every step in that labyrinthine build process (and that's just the open-source version!) came from a decision made by a very talented team of engineers who know far more about the process and the product than I do. At this point I'm wondering if it would make 'more sense' to replace it with a giant python script of some kind and get access to all the logic we need all at once (it would not).

    [0] https://taskfile.dev/

  • Exploring GCP With Terraform: Setting Up The Environment And Project
    7 projects | dev.to | 20 Aug 2023
    task - a task runner and a replacement for make

What are some alternatives?

When comparing liblinux and Task you can also consider the following projects:

cosmopolitan - build-once run-anywhere c library

just - πŸ€– Just a command runner

vscode-gitlens - Supercharge Git inside VS Code and unlock untapped knowledge within each repository β€” Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more

doit - task management & automation tool

rustix - Safe Rust bindings to POSIX-ish APIs

goreleaser - Deliver Go binaries as fast and easily as possible

libratbag - A DBus daemon to configure input devices, mainly high-end and gaming mice

boilr - :zap: boilerplate template manager that generates files or directories from template repositories

minibase - small static userspace tools for Linux

JobRunner - Framework for performing work asynchronously, outside of the request flow

linux - Linux kernel source tree

taskctl - Concurrent task runner, developer's routine tasks automation toolkit. Simple modern alternative to GNU Make 🧰