HNHacker News
TopNewBestAskShowJobs

tannernelson

44 karma · joined January 19, 2016

submissionscomments
tannernelson··on Aspartame sweetener to be declared possible cancer risk by WHO, say reports
I feel seen
tannernelson··on Announcement: AI generated answers are officially banned here
This is fucking ChatGPT isn't it
tannernelson··on Unix time is bad and needs replacement, not UTC
TIL that we can't know for sure the timestamp of now + some time span greater than 6 months.
tannernelson··on iPhone 12 and iPhone 12 Pro
I really miss all the YouTube videos that would come out after an iPhone event with hands on and first impressions.
tannernelson··on "Rust does not have a stable ABI"
I really don’t see the problem with just statically linking everything.
tannernelson··on Reverse-engineering the Intel 8086's instruction register
Wow this is amazing
tannernelson··on IBM Stops Server Side Swift Framework Development
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.

tannernelson··on IBM Stops Server Side Swift Framework Development
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

tannernelson··on Ask HN: Server-side web framework in Swift/ObjectiveC?
https://github.com/qutheory/vapor

Vapor has great documentation and is really easy to use.

tannernelson··on Swift 3.0 Release Process
2nd most starred web framework for Swift:

http://github.com/qutheory/vapor

Works on linux.

tannernelson··on Vapor: a type-safe web framework for Swift
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.
tannernelson··on Vapor: a type-safe web framework for Swift
There is additional documentation in the Wiki.
tannernelson··on Vapor: a type-safe web framework for Swift
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.
tannernelson··on Vapor: a type-safe web framework for Swift
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.

tannernelson··on Vapor: a type-safe web framework for Swift
"insanely" fast was meant as a comparison to languages like PHP and means both performance and time it takes to set up.