proposal VS avendish

Compare proposal vs avendish and see what are their differences.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
proposal avendish
48 35
3,388 431
0.4% 1.6%
6.1 9.2
24 days ago 1 day ago
HTML C++
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 or later
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.

proposal

Posts with mentions or reviews of proposal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-19.
  • The Defer Technical Specification: It Is Time
    2 projects | news.ycombinator.com | 19 Mar 2025
    I know they implemented an optimization back in go 1.13. Not sure if that will help.

    https://github.com/golang/proposal/blob/master/design/34481-...

  • Lies we tell ourselves to keep using Golang
    16 projects | news.ycombinator.com | 26 Nov 2024
    the most basic example was the declined proposal https://github.com/golang/proposal/blob/master/design/32437-...

    Some people didn't like the "try" keyword it reminded them too much of exceptions, some people didn't like that they couldnt see a return inline (which was the purpose of the proposal in the first place).

    it's not that there are no solutions. the main problem is the go team's insistence to have "one true way" (tm) of doing something and unfortunately this gap between people who want to see every return inline and people who want to see the clean solution separate from the error handling is not something that can be bridged by technical means. the only solution is to implement both ways and lets see which one wins.

  • Does Go Have Subtyping?
    3 projects | news.ycombinator.com | 20 Oct 2023
    The conclusion is pretty weird to me.

    Go does rely on monomorphization for generics, just like C++ and Rust. The only difference is that this is an implementation detail, so Go can group multiple monomorphizations without worrying about anything else [1]. This form of hybrid monomorphization is being increasingly common, GHC does that and Rust is also trying to do so [2], so nothing special for Go here.

    On the other hand, explaining variance as a lifted polymorphism is---while not incorrect per se---also weird in part because a lack of variance is at worst just an annoyance. You can always make an adopter to unify heterogeneous types. Rust calls it `Box`, Go happens to call it an interface type instead. Both languages even do not allow heterogeneous concrete (or runtime) types in a single slice! So variance has no use in both languages because no concrete types are eligible for variance anyway.

    I think the conclusion got weird because the term "subtyping" is being misused. Subtyping, in the broadest sense, is just a non-trivial type relation. Many languages thus have a multiple notion of subtyping, often (almost) identical to each other but sometimes not. Go in particular has a lot of them, and even some relation like "T implements U" is a straightforward record subtyping. It is no surprise that the non-uniform value representation has the largest influence, and only monomorphization schemes and hetero-to-homogeneous adapters vary in this particular group.

    [1] https://github.com/golang/proposal/blob/master/design/generi...

    [2] https://rust-lang.github.io/compiler-team/working-groups/pol...

  • Backward Compatibility, Go 1.21, and Go 2
    6 projects | news.ycombinator.com | 14 Aug 2023
  • Defining interfaces in C++ with ‘concepts’ (C++20)
    1 project | news.ycombinator.com | 19 Apr 2023
    https://github.com/golang/proposal/blob/master/design/generi...
  • Why Turborepo is migrating from Go to Rust – Vercel
    7 projects | /r/golang | 8 Mar 2023
    Go Team wanted generics since the start. It was always a problem implementing them without severely hurting compile time and creating compilation bloat. Rust chose to ignore this problem, by relying on LLVM backend for optimizations and dead code elimination.
  • Are you a real programmer if you use VS Code? No Says OP in the byte sized drama
    1 project | /r/SubredditDrama | 24 Jan 2023
    Hold up, did the members actually push this forward or was support just often memed about and suddenly this proposal was made: https://github.com/golang/proposal/blob/master/design/43651-type-parameters.md
  • Major standard library changes in Go 1.20
    5 projects | news.ycombinator.com | 16 Jan 2023
    As far as I can tell, the consensus for generics was "it will happen, but we really want to get this right, and it's taking time."

    I know some people did the knee-jerk attacks like "Go sucks, it should have had generics long ago" or "Go is fine, it doesn't need generics". I don't think we ever needed to take those attitudes seriously.

    > Will error handling be overhauled or not?

    Error handling is a thorny issue. It's the biggest complaint people have about Go, but I don't think that exceptions are obviously better, and the discriminated unions that power errors in Rust and some other languages are conspicuously absent from Go. So you end up with a bunch of different proposals for Go error handling that are either too radical or little more than syntactic sugar. The syntactic sugar proposals leave much to be desired. It looks like people are slowly grinding through these proposals until one is found with the right balance to it.

    I honestly don't know what kind of changes to error handling would appear in Go 2 if/when it lands, and I think the only reasonable answer right now is "wait and find out". You can see a more reasonable proposal here:

    https://github.com/golang/proposal/blob/master/design/go2dra...

    Characterizing it as a "lack of vision" does not seem fair here--I started using Rust back in the days when boxed pointers had ~ on them, and it seemed like it took Rust a lot of iterations to get to the current design. Which is fine. I am also never quite sure what is going to get added to future versions of C#.

    I am also not quite sure why Go gets so much hate on Hacker News--as far as I can tell, people have more or less given up on criticizing Java and C# (it's not like they've ossified), and C++ is enough of a dumpster fire that it seems gauche to point it out.

  • Go's Future v2 and Go's Versioning
    1 project | /r/golang | 25 Nov 2022
    There will almost certainly not be a Go 2 in that sense. There is a Go 2 transition doc which extensively discusses what "Go 2" means. The conclusion is
  • What's the status of the various "Go 2" proposals?
    2 projects | /r/golang | 15 Nov 2022
    As it says on that page - those were not proposals. They were draft ideas to get feedback on. You can see the list of proposals in this repository: https://github.com/golang/proposal

avendish

Posts with mentions or reviews of avendish. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-07.
  • What's new in C++26 (part 1)
    6 projects | news.ycombinator.com | 7 Sep 2024
    Check out boost.pfr, it gets you there for a lot of cases. Here's a library I built with it: https://github.com/celtera/avendish

    It's a proper quantum leap compared to pre-reflection

  • Ask HN: What audio/sound-related OSS projects can I contribute to?
    22 projects | news.ycombinator.com | 22 Mar 2023
    Happy to introduce you to https://ossia.io there are a lots of tasks open! You can check the projects for the general development axes: https://github.com/ossia/score/projects?query=is%3Aopen ; e.g. Audio, Musicality, Integrations, JACK & Linux integration (some are in Classic projects mode) all have audio-related tasks, some easy, some hard.

    Creating new Avendish plug-ins (docs: https://celtera.github.io/avendish/) could also be fairly useful, here's a very basic example one: https://github.com/celtera/avendish/blob/main/examples/Advan...

  • Learning C++ for Multimedia and Audio programming
    5 projects | /r/cpp | 25 Jan 2023
    If you are interested in making max, pd, etc... extension you can look into https://github.com/celtera/avendish : it's made exactly for this and tries to stay very close from standard C++ unlike most existing audio frameworks which often come with their own bespoke standard library reimplementation. The documentation also tries to explain the c++ features it used, you might find this useful!
  • Soursop and Ponies in Kona: A C++ Committee Trip Report
    4 projects | news.ycombinator.com | 27 Nov 2022
    to automatically generate safe dlopen stubs for runtime dynamic library loading from header files

    and through the C++ one (this one is an extremely quick and dirty prototype):

    https://github.com/ossia/score/blob/master/src/plugins/score...

    to pre-instantiate get(aggregate), for_each(aggregate, f) and other similar functions in https://github.com/celtera/avendish because of how slow it is when done through TMP (doing it that way removed literally dozens of megabytes from my .o and had a positive performance impact even with -O3) ; so I weep a lot when I read that people in the committee object to pack...[indexing]

  • Cognitive Loads in Programming
    5 projects | news.ycombinator.com | 31 Aug 2022
    I really don't know about this, I'm writing audio & media effects in a fairly declarative style with https://github.com/celtera/avendish and I'm so much more productive that it's not even funny - I can rewrite entire effects from scratch in the time that it used to take me to find a bug somewhere
  • Ask HN: Who is using C++ as the main language for new project?
    26 projects | news.ycombinator.com | 12 Aug 2022
  • A framework for audio software development
    3 projects | news.ycombinator.com | 20 Jul 2022
  • Clap: The New Audio Plug-In Standard
    4 projects | news.ycombinator.com | 15 Jun 2022
    For anyone using c++, my declarative system has some amount of support for clap: https://github.com/celtera/avendish / https://celtera.github.io/avendish/

    But unlike clap, targetting this also gives direct access to a few other environments, namely Max, Pd, ossia score, with the list hopefully growing.

    Here is an example minimal plugin : https://github.com/celtera/avendish/blob/main/examples/Raw/M...

    Note that unlike pretty much every other c/c++ plugin API, the plugin code does not need to include any header, everything is done through reflection of struct members at compile-time.

    Here's a per-sample noise generator which uses a small library of pre-made ports: https://github.com/celtera/avendish/blob/main/examples/Helpe...

    And a very naive buffer-based audio filter : https://github.com/celtera/avendish/blob/main/examples/Helpe...

    UI is supported without relying on a specific UI library, only on a canvas painter concept which can then target Qt, NanoVG, and others to come: https://github.com/celtera/avendish/blob/main/examples/Helpe...

    since it binds directly to audio APIs at compile time, it has pretty much zero code size in itself, the smallest plugin it generates for VST2 is around 7kb IIRC

  • WG21, aka C++ Standard Committee, April 2022 Mailing
    3 projects | /r/cpp | 25 Apr 2022
    I've ported my lib https://github.com/celtera/avendish to P1061's experimental clang implementation to replace boost.pfr (https://github.com/celtera/avendish/blob/main/include/avnd/common/aggregates.hpp#L67) and it works great, it's only missing pack indexing because right now one still needs to do something like
  • Why LSP?
    14 projects | news.ycombinator.com | 25 Apr 2022
    Working on a sunset of this with https://github.com/celtera/avendish - C++ reflection makes this very easy

What are some alternatives?

When comparing proposal and avendish you can also consider the following projects:

thiserror - derive(Error) for struct and enum error types

nanobind - nanobind: tiny and efficient C++/Python bindings

functional-go - This library is inspired by functional programming - Clojure

DtBlkFx - Fast-Fourier-Transform (FFT) based VST plug-in

go_chainable - With generics, allowing chainable .Map(func(...)).Reduce(func(...)) syntax in go

csound_max - csound6~ object for Max/MSP

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that HTML is
the 9th most popular programming language
based on number of references?