Funbit

Funbit is a comprehensive Go library that provides full Erlang/OTP bit syntax compatibility for working with bitstrings and binary data.

Cost / License

  • Free
  • Open Source

Platforms

  • Mac
  • Windows
  • Linux
  • BSD
  • Go (Programming Language)
-
No reviews
1like
0comments
0news articles

Features

Suggest and vote on features
  1.  Golang
  2.  Pattern matching

 Tags

  • erlang
  • bitstring
  • go-library

Funbit News & Activities

Highlights All activities

Recent activities

  • niksavc liked Funbit
  • funbitty added Funbit
  • POX updated Funbit
  • funbitty added Funbit as alternative to Erlang and Elixir
Show all activities

Funbit information

  • Developed by

    RU flagOleg Kulikov
  • Licensing

    Open Source (MIT) and Free product.
  • Written in

  • Alternatives

    2 alternatives listed
  • Supported Languages

    • English

GitHub repository

  •  4 Stars
  •  0 Forks
  •  0 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Funbit was added to AlternativeTo by funbitty on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is Funbit?

A Go library I've been working on that brings Erlang-style bitstring construction and pattern matching to Go. If you've ever worked with binary protocols or needed precise bit-level data manipulation, this might be useful.

Key features:

  • True Erlang Compatibility: Direct 1:1 mapping of Erlang bit syntax to Go API
  • True Bit-Level Operations: Operates as a genuine bit stream, not byte-aligned segments
  • Rich Data Types: Integer, float (16/32/64-bit), binary, bitstring, UTF-8/16/32
  • Dynamic & Expression-Based Sizing: Variables and arithmetic expressions (total-6)
  • Unit Multipliers: Size multiplication with unit:N (e.g., 32/float-unit:2 = 64-bit double)
  • Full Endianness Support: Big, little, and native byte ordering
  • Compound Specifiers: Complex combinations (32/big-unsigned-integer-unit:8)
  • String Literals in Patterns: Constants like "IHDR":4/binary for protocol validation
  • Builder API Pattern: Chain operations, check errors once
  • Proper Type Semantics: Integers display as numbers, binary as characters
  • Protocol-Ready: Built for parsing real-world protocols (IPv4, TCP, PNG, etc.)
  • High Performance: Optimized for both construction and pattern matching

Funbit Videos

Official Links