acm-header
Sign In

Communications of the ACM

ACM TechNews

Python-Based Compiler Achieves Performance Speedups


View as: Print Mobile App Share:
python snake sitting on a laptop computer, illustration

The Codon domain-extensible compiler uses Python's syntax and semantics.

The Codon compiler, from a team led by researchers from MIT CSAIL, allows developers to create new domain-specific languages within Python while achieving performance that rivals the C and C++ programming languages.

The research team compiled about 10 commonly used genomics applications written in Python and observed speedups of five to 10 times over the original hand-optimized implementations.

"Instead of needing to rewrite the program using a C-implemented library like NumPy or totally rewrite in a language like C, Codon can use the same Python implementation and give the same performance you'll get by rewriting in C,” said MIT's Saman Amarasinghe. Codon is available on GitHub.

From MIT News
View Full Article

 

Abstracts Copyright © 2023 SmithBucklin, Washington, DC, USA


 

No entries found

Sign In for Full Access
» Forgot Password? » Create an ACM Web Account