holzschu / holzschu/a-shell

Adding Numba

Open
#682 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

For those looking to optimize some Python code in a-Shell or Carnets, Numba may be a reasonable option and worth inclusion (and a potential alternative to things like Cython, which are harder to add due to the limitations with WebAssembly)

As [Numba's architecture]( https://numba.readthedocs.io/en/stable/developer/architecture.html ) is designed to generate LLVM IR, which LLVM in turn compiles for the target architecture's assembly code, this may be more amenable to generating optimized codes for WebAssembly

This may still require more work upstream. That said, it seems like upstream is interested in this work

* https://github.com/numba/llvmlite/issues/836
* https://github.com/numba/numba/issues/3284

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.