Earlier quoted context omitted.
How is Go not general purpose?
Try to build a mobile app with Go.
Vapor: a type-safe web framework for Swift
61–70 of 76 posts
Re: Vapor: a type-safe web framework for Swift
#62The JSON response trick is just the right amount of magic. I'm eager to make Swift my new web dev language and this looks like a very promising option if they continue to maintain that balance.
Re: Vapor: a type-safe web framework for Swift
#63Oh dear. Already a 2nd web framework in Swift. Are we about to have a cambrian explosion of Swift web frameworks, ensuring obscurity for all?
https://github.com/necolt/swifton (A Ruby on Rails inspired Web Framework for Swift that runs on Linux and OS X)
Re: Vapor: a type-safe web framework for Swift
#64Earlier quoted context omitted.
Try to build a mobile app with Go.
You can build a mobile app in Go, for both Android and iOS. https://godoc.org/golang.org/x/mobile
Re: Vapor: a type-safe web framework for Swift
#65If you like Ruby on Rails you will like Swifton for Swift https://github.com/necolt/Swifton .
Re: Vapor: a type-safe web framework for Swift
#66Earlier quoted context omitted.
> Go is not general purpose Can you explain?
There is no arguing with Turing equivalence of Go and most other languages but there are practical limitations which prevent more complete general purposeness. I like Go since the beginning. However, Go cannot be easily used for kernel development, soft or hard real-time or embedded systems (no linker script support and porting runtime is weighty) and there are few transpilers. Rust is slightly better, because PoC ke…
Re: Vapor: a type-safe web framework for Swift
#67How is this "insanely fast"? Running an example main with the route '/' mapped to return "Hello World" ab -n 10000 http://127.0.0.1:8080/ I get 1400 requests/s in debug mode and 1900 requests/s in release mode. With wrk, I actually get between 3000-4000 requests/s with default parameters. Most of the time. Sometimes it just hangs. Trying to increase the number of requests with the -r parameter made the hangs consiste…
At least the insanely fast speed of Vapor also goes well on the client side with Vapor.JS, the world's smallest and fastest JavaScript library: https://github.com/madrobby/vapor.js/tree/master
Re: Vapor: a type-safe web framework for Swift
#68Earlier quoted context omitted.
How is Go not general purpose?
Try to build a mobile app with Go.
I'd say a language is general-purpose when it has not been tailored to a specific scenario or area of problems, but to work well for most. Isn't that, to a great extent, true for go?
Re: Vapor: a type-safe web framework for Swift
#69Earlier quoted context omitted.
You can build a mobile app in Go, for both Android and iOS. https://godoc.org/golang.org/x/mobile
I didn't say you can't do it. I said, try to do it. The phrase "general purpose" must be stretched considerably in such a case.