Discover and read the best of Twitter Threads about #cython

Most recents (2)

There's a new programming language in town - it's Mojo! I'm more than a little excited about it. It's Python, but with none of Python's problems.

You can write code as fast as C, and deploy small standalone applications like C.

My post is below, and a 🧵
fast.ai/posts/2023-05-…
Python is the language that I have used for nearly all my work over the last few years. It is a beautiful language. It has an elegant core on which everything else is built.

But it comes with a downside: performance. It's thousands of times slower than C.
Python programmers learn to avoid using Python for the implementation of performance-critical sections, instead using Python wrappers over C, FORTRAN, Rust, etc.

But this “two-language” approach has serious downsides. It's complex, hard to debug or profile, & hard to deploy.
Read 11 tweets
Just released another #Python package for #bioinformatics: #Cython bindings to FAMSA, a very fast algorithm for #MultipleSequenceAlignment by @sdeorowicz, Agnieszka Debudaj-Grabysz and @AdamGudys! Get it here: github.com/althonos/pyfam…
Just create an Aligner object (with additional configuration if you want), then give it some sequences to align:
It's missing some small things that I'll add over time, but for now the key features are there, and you could use it in your Python or #snakemake workflows in place of the FAMSA binary.
Read 4 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!