betteralign

Make your Go programs use less memory (maybe) (by dkorunic)

Betteralign Alternatives

Similar projects and alternatives to betteralign based on common topics and language

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

betteralign reviews and mentions

Posts with mentions or reviews of betteralign. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-25.
  • GitHub - orijtech/structslop: structslop is a static analyzer for Go that recommends struct field rearrangements to provide for maximum space/allocation efficiency.
    4 projects | /r/golang | 25 Mar 2023
    I believe I have mentioned structslop just the other day when I have mentioned betteralign. Both fieldalignment (and original maligned) and structslop are great, but there are some smallish details that could be improved upon such as atomic I/O when rewriting source files, ability to skip test and/or generated files or even skip specific specific structs; and automatic GOMAXPROCS and GOMEMLIMIT tuneup when running under containers (such as in some CI pipeline). In any case, if you find this tool something that works for you, I would also appreciate if you could take a look at betteralign.
  • betteralign - structs field alignment static analyzer for Go
    8 projects | /r/golang | 22 Mar 2023
    I've written betteralign, a tool to detect structs that would use less memory if their fields were sorted and optionally sort such fields. Truth be told, there are a few projects already doing this task perfectly such as fieldalignment, maligned and structslop so you might wonder why should you bother with checking this tool at all. This is a fork of an official Go fieldalignment tool and vast majority of the alignment code has remained the same. There are however some notable changes:
    8 projects | /r/golang | 22 Mar 2023
    Thanks u/jxsl13, added in v0.2.1.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 29 Mar 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic betteralign repo stats
3
463
6.3
14 days ago

dkorunic/betteralign is an open source project licensed under BSD 3-clause "New" or "Revised" License which is an OSI approved license.

The primary programming language of betteralign is Go.

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