NamedStruct VS FastAttributes

Compare NamedStruct vs FastAttributes and see what are their differences.

NamedStruct

A drop-in replacement for Ruby's Struct that supports keyword arguments (by rohitpaulk)

FastAttributes

FastAttributes adds attributes with their types to the class (by applift)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
NamedStruct FastAttributes
- -
18 275
- -
0.0 0.0
over 6 years ago about 5 years ago
Ruby Ruby
MIT License 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.

NamedStruct

Posts with mentions or reviews of NamedStruct. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning NamedStruct yet.
Tracking mentions began in Dec 2020.

FastAttributes

Posts with mentions or reviews of FastAttributes. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning FastAttributes yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing NamedStruct and FastAttributes you can also consider the following projects:

Addressable - Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. It is flexible, offers heuristic parsing, and additionally provides extensive support for IRIs and URI templates.

ActiveAttr - What ActiveModel left out

Helix - Native Ruby extensions without fear

Virtus

Ruru - Native Ruby extensions written in Rust

Ruby Facets - Ruby Facets

regexp-examples - Generate strings that match a given regular expression

Hanami::Utils - Ruby core extentions and class utilities for Hanami

Behaves - Define behaviors and contracts between your code.

Lean::Attributes - define typed attributes on arbitrary Ruby classes