Rust-Bio
uniffi-rs
Our great sponsors
Rust-Bio | uniffi-rs | |
---|---|---|
9 | 26 | |
1,500 | 2,293 | |
2.7% | 5.6% | |
6.7 | 9.5 | |
18 days ago | 3 days ago | |
Rust | Rust | |
MIT License | Mozilla Public License 2.0 |
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.
Rust-Bio
- Bioinformatics Data Structures in Rust
- Bioinformatics with Rust
-
bioinformatic libraries and zig?
Does anyone know of zig native libraries for bioinformatics (here is a Rust example https://rust-bio.github.io/ )? It seems as though one could pull in a lot of bioinformatics C libraries such as done with https://github.com/brentp/hts-zig.
-
Proteomics search engine written in Rust
e.g. Rust-Bio
-
What are your top 3-5 programming languages and why?
I would start with the book and then rust-bio library. Rust is a pretty low level language compared to R/Python. It’s an especially good fit for writing efficient tools that make use of the kinds of algorithms / data structures that are implemented in rust-bio.
-
I have to admit. The free code camp course is a bit more sparing than I would have preferred. How did everyone learn Rust?
Absolutely! It already is, e.g., https://github.com/rust-bio/rust-bio. I'm moving from the academia/nonprofit world into industry bioinformatics, and I intend to use Rust as much as possible. I've already replaced as much of my Python as possible with Rust. I feel I'm able to create larger, more complex programs with Rust because I have the compiler to keep me from making common mistakes that are so easy to make in dynamically typed languages like Perl and Python. It might take longer to write a program initially, but I've started to create a library of functions I can paste together to do things like parse a positive integer, find a bunch of files with a certain file extension, search through data for a pattern, parse CSV files, etc. Writing my latest book has provided even more common patterns I keep finding I use over and over.
-
Is learning Rust and systems programming through the books Rust in Action and Crafting Interpreters a good idea?
I think there is huge potential for Rust in bioinformatics, and there are already some great projects like https://rust-bio.github.io/. It seems industry is also hiring for these skills. This Nature article is a little old, but also covers why people in the field are looking for greater safety and performance. It's relatively easy to write a Python program to do bio stuff, but it's also very easy to get lots of things wrong or for the resulting program to be slow and/or impossible to extend and maintain. In the long run, I think it makes sense to write in Rust. Perl was king in biofx when I started, and I would not have predicted it being displaced by Python, so there's good reason to believe that Python may one day be eclipsed by Rust.
-
Whats your favourite open source Rust project that needs more recognition?
Well, someone mentioned https://rust-bio.github.io/
-
How can one make Rust excel in the Sciences
So generally stuff in this maths/numerical space. The term is a bit deceptive because it rarely means domain-specific science libraries like rust-bio even thought that might be what you think when you hear "scientific computing".
uniffi-rs
-
Opaque Types for UniFFI
On my youtube series "Growing up Rust", I'm building a personal CRM in Rust with a Swift frontend. I'm using CQRS and an event-driven architecture with the least amount of swift as possible. I'm using UniFFI to generate the bindings for swift (and in this example python)
-
Willow Protocol
Not officially. We currently have bindings for rust, python, golang and swift.
These were the most asked for bindings (python for ml, golang for networking and swift for ios apps).
We are using uniffi https://mozilla.github.io/uniffi-rs/
Would you need C or C++ bindings?
- UniFFI: Automatically generate foreign-language bindings for Rust libraries
- Compiling Rust for .NET, using only tea and stubbornness
-
Show HN: Pip Imports in Deno
An alternative is metacall. The example in the readme is about calling Python from Javascript, but it also works with other languages, like Ruby, C#, Java, and other languages
https://github.com/metacall/core
List of supported languages here https://github.com/metacall/core/blob/develop/docs/README.md...
In the future, maybe webidl (or extensions of it) will bring interoperability between languages too. At the moment there is https://mozilla.github.io/uniffi-rs/ for interoperability between Rust and a number of languages (basically the ones mozilla needs: Swift, Kotlin, Javascript)
-
ffizz: Build a Beautiful C API in Rust
The tooling for the first kind -- calling Rust from another language -- is a bit less developed, and tends to rely on code generation that doesn't necessarily produce a natural C API. cbindgen, uniffi, cxx, and Diplomat all take this course.
-
macOS Apps in Rust
Mozilla's uniffi-rs is really good. You write a common IDL and the bindings are generated automatically.
https://github.com/mozilla/uniffi-rs
-
Write SDK “base” in Rust, wrap in other languages?
At Mozilla we built a multi-language bindings generator: https://github.com/mozilla/uniffi-rs/
-
An experiment in the Rust compiler to begin devising a new cross-language ABI that's higher-level than the C ABI, with the goal of safer and easier FFI
Is there a connection with Mozilla UniFFI ?
-
Tauri now supports Android/iOS in the 2.0 branch!
Rust <> Swift/ Kotlin works very well with uniffi-rs by Mozilla: https://github.com/mozilla/uniffi-rs
What are some alternatives?
dash - Data Apps & Dashboards for Python. No JavaScript Required.
flutter_rust_bridge - Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
kanidm - Kanidm: A simple, secure and fast identity management platform
rust-android-gradle
clickhouse-rs - Asynchronous ClickHouse client library for Rust programming language.
PyO3 - Rust bindings for the Python interpreter
GeoRust - Geospatial primitives and algorithms for Rust
cxx - Safe interop between Rust and C++
Rhai - Rhai - An embedded scripting language for Rust.
wasmer-go - 🐹🕸️ WebAssembly runtime for Go
cycle - Modern and safe symbolic mathematics
glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.