←
Yury Selivanov3,587 posts
Yury Selivanov avatar

Yury Selivanov

@1st1

Leading the Ministry of Silly Walks @Vercel • Python core developer • PSF fellow • async/await • uvloop • asyncpg (before: co-founder/CEO of @geldata)

◷ Joined November 2007▧ 324 Photos and videos
Yury Selivanov avatar
Yury Selivanov@1st1·Oct 15

What a special moment. Python hits GA today on Vercel. Horizontally scalable serverless Python. Deploy apps with one command. Atomic deploys for your frontend and backend. Plus the full power of Vercel exposed with idiomatic hand-crafted Pythonic APIs. We've got you covered from AI SDK to Sandboxes. I wrote a blog post to tell the full story 👇

0:08
Yury Selivanov avatar
Yury Selivanov@1st1·Nov 17

it's crazy that Fabrice Bellard has had access to fable since 1997 🤯

Yury Selivanov avatar
Yury Selivanov@1st1·Oct 27

Petitio Trahendi (latin; Pull Requests) feels like an ancient concept. Assuming we keep pacing the frontier we'll advance toward Deployment Requests very soon.

Yury Selivanov avatar
Yury Selivanov@1st1·Oct 23

5/ And yeah, of course it's done with the help of AI, but it was far from a one-shot. Took a couple of days of on-and-off tinkering and experimentation. Without AI it would take me a week or two so I would probably never do this.

Yury Selivanov avatar
Yury Selivanov@1st1·Oct 23

4/ honestly I'm impressed with how far WebAssembly and the web stack in general has gone. In this little demo we use WASM, Web Workers, WebGL + lots of custom shaders, JSPI and more. The blocks layout is done by graphviz compiled with WASM to run in the browser.

Yury Selivanov avatar
Yury Selivanov@1st1·Oct 23

3/ this is real CPython compiled to WASM with additional hooks to record traces of tokenization, parsing, compilation, and then actual step by step execution of Python opcodes in the eval loop.

Yury Selivanov avatar
Yury Selivanov@1st1·Oct 23

2/ click on the "Inspect" button to dive deeper into the ceval loop details - browse the locals and the stack at every opcode, look how it maps to your Python code.

0:06
Yury Selivanov avatar
Yury Selivanov@1st1·Oct 23

1/ play with it here -- cpython.space -- click the "Compile" button and then "Run". Explore different scripts or edit and try your own.

Yury Selivanov avatar
Yury Selivanov@1st1·Oct 23

You've never seen 🐍Python like this, trust me :) I've built an interactive 3D explorer of Python's parser & compiler pipeline. If you ever wanted to look under the hood and understand how Python actually works this is your chance. Thread🧵

0:08
Yury Selivanov avatar
Yury Selivanov@1st1·Oct 21

My 1st big ship at CPython Core Sprint at OpenAI uuid7() will be 30x faster in Python 3.16 Imagine how much more FastAPI code you can ship now 🧠 cc @tiangolo

Post attachment