From F# to Python with Fable
summary
Fable now compiles F# into Python source (Python 3.9 compliant) and runs its test suite for Python with about 1500 unit tests passing while JavaScript has ~2500; Python support is beta in Fable 4. It prints PEP8 code, emits type hints, maps F# async/task to Python async/await, and uses NuGet + Poetry with femto to sync deps. A Giraffe-style web layer is transpiled to an ASGI-compatible giraffe app and a SafeStack-style to‑do demo runs under uvicorn with working API calls.
AI-written summary · about
chapters (29)
- 0:00Introduction
- 1:57Fsharp
- 3:15What is Fable
- 4:32Fable Version 4
- 8:09How does it work
- 10:00What is Python
- 11:15Python is the second greatest programming language
- 11:44Why not use Python
- 15:25Why use Python
- 16:55Fable Python
- 19:08Python vs Fable
- 21:53Why Im doing this
- 22:42The project selected me
- 23:10Installing Fable
- 26:45Running Fable
- 29:38Stealing code
- 31:18Python continuations
- 33:48Timeflies demo
- 39:47dependency management
- 41:09Femto
- 41:49Status
- 42:21Giraffe
- 47:49structlog
- 50:49remoting API
- 52:19demo
- 54:19two fable processes
- 55:19testing safestack
- 56:59safestack bindings
- 57:29bindings
related talks
01h 01mF# as a Better Python
47mPython on the Client Side Web
25mBuilding real-time apps for web, mobile & desktop in Python
29mFrom Graveyard to Glory: Production Python in the Browser
19mFlow-based programming made easy with PyF 2.0
51mF# for Trading
35mPyFlink: Building Flink applications with Python language
24mPython & Flutter: can birds and snakes really be friends?
