Cap'n Proto VS poly

Compare Cap'n Proto vs poly and see what are their differences.

WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
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
Cap'n Proto poly
66 24
11,180 649
1.6% 2.6%
9.2 8.2
6 days ago about 1 month ago
C++ Go
GNU General Public License v3.0 or later 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.

Cap'n Proto

Posts with mentions or reviews of Cap'n Proto. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-09.
  • Mysterious Moving Pointers
    1 project | news.ycombinator.com | 14 Apr 2024
    Yeah I pretty much only use my own alternate container implementations (from KJ[0]), which avoid these footguns, but the result is everyone complains our project is written in Kenton-Language rather than C++ and there's no Stack Overflow for it and we can't hire engineers who know how to write it... oops.

    [0] https://github.com/capnproto/capnproto/blob/v2/kjdoc/tour.md

  • Show HN: Comprehensive inter-process communication (IPC) toolkit in modern C++
    2 projects | news.ycombinator.com | 9 Apr 2024
    - may massively reduce the latency involved.

    Those sharing Cap'n Proto-encoded data may have particular interest. Cap'n Proto (https://capnproto.org) is fantastic at its core task - in-place serialization with zero-copy - and we wanted to make the IPC (inter-process communication) involving capnp-serialized messages be zero-copy, end-to-end.

    That said, we paid equal attention to other varieties of payload; it's not limited to capnp-encoded messages. For example there is painless (<-- I hope!) zero-copy transmission of arbitrary combinations of STL-compliant native C++ data structures.

    To help determine whether Flow-IPC is relevant to you we wrote an intro blog post. It works through an example, summarizes the available features, and has some performance results. https://www.linode.com/blog/open-source/flow-ipc-introductio...

    Of course there's nothing wrong with going straight to the GitHub link and getting into the README and docs.

    Currently Flow-IPC is for Linux. (macOS/ARM64 and Windows support could follow soon, depending on demand/contributions.)

  • Condvars and atomics do not mix
    1 project | news.ycombinator.com | 24 Mar 2024
    FWIW, my C++ toolkit library, KJ, does the same thing.[0]

    But presumably you could still write a condition predicate which looks at things which aren't actually part of the mutex-wrapped structure? Or does is the Rust type system able to enforce that the callback can only consider the mutex-wrapped value and values that are constant over the lifetime of the wait? (You need the latter e.g. if you are waiting for the mutex-wrapped value to compare equal to some local variable...)

    [0] https://github.com/capnproto/capnproto/blob/e6ad6f919aeb381b...

  • Cap'n'Proto: infinitely faster than Protobuf
    1 project | news.ycombinator.com | 26 Feb 2024
  • I don’t understand zero copy
    2 projects | /r/rust | 7 Dec 2023
    The second one is to encode data in such a way that you can read it and operate on it directly from the buffer. You write data in a layout that is the same, or easily transformed as types in memory. To do that you usually need to encode with a known schema, only Sized types to efficiently compute fields locations as offsets in the buffer, and you usually represent pointers as offset into the encode. You can look at capnproto protocol for instance https://capnproto.org/
  • OpenTF Renames Itself to OpenTofu
    5 projects | news.ycombinator.com | 20 Sep 2023
    Worked well for Cap'n Proto (the cerealization protocol)! https://capnproto.org/
  • A Critique of the Cap'n Proto Schema Language
    3 projects | news.ycombinator.com | 20 Aug 2023
    With all due respect, you read completely wrong.

    * The very first use case for which Cap'n Proto was designed was to be the protocol that Sandstorm.io used to talk between sandbox and supervisor -- an explicitly adversarial security scenario.

    * The documentation explicitly calls out how implementations should manage resource exhaustion problems like deep recursion depth (stack overflow risk).

    * The implementation has been fuzz-tested multiple ways, including as part of Google's oss-fuzz.

    * When there are security bugs, I issue advisories like this:

    https://github.com/capnproto/capnproto/tree/v2/security-advi...

    * The primary aim of the entire project is to be a Capability-Based Security RPC protocol.

  • Cap'n Proto: serialization/RPC system – core tools and C++ library
    1 project | news.ycombinator.com | 28 Jul 2023
  • Sandstorm: Open-source platform for self-hosting web app
    15 projects | news.ycombinator.com | 4 Jun 2023
    I like how they use capability-based security [0] and use Cap'n Proto protocol. This is another technology that is slow to get broad adoption, but has many things going for when compared to e.g. Protocol Buffers (Cap'n Proto is created by the primary author of Protobuf v2, Kenton Varda).

    [0] https://sandstorm.io/how-it-works#capabilities

    [1] https://capnproto.org

  • Flatty - flat message buffers with direct mapping to Rust types without packing/unpacking
    4 projects | /r/rust | 10 May 2023
    Related but not Rust-specific: FlatBuffers, Cap'n Proto.

poly

Posts with mentions or reviews of poly. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-13.
  • Looking for an Open Source project to participate in for Google Summer of Code
    1 project | /r/golang | 10 Dec 2023
  • GitHub Accelerator: our first cohort and what's next
    28 projects | news.ycombinator.com | 13 Apr 2023
    - https://github.com/TimothyStiles/poly: Poly is a fast, well tested Go package for engineering organisms.
  • These 20 startups are in 1st ever batch of GitHub OS Accelerator
    7 projects | /r/github | 12 Apr 2023
    Poly: Fast Go package for engineering organisms
  • Ask HN: Burnt out from big tech. What's next?
    2 projects | news.ycombinator.com | 9 Feb 2023
    You might want to look at computational biology. Jim Allison won the Nobel Prize back in 2018 for his work on immunotherapy for cancer and there's a lot of basic research work to be done to perfect this approach. Epigenetic clocks are really interesting too (see Steve Horvath's work). Also, there's synthetic biology, where you could, for example, explore this package that's written in Go: https://github.com/TimothyStiles/poly
  • Any corner cases for Needleman-Wunsch that should be tested?
    1 project | /r/bioinformatics | 3 Feb 2023
  • Where can I find well-written go code to learn from?
    14 projects | /r/golang | 10 Jan 2023
  • High-performance language recommendation
    3 projects | /r/bioinformatics | 1 Jan 2023
    Check out poly. It’s written in go and I’m using it for one of my projects too. The goal is that we should have high performance libraries that we can use knowing what people are working on the forks will give the community a leg up.
  • How is GO used in bioinfo?
    2 projects | /r/bioinformatics | 27 Dec 2022
    The most popular bioinformatic package I've seen in go is poly.
  • Software engineers: consider working on genomics
    6 projects | news.ycombinator.com | 19 Nov 2022
    I write synthetic biology software for a living and maintain this open source, Go package for engineering DNA that has high test coverage and a nice little dev community around it.

    https://github.com/TimothyStiles/poly

    A large part of my project's community are devs that want to get into the field but can't tolerate the ridiculously low pay, laughably bad management, disrespect, and what amounts to 40+ years of technical debt that's endemic to biotech software.

    I've had companies here in the Bay Area offer me 100K a year with a straight face. I've had companies during interview tell me they're looking for someone to help, "set up GitHub". I've seen job listings for low paid web dev positions require applicants to have PhDs.

    The reality is that except for a growing handful of places management straight up won't know the difference between IT and software engineers. It's what I call the naive buyers problem.

    The demand for software engineers in biotech is generated by naive buyers that don't know what they need, why they need it, or how to get it.

    Benchling and Recursion Pharmaceuticals have reputations in the industry of paying, "standard software salaries". So do the research divisions at places like deepmind/microsoft/google but in my experience there's even new multi-billion dollar institutes where senior management has never even heard the term devops.

    Most places advertise for "data scientist", positions or some analog, instead of software engineers. This is mostly because upper management has never met an actual practicing software engineer in a professional setting. Many come from academia where the culture and work requirements heavily disincentivize standard software engineering practices.

    It's also not uncommon for a biotech company to either have a very under qualified CTO whose main programming experience is what they learned doing ML research like stuff during their PhD or not even have one at all which has huge downstream consequences.

    This week a software engineer trying to make the switch to biotech actually DM'd me to ask why they were seeing a ton of data science / ML job positions but no software engineering / devops positions.

    They were worried that these companies were trying to save on costs by forcing their data scientists to create infrastructure but it's actually worse than that. Most of these companies aren't even aware that there's supposed to be infrastructure.

    Despite all of this the future is looking better and I'm starting to find new companies and positions that are well... reasonable. I learned about this thread from a friend at a party last night that works at one of these companies. There's a small, strong new wave of companies and developers out there pushing biotech software forward. Hopefully some (including myself) make it big while pushing the idea that better tech equals better biotech.

  • Ask HN: What interesting problems are you working on? ( 2022 Edition)
    29 projects | news.ycombinator.com | 16 Sep 2022
    It is more like the X Y Z W. However, the X Y Z W bits I am working on as well (https://github.com/TimothyStiles/poly , https://github.com/TimothyStiles/allbase , trilo.bio, freegenes.org). Going for fully automated "make bacterium X produce molecule Y", but still a while away (but surprisingly not THAT far off)

What are some alternatives?

When comparing Cap'n Proto and poly you can also consider the following projects:

gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

Raylib-CsLo - autogen bindings to Raylib 4.x and convenience wrappers on top. Requires use of `unsafe`

Protobuf - Protocol Buffers - Google's data interchange format

pg-mem - An in memory postgres DB instance for your unit tests

FlatBuffers - FlatBuffers: Memory Efficient Serialization Library

linaria - Zero-runtime CSS in JS library

ZeroMQ - ZeroMQ core engine in C++, implements ZMTP/3.1

seq - A high-performance, Pythonic language for bioinformatics

Apache Thrift - Apache Thrift

m4b-tool - m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b

MessagePack - MessagePack serializer implementation for Java / msgpack.org[Java]

procedural-gl-js - Mobile-first 3D mapping engine with emphasis on user experience