Better HN
topnewbestaskshowjobs
Log inSign up

ptrpavlik

5 karma · joined Jul 6, 2014 (12y ago) · 9 submissions

Submissions

1.

Show HN: Resend/Loops alternative with back end written using Swift

2 points · by ptrpavlik · 2y ago · discuss

2.

Show HN: Use your work email to send rich transactional emails for your startup

1 points · by ptrpavlik · 2y ago · discuss

3.

Ask HN: Best option for transactional emails for SaaS

2 points · by ptrpavlik · 2y ago · discuss

4.

Show HN: SaaS back end template repo written using server-side Swift(github.com ↗)

4 points · by ptrpavlik · 3y ago · discuss

comment 3y ago · link · parent

Swift is currently safe in terms of type safety and dealing with pointer, I think that they've done an overall great job there. There's just few architectural decisions where doing things like accessing an array out of it's bounds crashes the app by design. In the server world, one might prefer throwing an exception you can capture instead of bringing the whole process down.

What Swift currently isn't is thread safe. They're working on it for Swift 6, but it's still probably years away, and will be a massive breaking change. Vapor has done a great job putting a thread-safe layer on top of this mess, but once you go down to say that mentioned SwiftNio level, you really need careful with concurrent memory access.

comment 3y ago · link · parent

I'd dare to say that I have a decent experience with server-side swift using vapor at this point, shipping few production apps. I'd historically always use Xcode, but decided to try to give using Visual Studio Code with that swift extension a shot.

It's been fine, but not an order of magnitude better than using Xcode. Having copilot is nice, but the auto completion is somehow worse than Xcode from my experience so far. And the list goes on, some things are better in vscode, some in Xcode. I might eventually switch back to just using Xcode.

7.

Migrating to Xcode 8 – What You Need to Know(medium.com ↗)

1 points · by ptrpavlik · 10y ago · discuss

8.

App as a Service(petr-pavlik.squarespace.com ↗)

1 points · by ptrpavlik · 12y ago · discuss

9.

Pimp your iOS Crashlytics Reports(petr-pavlik.squarespace.com ↗)

1 points · by ptrpavlik · 12y ago · discuss