Spy: language semantics for a statically-typed compiled variant of Python
The article discusses the language semantics of SPy, a statically-typed compiled variant of Python. It highlights the project's goals of improving performance and integrating static typing into Python. The author expresses gratitude to Anaconda for supporting the open-source initiative and outlines the phases of execution in SPy.
- ▪SPy aims to make Python's performance comparable to languages like C, Rust, and Go.
- ▪The project is not focused on achieving 100% compatibility with Python.
- ▪SPy operates in three execution phases: import time, redshift, and runtime.
Opening excerpt (first ~120 words) tap to expand
spy Inside SPy 🥸, part 2: Language semantics¶ This is the second post of the Inside SPy series. The first post was mostly about motivations and goals of SPy. This post will cover in more detail the semantics of SPy, including the parts which make it different from CPython. We will talk about phases of execution, colors, redshifting, the very peculiar way SPy implements static typing, and we will start to dive into metaprogramming. Before diving in, I want to express my gratitude to my employer, Anaconda, for giving me the opportunity to dedicate 100% of my time to this open-source project. Motivation and goals, recap¶ Shameless plug: give SPy a star ⭐ I admit I never cared much about GitHub stars, but it looks like nowadays it's what you need to be considered important.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Hacker News (Newest).