Alignment

Example application highlighting the alignment features of modern C++ (by Twon)

Alignment Alternatives

Similar projects and alternatives to Alignment

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

Alignment reviews and mentions

Posts with mentions or reviews of Alignment. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-16.
  • Zig self hosted compiler is now capable of building itself
    17 projects | news.ycombinator.com | 16 Apr 2022
    To clarify I meant as int8/int16's are packed in structs to compare to struct bitfields. Can't recall about the stack rules. Here's more discussion:

    http://www.catb.org/esr/structure-packing/

    https://github.com/Twon/Alignment/blob/master/docs/alignment...

    Also ARM for example doesn't have 8/16 bit registers so int8 or int16 will use a 32bit register:

    https://stackoverflow.com/a/23716920

    Curiosity got to me, perhaps Zig had improved significantly. So I compared the first benchmark I found (kostya/benchmarks/bf) with Zig with Nim. For the smaller input (bench.b) Zig did run with ~22% less RAM (about 20kB less).

    However, for the larger input (mandel.b) Nim+ARC used ~33% less RAM in safe mode: Nim 2.163mb -d:release; Zig 2.884mb -O ReleaseSafe; Zig 2.687mb -O ReleaseFast. The Nim requires 0.5mb less ram and the code is ~40% shorter. I don't have time to try out the Rust or Go versions though.

Stats

Basic Alignment repo stats
1
5
10.0
over 5 years ago

Twon/Alignment is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of Alignment is C++.


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