Originally posted by boxie
View Post
Announcement
Collapse
No announcement yet.
Go 1.7 Brings s390x Support, Compiler Improvements
Collapse
X
-
-
Originally posted by bug77 View Post
Threading shouldn't be an issue after all these years. Learning how to communicate over HTTP, expose a REST service, do persistence, caching, those are the hard parts. Because typically the language doesn't even cover them, you need 3rd party frameworks for those.
Persistance is a well solved problem and you are spoilt for choice (if you want to share data across multiple instances), otherwise state is easily maintained in a single long running binary.
Caching (at least for http) can be left up to something like varnish and the browser, just send the appropriate headers and design your website well.
There are of course third party libraries that can make this even easier.
The reason I said the threading was the hardest part (for me) was that I had never really done much of it.
- Likes 1
Comment
-
Originally posted by asdfblah View PostI think you meant https://tour.golang.org/
Originally posted by asdfblah View PostWhile the Go tour it's not everything, it's a great quick motivator.
Originally posted by boxie View PostThe hardest thing for me was wrapping my head around the threading stuff. coming from a single threaded dev career it was rather liberating!
As for learning, look at some examples for a simple web server and then try and benchmark your processor? Making my machine hurt is always a nice motivator
- Likes 1
Comment
-
Comment