hana

Your standard library for metaprogramming (by boostorg)

Hana Alternatives

Similar projects and alternatives to hana

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

hana reviews and mentions

Posts with mentions or reviews of hana. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-16.
  • What are some C++ projects with high quality code that I can read through?
    8 projects | /r/cpp_questions | 16 Jan 2023
    I like boost::hana. Wish I had more chances to use it at work.
  • Simple `struct` static reflection system I use that tracks names, attributes (in my own code I also keep `constexpr` hashes of names) -- example gets fully inlined into `main()`
    2 projects | /r/cpp | 24 Apr 2021
    And then there's also the longstanding issue with default member initializers -- https://github.com/boostorg/hana/issues/409 -- which was a deal-breaker.The PROP system avoids this issue precisely by having the macro be as local as possible: the default member initializer is outside the macro. It does this while still letting you attach additional PropAttribs metadata (I'm not sure what additional metadata attachment looks like in Hana? haven't really tried). Default values and additional attributes are by and large quite more important to me in my use cases for reflection (component types in game ECS) than range syntax (everything I've needed and can think of needing is covered by for-each loop).
  • cppa2z - Document modern C++ using unit tests
    2 projects | /r/cpp | 31 Jan 2021
    oh yes definitely, but I meant more the particular way I've done it so far - which has been to implement something similar to boost::hana::is_valid(), to make it take the least amount of boilerplate code per-use-case as possible: zero additional lines of code.
  • C Implementation Challenge Replacing Stdmove And
    1 project | /r/programming | 23 Sep 2020
    Boost.Hana developers measured a very noticeable 15% decrease in compile time switching from a function call (admittedly -- with an additional layer of wrapper) to a raw static_cast. foonathan himself saw a little over a 5% decrease in his actual code. miki151 saw about a 3% improvement from replacing move with MOV only, ignoring forward. In a completely synthetic benchmark where I just generate a ton of move calls in a row, I get a little over 40% decrease in compile time.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 23 Apr 2024
    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. Learn more →

Stats

Basic hana repo stats
4
1,633
5.4
8 days ago

boostorg/hana is an open source project licensed under Boost Software License 1.0 which is an OSI approved license.

The primary programming language of hana is C++.


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