codon VS pure_numba_alias_sampling

Compare codon vs pure_numba_alias_sampling and see what are their differences.

codon

A high-performance, zero-overhead, extensible Python compiler using LLVM (by exaloop)

pure_numba_alias_sampling

Pure numba version of Alias sampling algorithm from L. Devroye's, "Non-Uniform Random Random Variate Generation" (by grej)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
codon pure_numba_alias_sampling
34 1
13,809 3
0.9% -
7.9 10.0
13 days ago about 6 years ago
C++ Python
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.

codon

Posts with mentions or reviews of codon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-22.

pure_numba_alias_sampling

Posts with mentions or reviews of pure_numba_alias_sampling. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-27.
  • Numba: A High Performance Python Compiler
    11 projects | news.ycombinator.com | 27 Dec 2022
    It’s not suitable for all use cases.

    But I highly highly recommend it if you need to do somewhat complex calculations iterating over numpy arrays for which standard numpy or scipy functions don’t exist. Even then, often we were surprised that we could speed up some of those calculations by placing them inside numba.

    Edit: ex of a very small function I wrote with numba that speeds up an existing numpy function (note - written years ago and numba has undergone quite some amount of changes since!): https://github.com/grej/pure_numba_alias_sampling

    Disclosure - I now work for Anaconda, the company that sponsors the numba project.

What are some alternatives?

When comparing codon and pure_numba_alias_sampling you can also consider the following projects:

Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.

fbpic - Spectral, quasi-3D Particle-In-Cell code, for CPU and GPU

Numba - NumPy aware dynamic Python compiler using LLVM

autograd - Efficiently computes derivatives of numpy code.

Cython - The most widely used Python to C compiler

hn-search - Hacker News Search

taichi - Productive, portable, and performant GPU programming in Python.

qha - A Python package for calculating thermodynamic properties under quasi-harmonic approximation, using data from ab-initio calculations

julia - The Julia Programming Language

rust-numpy - PyO3-based Rust bindings of the NumPy C-API

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

ideas4 - An Additional 100 Ideas for Computing https://samsquire.github.io/ideas4/