union VS nimtraits

Compare union vs nimtraits and see what are their differences.

nimtraits

Automatic trait implementation for nim types (by haxscramper)
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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
union nimtraits
1 2
55 14
- -
5.8 5.9
3 months ago over 2 years ago
Nim Nim
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.

union

Posts with mentions or reviews of union. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-12.

nimtraits

Posts with mentions or reviews of nimtraits. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-12.
  • What would be your “perfect” programming language?
    9 projects | news.ycombinator.com | 12 Sep 2022
  • Nim Community Survey 2021 Results
    4 projects | news.ycombinator.com | 14 Jan 2022
    Thanks for your reply.

    It's interesting to know what the perceived weaknesses are. Nim does have pattern matching but it's rarely used, whereas it seems to be used a lot in Rust (probably because of the prominence of enums). Nim has static lifetime management, but it's mainly used for eliding and thread safety (for now). Traits are an interesting feature, and make a good example of why I'm so bullish on Nim: someone has already replicated them with a macro: https://github.com/haxscramper/nimtraits

    The popularity critical mass thing is mainly getting eyes on the language, but I think Nim has a slight advantage in that it's incredibly cooperative with its compile targets and FFI. Like Python, it's great for good glue code and 'scripting' without the performance penalty, and I hope that helps it meld into people's toolboxes over time.

What are some alternatives?

When comparing union and nimtraits you can also consider the following projects:

patty - A pattern matching library for Nim

awesome-nim - A curated list of awesome Nim frameworks, libraries, software and resources.

Kind2 - A next-gen functional language [Moved to: https://github.com/Kindelia/Kind]

macro-lisp - Lisp-like DSL for Rust language

Carp - A statically typed lisp, without a GC, for real-time applications.