Metatheory.jl VS StaticCompiler.jl

Compare Metatheory.jl vs StaticCompiler.jl and see what are their differences.

Metatheory.jl

General purpose algebraic metaprogramming and symbolic computation library for the Julia programming language: E-Graphs & equality saturation, term rewriting and more. (by JuliaSymbolics)

StaticCompiler.jl

Compiles Julia code to a standalone library (experimental) (by tshort)
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
Metatheory.jl StaticCompiler.jl
5 16
334 471
1.2% -
8.1 6.9
6 days ago about 1 month ago
Julia Julia
MIT License GNU General Public License v3.0 or later
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.

Metatheory.jl

Posts with mentions or reviews of Metatheory.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-26.
  • [ANN] E-graphs and equality saturation: hegg 0.1
    3 projects | /r/haskell | 26 Aug 2022
    I'd love to see something in the lines of Julia's https://juliasymbolics.github.io/Metatheory.jl/dev/
  • Twitter Thread: Symbolic Computing for Compiler Optimizations in Julia
    3 projects | /r/Julia | 3 Jan 2022
    From that example you can see how this makes some rather difficult compiler questions all be subsumed in the e-graph saturation solve. That solve itself isn't easy, it's an NP-hard problem that requires good heuristics and such, and that's what Metatheory.jl, and that's what chunks of the thesis are about. But given a good enough solver, the ability to write such transformation passes becomes rather trivial and you get an optimal solution in the sense of the chosen cost function. So problems like enabling automatic FMA on specific codes is rather simple with this tool: just declare a*b + c = fma(a,b,c), the former is a cost of 2 the latter is a cost of one, and let it rip.
  • Show HN: prometeo โ€“ a Python-to-C transpiler for high-performance computing
    19 projects | news.ycombinator.com | 17 Nov 2021
    Well IMO it can definitely be rewritten in Julia, and to an easier degree than python since Julia allows hooking into the compiler pipeline at many areas of the stack. It's lispy an built from the ground up for codegen, with libraries like (https://github.com/JuliaSymbolics/Metatheory.jl) that provide high level pattern matching with e-graphs. The question is whether it's worth your time to learn Julia to do so.

    You could also do it at the LLVM level: https://github.com/JuliaComputingOSS/llvm-cbe

    For interesting takes on that, you can see https://github.com/JuliaLinearAlgebra/Octavian.jl which relies on loopvectorization.jl to do transforms on Julia AST beyond what LLVM does. Because of that, Octavian.jl beats openblas on many linalg benchmarks

  • From Julia to Rust
    14 projects | news.ycombinator.com | 5 Jun 2021
  • Algebraic Metaprogramming in Julia with Metatheory.jl
    1 project | news.ycombinator.com | 12 Mar 2021

StaticCompiler.jl

Posts with mentions or reviews of StaticCompiler.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-04.
  • Potential of the Julia programming language for high energy physics computing
    10 projects | news.ycombinator.com | 4 Dec 2023
    Yes, julia can be called from other languages rather easily, Julia functions can be exposed and called with a C-like ABI [1], and then there's also various packages for languages like Python [2] or R [3] to call Julia code.

    With PackageCompiler.jl [4] you can even make AOT compiled standalone binaries, though these are rather large. They've shrunk a fair amount in recent releases, but they're still a lot of low hanging fruit to make the compiled binaries smaller, and some manual work you can do like removing LLVM and filtering stdlibs when they're not needed.

    Work is also happening on a more stable / mature system that acts like StaticCompiler.jl [5] except provided by the base language and people who are more experienced in the compiler (i.e. not a janky prototype)

    [1] https://docs.julialang.org/en/v1/manual/embedding/

    [2] https://pypi.org/project/juliacall/

    [3] https://www.rdocumentation.org/packages/JuliaCall/

    [4] https://github.com/JuliaLang/PackageCompiler.jl

    [5] https://github.com/tshort/StaticCompiler.jl

  • Julia App Deployment
    1 project | /r/Julia | 8 Jul 2023
    PackageCompiler, but it' s a fat runtime and not cross compile. A thin runtime is currently not possible without sacrifices for feature as https://github.com/tshort/StaticCompiler.jl.
  • JuLox: What I Learned Building a Lox Interpreter in Julia
    3 projects | news.ycombinator.com | 3 Jun 2023
    https://github.com/tshort/StaticCompiler.jl/issues/59 Would working on this feasible?
  • Making Python 100x faster with less than 100 lines of Rust
    21 projects | news.ycombinator.com | 29 Mar 2023
  • What's Julia's biggest weakness?
    7 projects | /r/Julia | 18 Mar 2023
  • Size of a "hello world" application
    2 projects | /r/Julia | 14 Nov 2022
    I just read the project's documentation at https://github.com/tshort/StaticCompiler.jl. It does produce a "hello world" application that is only 8.4k in size ๐Ÿ‘. I do like that it can work on Mac OS. Hopefully Windows support will come soon.
  • Why Julia 2.0 isnโ€™t coming anytime soon (and why that is a good thing)
    2 projects | /r/Julia | 12 Sep 2022
    See https://github.com/tshort/StaticCompiler.jl
  • My Experiences with Julia
    3 projects | news.ycombinator.com | 16 May 2022
  • Julia for health physics/radiation detection
    3 projects | /r/Julia | 9 Mar 2022
    You're probably dancing around the edges of what [PackageCompiler.jl](https://github.com/JuliaLang/PackageCompiler.jl) is capable of targeting. There are a few new capabilities coming online, namely [separating codegen from runtime](https://github.com/JuliaLang/julia/pull/41936) and [compiling small static binaries](https://github.com/tshort/StaticCompiler.jl), but you're likely to hit some snags on the bleeding edge.
  • We Use Julia, 10 Years Later
    10 projects | news.ycombinator.com | 14 Feb 2022
    using StaticCompiler # `] add https://github.com/tshort/StaticCompiler.jl` to get latest master

What are some alternatives?

When comparing Metatheory.jl and StaticCompiler.jl you can also consider the following projects:

JET.jl - An experimental code analyzer for Julia. No need for additional type annotations.

julia - The Julia Programming Language

Dagger.jl - A framework for out-of-core and parallel execution

PackageCompiler.jl - Compile your Julia Package

MacroTools.jl - MacroTools provides a library of tools for working with Julia code and expressions.

acados - Fast and embedded solvers for nonlinear optimal control

GPUCompiler.jl - Reusable compiler infrastructure for Julia GPU backends.

Octavian.jl - Multi-threaded BLAS-like library that provides pure Julia matrix multiplication

oneAPI.jl - Julia support for the oneAPI programming toolkit.

SciMLBenchmarks.jl - Scientific machine learning (SciML) benchmarks, AI for science, and (differential) equation solvers. Covers Julia, Python (PyTorch, Jax), MATLAB, R

LoopVectorization.jl - Macro(s) for vectorizing loops.