Angehefteter Tweet
Pybites
12K posts

Pybites
@pybites
Helping people worldwide to improve their #Python + #developer + #mindset skills. Created by @bbelderbos & @juliansequeira. Join us: https://t.co/3aXqzdlZWx
Worldwide Beigetreten Aralık 2016
241 Folgt31.1K Follower
Pybites retweetet

From Python 🐍 to Rust 🦀 — 6 weeks, Zero-to-One, building a JSON parser from scratch in Rust 🦀
Last November, I came across @pybites hosting a beginner Rust cohort. Having followed @bbelderbos for a while here on X, I was quick to sign up. I had the privilege of being part of this cohort, coached by @jhodapp.
🛫 Over 6 weeks, we built a complete JSON parser from scratch — tokenizer, recursive descent parser, error handling, PyO3 Python bindings, and performance optimization.
🏋It taught me to think like a library developer — every public interface is a promise, every allocation matters, and your users are developers who will push your edge cases harder than any end user ever would. A fundamentally different mindset from being an application developer.
🚀 The result? Only 0.8x slower than CPython's battle-hardened C extension. 10–12x faster than simplejson. Zero dependencies. Zero unsafe.
👉 Check it out on my Github: lnkd.in/gzm4icJw
🫡 Jim Hodapp's detailed PR reviews every week and the hands-on approach made Rust click in a way tutorials never could.
⚡ If you're curious about Python or Rust, check out @pybites — highly recommend it.
Benchmarks:
1. 🔥 12–14x faster than simplejson. Every time. No exceptions.
2. 🏎️ Within 80% of CPython's C extension — a C codebase with 15+ years of hand-tuned optimization. Not bad for a from-scratch 🦀 parser with zero `unsafe`.
3. 🚀 2x faster than C on small inputs where 🦀's zero-overhead abstractions shine before FFI costs kick in.

English
Pybites retweetet

New Pybites podcast is live -> Why #Python developers are learning #Rust
Check it out here: youtube.com/watch?v=-5uLLB… and let me know if you're into Rust or planning to learn it this year ...

YouTube
English
Pybites retweetet

I hope these docs will contribute to a more friction-free way to learn.
Check it out at Help → Docs.
Not on our platform yet? Start learning Python for free. 🐍 📈
pybitesplatform.com/via/bob
English
Pybites retweetet

Not having (complete) docs earlier has been a miss!
And with AI, it's now easier to fix than ever.
Last week we added the whole suite to our @Pybites platform 👇
No more people abandoning the app because it's unclear how it works. 😱

English
Pybites retweetet
Pybites retweetet

Pybites retweetet

I just completed "Variable Assignment and Mutability" on @pybites Rust Platform 🦀🎉 rustplatform.com/variable-assig… < #Rust makes mutability explicit with `mut` 💡
English
Pybites retweetet
Pybites retweetet
Pybites retweetet

What makes up the 2026 #Python stack?
Why are uv, ruff, FastAPI, Typer, and SQLModel widely adopted by developers that want to have an ergonomic and performant toolset?
What methodologies do we use in our teaching to help you write clean/ robust code consistently?

English
Pybites retweetet
Pybites retweetet
Pybites retweetet
Pybites retweetet

Want cleaner #Python code? Run this loop before every commit:
format → lint → typecheck → test
Miss a step? Bugs slip through.
Do it manually? You'll forget.
The fix: pre-commit hooks that block bad commits automatically.
Free live session this Thursday — see the modern Python stack in action. 🐍
#Python #CodeQuality #SoftwareEngineering

English
Pybites retweetet

I just completed "Module Basics" on @pybites Rust Platform 🦀🎉 rustplatform.com/module-basics < everything private by default == safer
English
Pybites retweetet

I just completed "Iterator Basics" on @pybites Rust Platform 🦀🎉 rustplatform.com/iterator-basics - TIL 3 iterator methods, matching the ownership model in #Rust 📈
English
Pybites retweetet
Pybites retweetet

Just completed "Find the number pairs summing up n" on @pybites 🐍🎉 - pybitesplatform.com/bites/find-the… < this was nice: went with `pairwise`, but saw in the tests that pairs were spread across the list, so had to change to `combinations`
Feels good to do these exercises in AI times :)
English







