Skip to content

Rust wrapper for the antic library for algebraic number theory

Notifications You must be signed in to change notification settings

CyclotomicFields/antic-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

antic-rs

This is a wrapper for the antic library for algebraic number theory.

Great library in terms of functionality, but the API is terrible because it's written in C! No borrow checking, no lifetime management, and worst of all, no RAII, so you have to remember to initialise and free objects yourself.

All of this can be solved by providing a safe Rust wrapper library.

This is mainly implemented for benchmarks in the code for our cyclotomic field library.

To compile this you need to have antic and flint installed.

bindgen invocation

The src/bindings.rs source file is generated by the script generate_bindings.sh, which does some magic to get bindgen to generate legal Rust code.

About

Rust wrapper for the antic library for algebraic number theory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published