Developer Advocate @Google on the @Firebase team · Newsletter: peterfriese.dev/newsletter · Livestreams: piped.video/@PeterFriese

Hamburg, Germany
Apple's on-device models give us free, private and low-latency inference in Swift. But their performance is limited by device constraints (memory, compute, thermal considerations), and the context window size (8k as of iOS 27 beta 3). Learn how to overcome these limits with a hybrid AI router based on Apple's Dynamic Profiles: peterfriese.dev/blog/2026/hy…
6
22
216
49,757
Peter Friese retweeted
I got Swift distributed actors talking across an unusual boundary: a web browser and an iPhone. On one side, MiniSwift compiles Swift entirely in the browser and runs it as WebAssembly. On the other side is a real Xcode project, running on the iPhone Simulator with Apple's Swift runtime. The browser can simply write: try await phone.hello("world") There is no implementation of hello in the browser. Its body exists only on the phone. The invocation crosses the network and is dispatched there through Swift's own distributed actor machinery. Apple doesn't provide a network transport for distributed actors, but DistributedActorSystem is public so I implemented one. What I like most about this experiment is that neither side is a mock. MiniSwift is actually compiling the caller, and Xcode is actually compiling the actor. The transport just connects the two Swift worlds. And this isn't only a video demo. I made the Xcode project public so anyone can clone it, press Run, and try the same call from MiniSwift: github.com/toprakdeviren/Dis… Browser demo: miniswift.run/studio/?demo=s… There are a lot of interesting things that can be built once Swift in the browser and Swift on Apple platforms can talk through the same distributed actor model.
3
38
2,846
Peter Friese retweeted
When you call the Gemini API directly from your apps, protecting your backend infrastructure, quota, and proprietary prompts requires a multi-layered defense-in-depth approach. ✅ Review this checklist to implement recommended security best practices for Firebase AI Logic: goo.gle/46YQDbL
2
9
30
6,848
I've been enjoying reading @darryl_bayliss' blog series about how he built BuildHorn, a tool that alerts you when your GitHub actions fail. It's nice to read a development journal that spans several weeks, and culminates in a successful launch on the App Store!
I'm joining @RevenueCat's Shipaton hackathon to build an App showing CI build status at a glance! Check out my latest blog post about how I plan to build it: darrylbayliss.net/im-buildin… Aiming to write update posts on progress. Keep an eye out! #Shipaton #MobileDev #BuildInPublic
1
3
777
Peter Friese retweeted
Here's how to set up a spend cap ↓ 1 / Navigate to your project in the Firebase console. 2 / Go to your Usage and Billing settings, then the Account & budgets tab. 3 / Set budget alerts and spend caps. 4 / Enter your desired spend limit amount for the service and save your changes.
3
2
32
7,370
Ok, I'm curious - how do y'all handle API keys in your app?
18% Hardcoded
41% Keep them in my backend
28% Remote Config or similar
13% Something else, see reply
127 votes • Final results
3
3
2,223
Want to use @typesafeai's Jev in your @SwiftLang apps using the convenience of Apple's Foundation Models framework? Well - here you go (GitHub repo link in the replies)! (h/t to @rxwei for the inspiration!)
4
16
127
6,798
Jev doesn't hallucinate. Instead, it gives you a confidence level that you can grab from the response metadata, like this:
1
3
593
Peter Friese retweeted
We're adding support for AGENTS.md to Claude Code. Starting today in version 2.1.277, if there is no CLAUDE.md in a folder, Claude will check for and use AGENTS.md. You can toggle this behavior in /config.
2,067
2,649
31,350
5,554,248
Peter Friese retweeted
For those who fear knowledge work is going away: the biggest constants I've brought to all my tech jobs are: * Unbridled curiosity * Belief in/insistence on forward motion * Healthy disregard for the impossible Nothing has changed there. Skills change, values are more stable.
2
3
12
966
Peter Friese retweeted
😳 wow... I can't believe what I'm seeing. Firebase has spending caps. Like honest to god limits, not warnings. It's not for every service but wow what a start.
12
11
100
11,184
“I’m English and I never ever tried tea” 😱🙀😳😲
Coffee or tea? ☕🍵 And other important questions for devs building with Firebase ↓
1
1
1
873
The Firebase Apple SDK now supports AsyncStreams for Firestore snapshot listeners, realtime Remote Config, and Firebase Auth. To hear more about how we built this and the underlying principles, come to my talk "Don’t call us - we’ll call you: Modern SwiftUI callbacks using AsyncStream" at swiftCon in Berlin!
2
1
11
653
Peter Friese retweeted
Just yesterday, someone told me they thought Firebase was _just_ a database. 😳 (To be fair, I get it — the BASE in the name is a pretty strong hint...) Firebase is a platform for building apps without backend headaches: - Serverless infrastructure & auth - Secure LLM calls via Firebase AI Logic (no API keys exposed in your client app!) - Crashlytics, Cloud Messaging, & Analytics - and there is more... Think of Firebase as the BASE for your apps. We bring the infrastructure, so you can focus on what matters most to you: building great apps for your users. And yes - we also have a database. Actually, three of them - because choice is good. And if you need something that Firebase doesn't offer? No worries - you can easily tap into Google Cloud, because: every Firebase project is a Google Cloud project!
4
2
19
3,285
Experience all the joys, rejections, and mild fury of building indie apps in Indie Simulator 😂 A painfully accurate game for every app developer: go.peterfriese.dev/fun-indie…
1
2
982
I love giving talks that have a fun demo. For this year at DevFest HAM, I will bring Sherlock Holmes back to life with Gemini TTS. Come join me on October 16th in Hamburg, it's going to be fun!
1
1
5
536
Curious? Here's a sneak peek into the demo:
241
"Someone else already covered this" or "People can just ask AI"? @acolombiadev shares an encouraging reminder: nobody has your unique perspective. Go write that blog post, give that talk, and keep your authentic voice intact. go.peterfriese.dev/business-…
1
1
4
422