MuladdMacro.jl VS BinaryBuilderBase.jl

Compare MuladdMacro.jl vs BinaryBuilderBase.jl and see what are their differences.

MuladdMacro.jl

This package contains a macro for converting expressions to use muladd calls and fused-multiply-add (FMA) operations for high-performance in the SciML scientific machine learning ecosystem (by SciML)
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
MuladdMacro.jl BinaryBuilderBase.jl
3 1
45 9
- -
6.3 7.7
27 days ago 26 days ago
Julia Julia
GNU General Public License v3.0 or later 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.

MuladdMacro.jl

Posts with mentions or reviews of MuladdMacro.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-16.
  • Std: Clamp generates less efficient assembly than std:min(max,std:max(min,v))
    4 projects | news.ycombinator.com | 16 Jan 2024
    Totally agreed. In Julia we use https://github.com/SciML/MuladdMacro.jl all over the place so that way it's contextual and does not bleed into other functions. fast-math changing everything is just... dangerous.
  • Someone’s Been Messing with My Subnormals
    3 projects | news.ycombinator.com | 6 Sep 2022
    But if what you want is automatic FMA, then why carry along every other possible behavior with it? Just because you want FMA, suddenly NaNs are turned into Infs, subnormal numbers go to zero, handling of sin(x) at small values is inaccurate, etc? To me that's painting numerical handling in way too broad of strokes. FMA also only increases numerical accuracy, it doesn't decrease numerical accuracy, so bundling it with unsafe transformations makes one uncertain now whether it has improved or decreased accuracy.

    For reference, to handle this well we use MuladdMacro.jl which is a semantic transformation that turns x*y+z into muladd expressions, and it does not recurse into functions so it does not change the definitions of the callers inside of the macro scope.

    https://github.com/SciML/MuladdMacro.jl

    This is something that will always increase performance and accuracy (performance because muladd in Julia is an FMA that is only applied if hardware FMA exists, effectively never resorting to a software FMA emulation) because it's targeted to do only a transformation that has that property.

  • Julia macros
    5 projects | /r/Julia | 19 Dec 2021

BinaryBuilderBase.jl

Posts with mentions or reviews of BinaryBuilderBase.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-06.
  • Someone’s Been Messing with My Subnormals
    3 projects | news.ycombinator.com | 6 Sep 2022
    The Julia package ecosystem has a lot of safeguards against silent incorrect behavior like this. For example, if you try to add a package binary build which would use fast math flags, it will throw an error and tell you to repent:

    https://github.com/JuliaPackaging/BinaryBuilderBase.jl/blob/...

    In user codes you can do `@fastmath`, but it's at the semantic level so it will change `sin` to `sin_fast` but not recurse down into other people's functions, because at that point you're just asking for trouble. In summary, "Fastmath" is overused and many times people actually want other optimizations (automatic FMA), and people really need to stop throwing global changes around willy-nilly, and programming languages need to force people to avoid such global issues both semantically and within its package ecosystems norms.

What are some alternatives?

When comparing MuladdMacro.jl and BinaryBuilderBase.jl you can also consider the following projects:

Catalyst.jl - Chemical reaction network and systems biology interface for scientific machine learning (SciML). High performance, GPU-parallelized, and O(1) solvers in open source software.

ParameterizedFunctions.jl - A simple domain-specific language (DSL) for defining differential equations for use in scientific machine learning (SciML) and other applications

JuMP.jl - Modeling language for Mathematical Optimization (linear, mixed-integer, conic, semidefinite, nonlinear)

SymbolicNumericIntegration.jl - SymbolicNumericIntegration.jl: Symbolic-Numerics for Solving Integrals

Unityper.jl

ModelingToolkit.jl - An acausal modeling framework for automatically parallelized scientific machine learning (SciML) in Julia. A computer algebra system for integrated symbolics for physics-informed machine learning and automated transformations of differential equations

gcc

herbie - Optimize floating-point expressions for accuracy