hexdump

hexdump.c: Single file C library implementation of the BSD command-line utility (by wahern)

Hexdump Alternatives

Similar projects and alternatives to hexdump

  • LuaJIT

    Mirror of the LuaJIT git repository

  • luajit2

    OpenResty's Branch of LuaJIT 2

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better hexdump alternative or higher similarity.

hexdump reviews and mentions

Posts with mentions or reviews of hexdump. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-11.
  • Why LuaJIT's interpreter is written in assembly
    4 projects | news.ycombinator.com | 11 Feb 2021
    It's not just as fast, but the difference is much less. For example, my hexdump (https://github.com/wahern/hexdump) clone compiles format specifications to bytecode for a tiny built-in VM. If I compile with VM_FASTER=1 (the default if __GNUC__ is defined), I still get an ~10% speed-up on Intel Core i9 (2019 MacBook Pro over compiling with VM_FASTER=0. Interestingly, I only get an ~5% speed-up on M1 (2020 MacBook Air), and on my AMD EPYC 3251 an ~2% slow-down unless I compile with -march=native, in which cases there indeed is no appreciable difference.

    Note that I'm rounding speed-up percentages down. Using Apple clang version 12.0.0 on the i9 and M1, and GCC 9.3.0 on the EPYC. Running `LC_ALL=C time ./hexdump -C /dev/null`. Switching between -O2 and -O3 doesn't seem to change relative gains. Ditto for using using -march=native except on EPYC.

    I don't have a pre-Haswell box around to test, but IIRC the difference used to be 30% or greater.

    Also, AFAIU GCC and clang have improved their switch statement support. For many years GCC and clang didn't actually optimize switch statements as well as the literature or what students were taught. Aggressive switch statement optimizations resulted in too many performance regressions in real-world applications. It seems only in the past few years have GCC and clang figured out how to apply those optimizations more aggressively while avoiding performance regressions.

Stats

Basic hexdump repo stats
1
84
0.0
over 5 years ago

The primary programming language of hexdump is C.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com