News for hackers. Stuff that matters.
Re:Pushing Swift to the Server by kawsper on Thursday March 09, 2017 @11:17AM (#13830248)
The consultancy Nodes reports that their framework Vapor[0] that is written in Swift is "around 100 times faster" than other frameworks written in PHP, Ruby and Python, you can see his bold claim 4 minutes in here: https://vimeo.com/193549098, but of course no benchmarks have been presented.

[0] https://vapor.codes/

Re:Pushing Swift to the Server by always_good on Thursday March 09, 2017 @11:48AM (#13830484)
I'm not sure how Vapor is ready for production.

Try its hello world locally and then bench it with `wrk`. You'll get a lot of failed requests with a concurrency > 1. (I didn't test concurrency = 1)

Re:Pushing Swift to the Server by thehardsphere on Thursday March 09, 2017 @11:43AM (#13830438)
Even assuming it's true, that's not an impressive claim. Frameworks in those three languages are not known for their speediness.

If they claimed 1000 times, maybe that would be something worth sitting up to take notice.

Re:Pushing Swift to the Server by coldtea on Thursday March 09, 2017 @12:15PM (#13830745)
Because having 100 less resources with similarly convenient language is something to sneer at...
Re:Pushing Swift to the Server by thehardsphere on Thursday March 09, 2017 @02:15PM (#13832192)
When there are at least 4 such languages/runtime implementations that exist already and have more libraries that also "have 100 less resources" then, yes, that one claim is a lot less special.
Re:Pushing Swift to the Server by floatboth on Thursday March 09, 2017 @11:48AM (#13830485)
Pretty much anything that compiles to good native code can be 100 times faster than "frameworks written in PHP, Ruby and Python". At least if we're talking MRI/CRuby and CPython, and especially without running multiple workers in those languages.
Re:Pushing Swift to the Server by mahyarm on Thursday March 09, 2017 @04:23PM (#13833827)
They really should be comparing against golang and java.