Skip to content

Support writing custom NumPy ufuncs in Rust #399

Open
@mhostetter

Description

@mhostetter

Add support for writing custom NumPy ufuncs in Rust.

Discussed in #398

Originally posted by mhostetter October 29, 2023
Is it possible to write a custom NumPy ufunc in Rust and then apply it on arrays (with the requisite broadcasting) from either Rust or Python?

My application is writing finite field arithmetic ufuncs. I previously implemented this in Python and wrapped in Numba. I'm curious if I can replicate in Rust and achieve better performance.

Forgive the question if it's obvious. I didn't find an answer in documentation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions