All Projects → iamed2 → Rust.jl

iamed2 / Rust.jl

Licence: other
Write Rust code in Julia

Programming Languages

julia
2034 projects

Rust

Build Status codecov.io

Dependencies

You must have rustc and cargo to use this package. Rustup is the recommended install method.

Usage

This is a work in progress so there are not many features right now.

Take a look at test/runtests.jl for usage examples.

Capabilities

Current:

  • Compile a Rust code string and return a dlopend library
  • Translate fully-typed methods to Rust with a macro that calls code_typed

Future:

  • Rust string support
  • Replace common Julia method patterns with their Rust equivalents
  • Parameters => Generics

Supported Types and Functions

For a list of supported types call:

keys(Rust.AST.RUST_TYPES)

For a list of supported functions call:

keys(Rust.AST.RUST_FUNCTIONS)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].