Web: https://towardsdatascience.com/nine-rules-for-elegant-rust-library-apis-9b986a465247?source=rss----7f60cf5620c9---4

June 16, 2022, 5:53 p.m. | Carl M. Kadie

Towards Data Science - Medium towardsdatascience.com

Practical Lessons from Porting Bed-Reader, a Bioinformatics Library, from Python to Rust

Photo by Kai Dahms on Unsplash

I love creating software libraries. Two months ago, I started porting one of our Python packages into a Rust crate. This new Rust crate matches the Python package’s ease of use and expressiveness. Along the way, I learned nine rules that can help you create beautiful libraries in Rust. The rules are:

  1. Create examples that don’t embarrass you.
  2. Accept all kinds of …

api apis bioinformatics library python rules rust software development

Machine Learning Researcher - Saalfeld Lab

@ Howard Hughes Medical Institute - Chevy Chase, MD | Ashburn, Virginia

Project Director, Machine Learning in US Health

@ ideas42.org | Remote, US

Data Science Intern

@ NannyML | Remote

Machine Learning Engineer NLP/Speech

@ Play.ht | Remote

Research Scientist, 3D Reconstruction

@ Yembo | Remote, US

Clinical Assistant or Associate Professor of Management Science and Systems

@ University at Buffalo | Buffalo, NY