{"id":12976,"date":"2025-03-15T08:16:23","date_gmt":"2025-03-15T07:16:23","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=12976"},"modified":"2025-03-15T08:16:26","modified_gmt":"2025-03-15T07:16:26","slug":"codon-high-performance-python-compiler","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2025\/03\/15\/codon-high-performance-python-compiler\/","title":{"rendered":"Codon: high-performance Python compiler"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><\/blockquote>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<h2 class=\"wp-block-heading\"><em><a href=\"https:\/\/docs.exaloop.io\/codon\">Codon: high-performance Python compiler<\/a><\/em><\/h2>\n\n\n\n<p>Codon is a high-performance Python implementation that compiles to native machine code without any runtime overhead. Typical speedups over vanilla Python are on the order of 10-100x or more, on a single thread. Codon&#8217;s performance is typically on par with (and sometimes better than) that of C\/C++. Unlike Python, Codon supports native multithreading, which can lead to speedups many times higher still.<\/p>\n\n\n\n<p><em>Think of Codon as Python reimagined for static, ahead-of-time compilation, built from the ground up with best possible performance in mind.<\/em><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Codon: high-performance Python compiler Codon is a high-performance Python implementation that compiles to native machine code without any runtime overhead. Typical speedups over vanilla Python are on the order of 10-100x or more, on a single thread. Codon&#8217;s performance is typically on par with (and sometimes better than) that of C\/C++. Unlike Python, Codon supports&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2025\/03\/15\/codon-high-performance-python-compiler\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[113],"tags":[],"class_list":["post-12976","post","type-post","status-publish","format-standard","hentry","category-python"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-3ni","jetpack-related-posts":[{"id":9066,"url":"https:\/\/monodes.com\/predaelli\/2022\/01\/14\/getting-started-with-cython-how-to-perform-1-7-billion-calculations-per-second-in-python\/","url_meta":{"origin":12976,"position":0},"title":"Getting started with Cython: How to perform >1.7 billion calculations per second in Python","author":"Paolo Redaelli","date":"2022-01-14","format":false,"excerpt":"Getting started with Cython: How to perform >1.7 billion calculations per second in Python Combine the ease of Python with the speed of C Mike HulsDec 8, 2021\u00b711 min read Cython will add an afterburner to your program (image by Oscar Sutton on Unsplash) The main advantage of Python is\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/monodes.com\/predaelli\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9245,"url":"https:\/\/monodes.com\/predaelli\/2022\/04\/05\/so-many-things-to-fix\/","url_meta":{"origin":12976,"position":1},"title":"So many things to fix!","author":"Paolo Redaelli","date":"2022-04-05","format":false,"excerpt":"Well, instead of reading Write Your Own C-extension to Speed Up Python by 100x | by Mike Huls | Towards Data Science How to write, compile, package and import your own, superfast C-module into\u00a0Python We should have read Write Your Own Eiffel-extension to Speed Up Python by 100x How to\u2026","rel":"","context":"In &quot;Mood&quot;","block_context":{"text":"Mood","link":"https:\/\/monodes.com\/predaelli\/category\/mood\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4347,"url":"https:\/\/monodes.com\/predaelli\/2018\/05\/26\/transcrypt-python-in-the-browser-lean-fast-open\/","url_meta":{"origin":12976,"position":2},"title":"Transcrypt &#8211; Python in the browser &#8211; Lean, fast, open!","author":"Paolo Redaelli","date":"2018-05-26","format":false,"excerpt":"Well, life is full of surprises.... The Transcrypt Python to JavaScript compiler makes it possible to program lean and fast browser applications in Python. Transcrypt applications can use any JavaScript library and can also run on top of Node.js or be used in combination with Django. Sorgente: Transcrypt - Python\u2026","rel":"","context":"In &quot;Senza categoria&quot;","block_context":{"text":"Senza categoria","link":"https:\/\/monodes.com\/predaelli\/category\/senza-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8964,"url":"https:\/\/monodes.com\/predaelli\/2021\/12\/06\/rusteiffel\/","url_meta":{"origin":12976,"position":3},"title":"RustEiffel?","author":"Paolo Redaelli","date":"2021-12-06","format":false,"excerpt":"Python 4.0 will never arrive\ud83e\udd1a\ud83d\ude14. Said by Python\u2019s creator And the reason is mainly Rust. Guido van Rossum (the Python programming language\u2019s inventor) stated in an interview a few days ago that it would be difficult for Python 4.0 to see the light of day since the programming language is\u2026","rel":"","context":"In &quot;Liberty Eiffel&quot;","block_context":{"text":"Liberty Eiffel","link":"https:\/\/monodes.com\/predaelli\/category\/eiffel\/liberty-eiffel\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2021\/12\/1Zw72DLdFFS_SoumO0Ho_Ew.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2021\/12\/1Zw72DLdFFS_SoumO0Ho_Ew.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2021\/12\/1Zw72DLdFFS_SoumO0Ho_Ew.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2021\/12\/1Zw72DLdFFS_SoumO0Ho_Ew.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":11037,"url":"https:\/\/monodes.com\/predaelli\/2023\/12\/17\/haxe-the-cross-platform-toolkit\/","url_meta":{"origin":12976,"position":4},"title":"Haxe &#8211; The Cross-platform Toolkit","author":"Paolo Redaelli","date":"2023-12-17","format":"quote","excerpt":"Watabou's Procgen\u00a0Arcana is is a collection of free map generators for tabletop role-playing games and worldbuilding. Currently, it consists of six generators, all of them are in active development. They are proprietary but free to use and they are made with Haxe Haxe - The Cross-platform Toolkit Haxe is an\u2026","rel":"","context":"In &quot;Eiffel&quot;","block_context":{"text":"Eiffel","link":"https:\/\/monodes.com\/predaelli\/category\/eiffel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5473,"url":"https:\/\/monodes.com\/predaelli\/2019\/04\/09\/most-popular-programming-languages-c-knocks-python-out-of-top-three-in-new-study-slashdot\/","url_meta":{"origin":12976,"position":5},"title":"Most Popular Programming Languages: C++ Knocks Python Out of Top Three in New Study &#8211; Slashdot","author":"Paolo Redaelli","date":"2019-04-09","format":"link","excerpt":"Is it time to give C++ a second canche or to revive mi interest for Eiffel? Source: Most Popular Programming Languages: C++ Knocks Python Out of Top Three in New Study - Slashdot C++ has knocked machine-learning favorite Python out of the top 3 in the TIOBE Index of popular\u2026","rel":"","context":"In &quot;Mood&quot;","block_context":{"text":"Mood","link":"https:\/\/monodes.com\/predaelli\/category\/mood\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/12976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=12976"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/12976\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=12976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=12976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=12976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}