Pybites

12K posts

Pybites banner
Pybites

Pybites

@pybites

Helping people worldwide to improve their #Python + #developer + #mindset skills. Created by @bbelderbos & @juliansequeira. Join us: https://t.co/3aXqzdlZWx

Worldwide انضم Aralık 2016
241 يتبع31.1K المتابعون
تغريدة مثبتة
Pybites
Pybites@pybites·
Yes that's right! Join our weekly newsletter and you'll get 250 real-world practical #python tips for free! 🐍 🔥 📈
English
1
7
22
5.9K
Pybites أُعيد تغريده
Vikas Z
Vikas Z@vikasz_·
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.
Vikas Z tweet media
English
2
6
33
2.1K
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
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 video
YouTube
English
0
2
3
825
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
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
0
1
1
299
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
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. 😱
Bob Belderbos tweet media
English
1
1
2
581
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
10 years of teaching Python. Thousands of exercises completed. And then we built a Rust platform. Here's why.
Bob Belderbos tweet media
English
1
3
51
3K
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
You've been using #Rust for years. You just might not have realized it.
Bob Belderbos tweet media
English
1
2
8
983
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
Python dev feedback learning Rust: "I understand Python better now." Say again? Here's why that happens. Python lets you do this: data = [1, 2, 3] process_a(data) process_b(data) print(data) # What's in here? Depends on what process_a and process_b did.
Bob Belderbos tweet mediaBob Belderbos tweet media
English
1
1
3
732
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
Is reading books declining? 🤔 Common sentiments: • Where did my time go today? • I've just spent (wasted) an hour watching short videos. • I can never seem to find time to get a deep read in, it's all quick and shallow these days :/
Bob Belderbos tweet media
English
1
1
1
488
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
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?
Bob Belderbos tweet media
English
1
1
4
654
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
New @pybites podcast: Tim Gallati returned after 4 years to share how he added #RAG to his app. The twist? He shipped it in 6 weeks with 1:1 coaching. Here's what we learned:
English
1
1
2
515
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
"I forgot to implement that method." This sentence has caused production bugs. Python's ABCs (Abstract Base Classes) prevent this. Now any storage backend must implement these methods. Forget one? Python tells you at instantiation, so you'll catch it in time:
Bob Belderbos tweet media
English
2
2
6
618
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
In 2023, setting up a Python project = 5 tools In 2026, it's ONE. Here's the shift happening right now:
English
1
2
10
1.6K
Pybites
Pybites@pybites·
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
Pybites tweet media
English
1
1
4
458
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
I love when the tooling helps you (keeps you on your toes):
Bob Belderbos tweet mediaBob Belderbos tweet media
English
1
1
2
660
Pybites أُعيد تغريده
Bob Belderbos
Bob Belderbos@bbelderbos·
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
0
1
2
405