Hacker News new | ask | show | jobs
by kawsper 3388 days ago
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/

4 comments

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)

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.

Because having 100 less resources with similarly convenient language is something to sneer at...
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.
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.
They really should be comparing against golang and java.