Catwalk.jl VS JuliaInterpreter.jl

Compare Catwalk.jl vs JuliaInterpreter.jl and see what are their differences.

Catwalk.jl

An adaptive optimizer for speeding up dynamic dispatch in Julia (by tisztamo)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Catwalk.jl JuliaInterpreter.jl
1 5
82 157
- 1.9%
3.7 7.7
8 months ago 17 days ago
Julia Julia
GNU General Public License v3.0 or later 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.

Catwalk.jl

Posts with mentions or reviews of Catwalk.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-26.
  • What's Bad about Julia?
    6 projects | news.ycombinator.com | 26 Jul 2021
    Julia does have a minimal compilation path with an interpreter. You can even configure this on a per-module basis, which I believe some of the plotting packages do to reduce latency. There is even a JIT-style dynamic compiler which works similarly to the VMs you listed: https://github.com/tisztamo/Catwalk.jl/.

    IMO, the bigger issue is one of predictability and control. Some users may not care about latency at all, whereas others have it as a primary concern. JS and related runtimes don't give you much control over when optimization and are thus black boxes, whereas Julia has known semantics around it. I think fine-grained tools to externally control optimization behaviour for certain modules (in addition to the current global CLI options and per-package opt-ins) would go a long way towards addressing this.

JuliaInterpreter.jl

Posts with mentions or reviews of JuliaInterpreter.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-11.
  • Do you use Julia for general purpose tasks?
    3 projects | /r/Julia | 11 Mar 2022
    The projects page is a list of suggestions of projects that someone has already said they want to run. If you can find a mentor, you can submit a project for anything. For potential performance improvements, I'd look at https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/206, https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/312, and https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/314. I'm not sure if Tim Holy or Kristoffer have time to mentor a project, but if you're interested in doing a gsoc, ask around in the Julia slack/zulip, and you might be able to find a mentor.
  • Julia 1.7 has been released
    15 projects | news.ycombinator.com | 30 Nov 2021
    I would not go as far as calling it very naive, there has certainly been some work put into optimizing performance within the current design.

    There are probably some gains to be had by using a different storage format for the IR though as proposed in [1], but it is difficult to say how much of a difference that will make in practice.

    [1] https://github.com/JuliaDebug/JuliaInterpreter.jl/pull/309

  • What's Bad about Julia?
    6 projects | news.ycombinator.com | 26 Jul 2021
    You're right, done some more research and there seems to be an interpreter in the compiler: https://github.com/JuliaDebug/JuliaInterpreter.jl. It's only enabled by putting an annotation, and is mainly used for the debugger, but it's still there.

    Still, it still seems to try executing the internal SSA IR in its raw form (which is more geared towards compiling rather than dynamic execution in a VM). I was talking more towards a conventional bytecode interpreter (which you can optimize the hell out of it like LuaJIT did). A bytecode format that is carefully designed for fast execution (in either a stack-based or register-based VM) would be much better for interpreters, but I'm not sure if Julia's language semantics / object model can allow it. Maybe some intelligent people out there can make the whole thing work, is what I was trying to say.

  • Julia: faster than Fortran, cleaner than Numpy
    4 projects | /r/programming | 21 Jun 2021
    It could, but that is a lot more work than it sounds. It might be easier to make it possible to swap out the compiler for one that is much faster (LLVM is slow but does good optimisations, other compilers like cranelift are faster but produce slower code). There is a Julia interpreter but it was written in Julia itself (it was written to support debuggers), so it doesn't really solve the latency issues.
  • Julia: Faster than Fortran, cleaner than Numpy
    6 projects | news.ycombinator.com | 20 Jun 2021
    If you need to run small scripts and can't switch to a persistent-REPL-based workflow, you might consider starting Julia with the `--compile=min` option. You can also reduce startup times dramatically by building a sysimg with PackageCompiler.jl

    There is also technically an interpreter if you want to go that way [1], so in principle it might be possible to do the same trick javascript does, but someone would have to implement that.

    [1] https://github.com/JuliaDebug/JuliaInterpreter.jl

What are some alternatives?

When comparing Catwalk.jl and JuliaInterpreter.jl you can also consider the following projects:

Diffractor.jl - Next-generation AD

DaemonMode.jl - Client-Daemon workflow to run faster scripts in Julia

Tullio.jl - ⅀

julia-numpy-fortran-test - Comparing Julia vs Numpy vs Fortran for performance and code simplicity

Infiltrator.jl - No-overhead breakpoints in Julia

rust - Empowering everyone to build reliable and efficient software.

rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266

DiffEqOperators.jl - Linear operators for discretizations of differential equations and scientific machine learning (SciML)

OMEinsum.jl - One More Einsum for Julia! With runtime order-specification and high-level adjoints for AD