Better HN
topnewbestaskshowjobs
Log inSign up

tannernelson

44 karma · joined Jan 19, 2016 (10y ago) · 23 submissions

Submissions

comment 3y ago · link · parent

I feel seen

comment 3y ago · link · parent

This is fucking ChatGPT isn't it

comment 4y ago · link · parent

TIL that we can't know for sure the timestamp of now + some time span greater than 6 months.

comment 6y ago · link · parent

I really miss all the YouTube videos that would come out after an iPhone event with hands on and first impressions.

comment 6y ago · link · parent

I really don’t see the problem with just statically linking everything.

comment 6y ago · link · parent

Wow this is amazing

7.

What's New in Swift's Vapor 4(forums.swift.org ↗)

3 points · by tannernelson · 6y ago · discuss

comment 6y ago · link · parent

These things take time. A lot of people at Apple are heavily invested in Swift on the server, including the Swift core team: https://swift.org/server/

Swift itself still needs time to mature, too. Things like the memory model, async/await, generics, etc. The future is bright, it will just require some patience to get there.

comment 6y ago · link · parent

While it's sad to see IBM go, Vapor and the Swift Server working group are alive and more active than ever

https://github.com/vapor/vapor/ https://swift.org/server/

Amazon has also created a Swift web framework: https://github.com/amzn/smoke-framework

10.

Server-side Swift's Vapor 2.0 released (and it's 3x faster than 1.5)(medium.com ↗)

2 points · by tannernelson · 9y ago · discuss

11.

Vapor 1.0 released (Server side Swift web framework)(vapor.codes ↗)

8 points · by tannernelson · 10y ago · discuss

12.

Vapor already most used Swift web framework(twitter.com ↗)

2 points · by tannernelson · 10y ago · discuss

comment 10y ago · link · parent

https://github.com/qutheory/vapor

Vapor has great documentation and is really easy to use.

comment 10y ago · link · parent

2nd most starred web framework for Swift:

http://github.com/qutheory/vapor

Works on linux.

15.

Swift's Vapor web framework gets type-safe routing(github.com ↗)

3 points · by tannernelson · 10y ago · discuss

comment 10y ago · link · parent

The server behind Vapor can be swapped out with any class that conforms to ServerDriver. So providers could be added to support any Swift web server.

comment 10y ago · link · parent

There is additional documentation in the Wiki.

comment 10y ago · link · parent

This line is just meant to keep the process alive. The actual implementation of the ServerDriver uses threads. It's also worth mentioning that Vapor is totally protocol-based and modular, so you can easily plug in any class that conforms to ServerDriver and replace this logic.

comment 10y ago · link · parent

We are working hard to make all aspects of Vapor totally type safe. But, just by merit of being Swift, it's already infinitely more type safe than something like PHP.

A key goal of the project is to avoid the use of `Any` anywhere possible, and to move any run time safety checks to compile time.

comment 10y ago · link · parent

"insanely" fast was meant as a comparison to languages like PHP and means both performance and time it takes to set up.