KernelAbstractions.jl VS StaticCompiler.jl

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
KernelAbstractions.jl StaticCompiler.jl
4 16
331 471
3.0% -
8.0 6.9
12 days ago 27 days 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.

KernelAbstractions.jl

Posts with mentions or reviews of KernelAbstractions.jl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-12.
  • Why is AMD leaving ML to nVidia?
    9 projects | /r/Amd | 12 Apr 2023
    For myself, I use Julia to write my own software (that is run on AMD supercomputer) on Fedora system, using 6800XT. For my experience, everything worked nicely. To install you need to install rocm-opencl package with dnf, AMD Julia package (AMDGPU.jl), add yourself to video group and you are good to go. Also, Julia's KernelAbstractions.jl is a good to have, when writing portable code.
  • Generic GPU Kernels
    7 projects | news.ycombinator.com | 6 Dec 2021
    >Higher level abstractions

    like these?

    https://github.com/JuliaGPU/KernelAbstractions.jl

  • Cuda.jl v3.3: union types, debug info, graph APIs
    8 projects | news.ycombinator.com | 13 Jun 2021
    For kernel programming, https://github.com/JuliaGPU/KernelAbstractions.jl (shortened to KA) is what the JuliaGPU team has been developing as a unified programming interface for GPUs of any flavor. It's not significantly different from the (basically identical) interfaces exposed by CUDA.jl and AMDGPU.jl, so it's easy to transition to. I think the event system in KA is also far superior to CUDA's native synchronization system, since it allows one to easily express graphs of dependencies between kernels and data transfers.

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 KernelAbstractions.jl and StaticCompiler.jl you can also consider the following projects:

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

julia - The Julia Programming Language

ROCm - AMD ROCm™ Software - GitHub Home [Moved to: https://github.com/ROCm/ROCm]

PackageCompiler.jl - Compile your Julia Package

AMDGPU.jl - AMD GPU (ROCm) programming in Julia

acados - Fast and embedded solvers for nonlinear optimal control

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

Agents.jl - Agent-based modeling framework in Julia

FoldsCUDA.jl - Data-parallelism on CUDA using Transducers.jl and for loops (FLoops.jl)

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