sokol-tools VS bashttpd

Compare sokol-tools vs bashttpd and see what are their differences.

sokol-tools

Command line tools for use with sokol headers (by floooh)

bashttpd

A web server written in bash (by avleen)
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
sokol-tools bashttpd
5 6
201 1,492
- -
7.3 0.0
2 days ago over 4 years ago
C++ Shell
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.

sokol-tools

Posts with mentions or reviews of sokol-tools. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-13.
  • Stop Hiding the Sharp Knives: The WebAssembly Linux Interface
    4 projects | news.ycombinator.com | 13 Dec 2023
    I would really love being able to take any POSIX command line tool, compile that to WASI, and run it on (at least) Linux, Windows and macOS like a regular executable without having to install a separate WASI runtime.

    I'm a 'WASI convert' since I was able to take an ancient 8-bit assembler written in the mid-90's (http://xi6.com/projects/asmx/), compile that as-is with the WASI SDK (https://github.com/WebAssembly/wasi-sdk), and then integrate it into a VSCode extension (https://marketplace.visualstudio.com/items?itemName=floooh.v...).

    A similar problem is I have is a shader cross-compiler (https://github.com/floooh/sokol-tools) which needs to run Linux, macOS and Windows and takes too long to build locally, thus I currently need to distribute that as pre-built binaries. Compiling this to WASI works, but the filesystem access restrictions built into current wasm runtimes are a hassle to manage, and it would require a WASI runtime to be separately installed).

  • Meta Releases Intermediate Graphics Library
    12 projects | news.ycombinator.com | 7 Jul 2023
    Sokol also provides a solution for shader cross-compilation (https://github.com/floooh/sokol-tools/blob/master/docs/sokol...), so you only need to write your shaders once no matter if you're targeting OpenGL, Metal, or DirectX.

    There are other tools you could use out there with IGL, but Sokol's solution streamlines the whole process.

  • Go 1.21 will (likely) have a static toolchain on Linux
    7 projects | news.ycombinator.com | 8 Apr 2023
    > but that is only for software written in C, it does not work with C++.

    I have a pretty complex C++ command line tool which works just fine with MUSL (https://github.com/floooh/sokol-tools). What potential problems should I be aware of?

  • Zig: The Modern Alternative to C
    12 projects | news.ycombinator.com | 10 Mar 2023
    In practice it works very well though, I experimented replacing cmake with build.zig for a 'not-quite-trivial' C++ project, and tbh for cross-platform code that's a lot nicer wrestling with cmake and all the C/C++ compiler toolchain differences:

    https://github.com/floooh/sokol-tools/blob/master/build.zig

  • Qb – Zero-configuration build system to quickly build C/C++ projects
    4 projects | news.ycombinator.com | 30 Apr 2022
    Yes, here is an example:

    https://github.com/floooh/sokol-tools/blob/master/build.zig

    Compared to cmake, this means giving up IDE support like Xcode or Visual Studio though, it's really just a pure build system.

bashttpd

Posts with mentions or reviews of bashttpd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-20.
  • [DISCUSSION] What if BASH could be used as a web server interpreter?
    3 projects | /r/bash | 20 Apr 2023
    I've had https://github.com/avleen/bashttpd/blob/master/bashttpd bookmarked for a while... not sure if it address:
  • Zig: The Modern Alternative to C
    12 projects | news.ycombinator.com | 10 Mar 2023
    In a way I feel that everything is an alternative to everything and at the same time nothing is.

    As you said it all depends on the circumstances. But I don't really see Zig competing with Go. They both can do mostly the same things, but they both approach them from quite a different sides.

    For example bash is being used in:

    - gaming (https://github.com/JosefZIla/bash2048)

    - web apps (https://github.com/avleen/bashttpd)

    - networking

    - CLIs

    - distributed systems (https://github.com/frameable/aviary.sh)

    - crypto (https://armedia.com/blog/blockchain-program-written-bash/ https://github.com/grondilu/bitcoin-bash-tools)

    - systems programming (https://github.com/damphat/kv-bash)

    - language tooling

    Some of those make more sense than others. However we all talk about a mythical general case. For every language there are niches that are covered by it more significantly. For Go it would probably be web backend. It doesn't mean it is only suited to this one niche, it is used in everything. In general it is used there more. I don't believe that Rust sees the most use in the same niche to the same order that Go sees it.

    Is Rust or Zig an alternative to php, awk or Lisp? In practice I don't really think so.

    I guess it all depends on one's definition of "alternative". I don't think that a statistical Go programmer would see Zig as a real alternative. Statistical C programmer might see it as a Go alternative, but that probably would not be a question he would ask.

  • Examples of cool || non-standard || "simply insane" bash stuff?
    7 projects | /r/bash | 29 Sep 2022
    https://github.com/avleen/bashttpd - httpd implementation in bash
  • Bashing the Bash – Replacing Shell Scripts with Python
    8 projects | news.ycombinator.com | 25 Mar 2022
  • Did you know? Perl is the tenth most in-demand programming language in 2021.
    4 projects | /r/perl | 4 Oct 2021
    Even bash, awk, and sed can do it.
  • An HTTP server in a single .c file
    12 projects | news.ycombinator.com | 2 Apr 2021

What are some alternatives?

When comparing sokol-tools and bashttpd you can also consider the following projects:

libxev - libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig and C API.

darkhttpd - When you need a web server in a hurry.

SFML-IGL - Rendering example with Meta's Intermediate Graphics Library and SFML

Bash-web-server - A purely bash web server, no socat, netcat, etc...

c - Compile and execute C "scripts" in one go!

awk-webserver - A simple webserver, written in GNU awk, that supports directory listing and download of file from the directory where it is launched

libddwaf - Datadog's WAF

sed-httpd - HTTP daemon written in SED

igl - Intermediate Graphics Library (IGL) is a cross-platform library that commands the GPU. It provides a single low-level cross-platform interface on top of various graphics APIs (e.g. OpenGL, Metal and Vulkan).

uip - The historical uIP sources

qb - Zero-configuration build system to very quickly build C/C++ projects.

stoneknifeforth - a tiny self-hosted Forth implementation