We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
People
J
Jeff
使用ChatGPT来改善关系和解决争论
P
Peter
Topics
Jeff: 我在生产环境中使用Hummingbird和Vapor框架,Hummingbird用于我的最新应用Bark.com,使用率更高。我喜欢Swift编译器带来的性能和安全优势,以及类型安全和并发安全特性。虽然Swift代码库之间共享代码的潜力有限,但模型和业务逻辑可以共享。我将图像渲染部分的代码共享在服务器端和客户端。视图代码在SwiftUI和服务器端Swift之间难以共享。Hummingbird的安装过程更灵活,使用Swift Package Manager,可以创建自己的项目或使用项目模板。Hummingbird支持AWS Lambda无服务器系统,启动速度更快。 Peter: 选择服务器端编程语言取决于个人或团队的舒适度和熟悉程度。没有对错之分,重要的是选择自己熟悉的语言。学习Swift应该从客户端开发开始,再学习服务器端开发,因为客户端开发可以学习一些特定的开发规范。Vapor是一个结构化和有严格规范的框架,拥有丰富的文档和示例,支持本地运行和Docker部署。Hummingbird框架受到Vapor框架的启发,两者团队密切合作,拥有良好的文档和教程,并支持Swift并发特性。Vapor和Hummingbird都是优秀的Swift服务器端框架,选择取决于个人偏好。Hummingbird框架拥有许多官方扩展,例如WebSockets、Redis和Fluent ORM,并支持多种数据库。

Deep Dive

Chapters
The episode starts with a discussion about an accidental app release. The developer discusses the unexpected release of their app, the lack of final testing, and the pros and cons of automatic releases.
  • Accidental app release due to an unchecked automatic rollout option.
  • Missed last-minute testing and release notes preparation.
  • Discussion on the pros and cons of automatic app releases.

Shownotes Transcript

This week, we discuss serverside Swift using Hummingbird. We also discuss Vapor to compare the two experiences.

Thanks to our monthly supporters

  • Marko Wiese

  • Adam Wulf

  • bitSpectre

  • Arclite

** ★ Support this podcast on Patreon ★) **