Software Alternatives, Accelerators & Startups

pkgsrc VS Messagepack

Compare pkgsrc VS Messagepack and see what are their differences

pkgsrc logo pkgsrc

pkgsrc is a framework for building over 17,000 open source software packages.

Messagepack logo Messagepack

An efficient binary serialization format.
  • pkgsrc Landing page
    Landing page //
    2023-06-30
  • Messagepack Landing page
    Landing page //
    2022-01-07

pkgsrc features and specs

  • Cross-Platform Support
    pkgsrc is designed to be a portable package management system and can be used on a variety of Unix-like operating systems, including NetBSD, Solaris, Linux, and macOS. This cross-platform capability makes it a versatile tool for developers working in diverse environments.
  • Consistency Across Systems
    Using pkgsrc allows for a consistent package management experience regardless of the underlying operating system, reducing the learning curve and maintenance overhead for administrators managing multiple systems.
  • Comprehensive Package Collection
    pkgsrc offers a wide range of software packages, providing a robust collection that can meet diverse user needs from scientific libraries to web applications.
  • Quarterly Releases
    With quarterly releases, pkgsrc provides a balanced approach between stability and keeping software up to date, offering users new features regularly while maintaining reliability.
  • Flexible Build Options
    pkgsrc supports a flexible build system, allowing users to customize package builds with specific options or dependencies, tailored to their specific needs or system requirements.

Possible disadvantages of pkgsrc

  • Smaller Community
    Compared to other popular package management systems like apt (Debian/Ubuntu) or yum (RedHat/CentOS), pkgsrc has a relatively smaller community, which might affect the availability of support and community-driven improvements.
  • Potentially Older Software
    While pkgsrc maintains stable quarterly releases, it may occasionally lag behind other systems in terms of offering the very latest versions of certain software, which might not be ideal for users needing the newest features.
  • Manual Configuration
    Setting up pkgsrc might require manual interventions and configurations, which could pose a hurdle for users unfamiliar with its setup process or those who prefer more automated solutions.
  • Dependency Management
    Although pkgsrc is quite capable in dependency handling, some users may find its dependency resolution to be less automatic or seamless compared to other systems which offer more integrated solutions.
  • Performance Overhead
    Because it is designed to be cross-platform, there can be some performance overhead associated with using pkgsrc compared to native package managers that are optimized for specific operating systems.

Messagepack features and specs

  • Efficiency
    MessagePack provides efficient binary serialization, which can significantly reduce the size of the data. This makes it faster to transmit over networks and cheaper to store, particularly for large datasets.
  • Interoperability
    MessagePack is supported by a wide variety of programming languages, making it easy to use in polyglot environments or in systems that consist of multiple services using different programming languages.
  • Simplicity
    The MessagePack format is simple to use and understand, comparable to JSON, but it offers better performance and compactness as it uses binary format instead of text.
  • Flexibility
    Supports a variety of data types including integers, floats, strings, arrays, and maps, allowing for complex data structures to be serialized without losing any information.

Possible disadvantages of Messagepack

  • Human Readability
    Because MessagePack uses a binary format, it is not human-readable. This makes debugging and logging more difficult compared to text formats like JSON.
  • Size Overhead for Small Data
    For very small payloads, the size overhead of MessagePack can be higher than JSON. This is because the headers and binary format of MessagePack can add more bytes compared to JSONโ€™s minimal text representation.
  • Tooling and Ecosystem
    While MessagePack is widely supported, its ecosystem and tooling are not as rich as JSONโ€™s. JSON has more extensive support in terms of libraries, tools, and online resources.
  • Complexity in Implementation
    Implementing MessagePack serialization and deserialization requires handling binary data, which can be more complex than dealing with text-based formats. This might require more effort and careful handling, especially in resource-constrained environments.

pkgsrc videos

pkgsrc on ChromeOS

More videos:

  • Review - Using pkgsrc for multi-platform deployments in heterogeneous environments, G Clifford Williams

Messagepack videos

No Messagepack videos yet. You could help us improve this page by suggesting one.

Add video

Category Popularity

0-100% (relative to pkgsrc and Messagepack)
Developer Tools
78 78%
22% 22
Configuration Management
0 0%
100% 100
Package Manager
100 100%
0% 0
Mobile Apps
0 0%
100% 100

User comments

Share your experience with using pkgsrc and Messagepack. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Messagepack might be a bit more popular than pkgsrc. We know about 15 links to it since March 2021 and only 11 links to pkgsrc. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

pkgsrc mentions (11)

  • Debian isn't waiting for 2038 to blow up, switches to 64-bit time for everything
    > Most open source software packages are also compiled for BSD variants, they switched to 64 bit time_t a long time ago and reported back upstream any problems. * NetBSD in 2012: https://www.netbsd.org/releases/formal-6/NetBSD-6.0.html * OpenBSD in 2014: http://www.openbsd.org/55.html For packaging, NetBSD uses their (multi-platform) Pkgsrc, which has 29,000 packages, which probably covers a large swath of... - Source: Hacker News / 12 months ago
  • Our Audit of Homebrew
    > https://pkgsrc.smartos.org/install-on-macos/ Note that Pkgsrc is a NetBSD-derived project. * https://pkgsrc.org The Joyent folks leveraged it to allow their customers, who were perhaps not as familiar with Solaris/SmartOS, a larger pool of packages. Pkgsrc was running on Solaris before Joyent, Joyent built on top of it. - Source: Hacker News / almost 2 years ago
  • Show HN: Brioche โ€“ A new Nix-like package manager
    Https://pkgsrc.org/ from netbsd runs on many systems. - Source: Hacker News / about 2 years ago
  • Installing packages without an internet connection?
    It seems according to pkgsrc.org that pkgin might follow the PKG_PATH environment variable. You're supposed to set PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/", and according to uname(1), -p gives the processor architecture and -r gives the operating system [kernel] release. Source: over 3 years ago
  • pkgsrc.se is no more :(
    It seems like pkgsrc.org hasnโ€™t got the news yet. Source: over 3 years ago
View more

Messagepack mentions (15)

  • A File Format Uncracked for 20 Years
    ImHex will tell you if it's compressed. Do you understand data structures? Floats, all those data types? I'd suggest looking at a format like msgpack to see what a binary data format could look like: https://msgpack.org/ Then be aware that proprietary formats are going to be a lot more complicated. Or maybe it's just zipped up json data, only way to tell is to start poking around at it. - Source: Hacker News / 9 months ago
  • ARJSON
    ARJSON leverages bit-level optimizations to encode JSON at lightning speed while compressing data more efficiently than other self-contained JSON encoding/compression algorithms, such as MessagePack and CBOR. - Source: dev.to / about 1 year ago
  • Salt Exporter: the story behind the tool
    I also read that Salt was using MessagePack to format their messages. MessagePack is a format like JSON, but more compact. - Source: dev.to / almost 3 years ago
  • What is the fastest way to encode the arbitrary struct into bytes?
    So appreciate such a detailed reply, thanks. btw, why did you choose tinylib/msgp from 4 available go-impls? Source: over 3 years ago
  • Using Arduino as input to Rust project (help needed)
    If you find you're running the serial connection at maximum speed and it's still not fast enough, try switching to a more compact binary encoding that has both Serde and Arduino implementations, like MsgPack... Though I don't remember enough about its format off the top of my head to tell you the easiest way to put an unambiguous header on each packet/message to make the protocol self-synchronizing. Source: over 3 years ago
View more

What are some alternatives?

When comparing pkgsrc and Messagepack, you can also consider the following products

Conda - Binary package manager with support for environments.

Avro - Avro Keyboard is an Unicode and ANSI compliant Free Bangla Typing Software and Bangla Spell Checker for Windows.

Homebrew - The missing package manager for macOS

TOML - TOML - Tom's Obvious, Minimal Language

Yay - Yay is an AUR helper written in go, based on the design of yaourt, apacman and pacaur.

Protobuf - Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.