I hope everyone knows about the latest GoLang release 1.10. If it isn’t than here is an article with top interesting and important changes and improvements which have been released in a new version of GoLang. Fast reading about 8 mins 😉
#language #development #releases
https://medium.com/@thuc/whats-changes-in-golang-1-10-d3022fbade3c?source=linkShare-b636419a57de-1519654220
#language #development #releases
https://medium.com/@thuc/whats-changes-in-golang-1-10-d3022fbade3c?source=linkShare-b636419a57de-1519654220
Medium
What’s changes in Golang 1.10
Happy lunar new year and happy Golang 1.10 releasing. I took a quick look release note and notes interesting changes in Golang 1.10. Hope…
Compare the hash-map implementation between different languages: Python, Ruby, Java, Scala, GoLang, C++ and C#.
Good analysis, enjoy reading!
#development #language
https://rcoh.me/posts/hash-map-analysis/
Good analysis, enjoy reading!
#development #language
https://rcoh.me/posts/hash-map-analysis/
rcoh.me
An Analysis of Hash Map Implementations in Popular Languages
Few data-structures are more ubiquitous in real-world development than the hash table. Nearly every major programming features an implementation in its standard library or built into the runtime. Yet, there is no conclusive best strategy to implement one…
Interesting article about the bufio package in GoLang. How does it work (read, write for different data types) inside of package
#development #practice
https://medium.com/golangspec/introduction-to-bufio-package-in-golang-ad7d1877f762?source=linkShare-b636419a57de-1520074459
#development #practice
https://medium.com/golangspec/introduction-to-bufio-package-in-golang-ad7d1877f762?source=linkShare-b636419a57de-1520074459
Medium
Introduction to bufio package in Golang
Package bufio helps with buffered I/O. Through a bunch of examples we’ll get familiar with goodies it provides: Reader, Writer and Scanner…
Simple and good for understanding tutorial about Golang’s channels. It can help beginners to meet with them and learn to use it without problems 🙂
Keys of the article:
- What is a channel, goals, and functions of it;
- Deadlocks and other problems;
- Channel ranging and closing. When, why and how?
#development #basics #language
https://guzalexander.com/2013/12/06/golang-channels-tutorial.html
Keys of the article:
- What is a channel, goals, and functions of it;
- Deadlocks and other problems;
- Channel ranging and closing. When, why and how?
#development #basics #language
https://guzalexander.com/2013/12/06/golang-channels-tutorial.html
One of popularly questions is: How to handle errors correctly? GoLang best practices on the Medium will help with it. Of course, code examples are included 🙂
#development #practice #basics
https://medium.com/@sebdah/go-best-practices-error-handling-2d15e1f0c5ee?source=linkShare-b636419a57de-1520408380
#development #practice #basics
https://medium.com/@sebdah/go-best-practices-error-handling-2d15e1f0c5ee?source=linkShare-b636419a57de-1520408380
Medium
Go Best Practices — Error handling
This is the first article in a series of lessons I’ve learnt over the couple years I’ve worked with Go in production. We are running a good…
A new post about concurrency and synchronization cases in GoLang. Michał Łowicki tells us about buffered channels and how it can help with some concurrency problems.
#development #manual
https://medium.com/golangspec/reusable-barriers-in-golang-156db1f75d0b
#development #manual
https://medium.com/golangspec/reusable-barriers-in-golang-156db1f75d0b
Medium
Reusable barriers in Golang
How to implement them using buffered channels
Top GoLang features that you don’t know or don’t hear so much 🙂 If you want some main points of this article they are here:
- GoDoc;
- Static code analysis;
- Built-in testing and profiling framework;
- Race condition detection;
- Learning curve;
- Reflection;
- Opinionatedness;
- Culture.
#manual #development #basics #language
https://medium.freecodecamp.org/here-are-some-amazing-advantages-of-go-that-you-dont-hear-much-about-1af99de3b23a?source=linkShare-b636419a57de-1520768034
- GoDoc;
- Static code analysis;
- Built-in testing and profiling framework;
- Race condition detection;
- Learning curve;
- Reflection;
- Opinionatedness;
- Culture.
#manual #development #basics #language
https://medium.freecodecamp.org/here-are-some-amazing-advantages-of-go-that-you-dont-hear-much-about-1af99de3b23a?source=linkShare-b636419a57de-1520768034
freeCodeCamp
Here are some amazing advantages of Go that you don’t hear much about
In this article, I discuss why you should give Go a chance and where to start.
This is a perfect longread about organization of microservice’s testing.
#microservices #testing #architecture
https://medium.com/@copyconstruct/testing-microservices-the-sane-way-9bb31d158c16?source=linkShare-b636419a57de-1520885775
#microservices #testing #architecture
https://medium.com/@copyconstruct/testing-microservices-the-sane-way-9bb31d158c16?source=linkShare-b636419a57de-1520885775
Medium
Testing Microservices, the sane way
There’s no dearth of information or best-practices or books about how best to test software. This post, however, focuses solely on testing…
Benchmarks, profiling and code analysis there are words about quality software. Here is an article about it. I sure many of you have already known something about GoLang programs optimization, but may be someone will find here new points of it. Anyway, enjoy reading 🙂
#development #practice #memory
https://medium.com/@hackintoshrao/daily-code-optimization-using-benchmarks-and-profiling-in-golang-gophercon-india-2016-talk-874c8b4dc3c5?source=linkShare-b636419a57de-1521360367
#development #practice #memory
https://medium.com/@hackintoshrao/daily-code-optimization-using-benchmarks-and-profiling-in-golang-gophercon-india-2016-talk-874c8b4dc3c5?source=linkShare-b636419a57de-1521360367
Medium
Daily code optimization using benchmarks and profiling in Golang - Gophercon India 2016 talk
Need some help with analyzing whether algorithm A performs faster than B? Or can I know whether method A performs better than method B? Or…
How to work and use field tags in GoLang? Inside of this article Michał Łowicki from Opera company explains basics and features of tagging; include examples and best practices 🙂
#development #practice #basics
https://medium.com/golangspec/tags-in-golang-3e5db0b8ef3e
#development #practice #basics
https://medium.com/golangspec/tags-in-golang-3e5db0b8ef3e
Medium
Tags in Golang
Declaration of struct fields can be enriched by string literal placed afterwards — tag. Tags add meta information used either by current…
One more cool article about the fmt package: io.reader, printf, println functions, formatters, work with strings and STDIN. All that you want to know, but were afraid to ask about the output printing process in GoLang 🙂
#development #practice #language
https://medium.com/go-walkthrough/go-walkthrough-fmt-55a14bbbfc53?source=linkShare-b636419a57de-1522055573
#development #practice #language
https://medium.com/go-walkthrough/go-walkthrough-fmt-55a14bbbfc53?source=linkShare-b636419a57de-1522055573
Medium
Go Walkthrough: fmt
Templated formatting using the “fumpt” package.
I continue to looking for interesting articles about the IO package and today I’ve found one more good post in last Medium Digest by Vladimir Vivien from Kubernates. It calls “IO Streaming в GoLang”.
Main points of it:
- A structure and internal processes of io.Reader and io.Writer;
- Custom implementations of them;
- Useful types and packages for IO(os.File, os.Stdout, os.Stdin, and os.Stderr, io.Copy(), etc);
- Pipe writers and readers.
This article is completely of technical info, examples and illustrations 😀 Enjoy reading 📖!
#language #development #practice
https://medium.com/learning-the-go-programming-language/streaming-io-in-go-d93507931185
Main points of it:
- A structure and internal processes of io.Reader and io.Writer;
- Custom implementations of them;
- Useful types and packages for IO(os.File, os.Stdout, os.Stdin, and os.Stderr, io.Copy(), etc);
- Pipe writers and readers.
This article is completely of technical info, examples and illustrations 😀 Enjoy reading 📖!
#language #development #practice
https://medium.com/learning-the-go-programming-language/streaming-io-in-go-d93507931185
Medium
Streaming IO in Go
In Go, input and output operations are achieved using primitives that model data as streams of bytes that can be read from or written to…
Here is not new but interesting article about an escape analysis, pprof and debugging GoLang applications. Inside of post:
- Indirects;
- Slices, maps;
- Interfaces;
- Benchmarks and tests.
#practice #development #benchmarks
https://www.ardanlabs.com/blog/2018/01/escape-analysis-flaws.html
- Indirects;
- Slices, maps;
- Interfaces;
- Benchmarks and tests.
#practice #development #benchmarks
https://www.ardanlabs.com/blog/2018/01/escape-analysis-flaws.html
Ardan Labs
Escape-Analysis Flaws
Ardan Labs is trusted by small startups and Fortune 500 companies to train their engineers and develop business software solutions and applications.
Hi there 👋 and have a good weekend to everyone! I like to share some interesting pet projects and one of them calls GoCraft. Here is an GoLang implementation of famous Minecraft game 🙂 and it has some features:
- Basic terrain generation
- Add and Remove blocks.
- Move and fly.
#news #games #development
System requirements from Readme are:
macOS, Ubuntu/Debian-like Linux, CentOS/Fedora-like Linux but I think you are able to try to launch it on Windows if you want 😉
https://github.com/icexin/gocraft
- Basic terrain generation
- Add and Remove blocks.
- Move and fly.
#news #games #development
System requirements from Readme are:
macOS, Ubuntu/Debian-like Linux, CentOS/Fedora-like Linux but I think you are able to try to launch it on Windows if you want 😉
https://github.com/icexin/gocraft
GitHub
GitHub - icexin/gocraft: A Minecraft like game written in go
A Minecraft like game written in go. Contribute to icexin/gocraft development by creating an account on GitHub.
Good day 👋 I would like to share following 7 advices in short article by Kartik Khare how to increase your code quality in GoLang. Of course, before using it you should understand reasons for each advice in the post. As example Kartik writes:
#6 Use int as keys instead of strings in Map.
It’s a good way but here we can get optimization for optimization 🤔
#development #language
https://codeburst.io/how-to-optimise-your-go-code-c6b27d4f1452
#6 Use int as keys instead of strings in Map.
It’s a good way but here we can get optimization for optimization 🤔
#development #language
https://codeburst.io/how-to-optimise-your-go-code-c6b27d4f1452
Medium
How to optimise your Go code
This article is a summary of what I learnt from Björn Rabenstein’s talk on this topic.
Why are goroutines not lightweight threads?
Kartik Khare shows us his meaning about goroutines, lightweight threads and their difference in GoLang. There are no code examples inside but good thoughts about parallelism, threads and useful links at the end of the article :)
#development #runtime #language
https://codeburst.io/why-goroutines-are-not-lightweight-threads-7c460c1f155f
Kartik Khare shows us his meaning about goroutines, lightweight threads and their difference in GoLang. There are no code examples inside but good thoughts about parallelism, threads and useful links at the end of the article :)
#development #runtime #language
https://codeburst.io/why-goroutines-are-not-lightweight-threads-7c460c1f155f
Great article about the Clean architecture implementation for a GoLang micro service with code examples and theory explanations. If you still think about architecture best practices - it would be very interesting for you 😉
https://medium.com/@teo2k/go-clean-54c5cd866fe5
https://medium.com/@teo2k/go-clean-54c5cd866fe5
Medium
How to apply clean architecture principles to Golang micro-services
A full example of how applying clean architecture in Golang can lead to more maintainable and testable code
Top 6 web frameworks comparison by features, GitHub status, and design: Beego, Buffalo, Echo, Gin, Iris, Revel. Which is the better? :)
https://blog.usejournal.com/top-6-web-frameworks-for-go-as-of-2017-23270e059c4b
https://blog.usejournal.com/top-6-web-frameworks-for-go-as-of-2017-23270e059c4b
Medium
Top 6 web frameworks for Go as of 2017
You may not need a web framework if you design a small application for yourself, but if you’re going production then you definitely will…
Hi 👋 there! This article is meant for those who’re new to Go and want to start learning about Go’s concurrency primitives: go routines and channels.
#development #manual #basics
https://medium.com/@trevor4e/learning-gos-concurrency-through-illustrations-8c4aff603b3
#development #manual #basics
https://medium.com/@trevor4e/learning-gos-concurrency-through-illustrations-8c4aff603b3
Medium
Learning Go’s Concurrency Through Illustrations
You’ve most likely heard of Go in one way or another. It’s been increasing in popularity, and for good reason. Go is fast, simple, and has…
“Should I Rust, or Should I Go” - this is an article with a quick comparison of Golang and Rust code styles, features and conveniences of usage.
#language #development
https://codeburst.io/should-i-rust-or-should-i-go-59a298e00ea9
#language #development
https://codeburst.io/should-i-rust-or-should-i-go-59a298e00ea9
Medium
Should I Rust, or Should I Go
“Should I stay, or should I go?” Great song by the band The Clash. I’m listening to it, right now, while I’m writing this article. The song…
GoLang + Apache Kafka + Amazon Dynamo DB = ?
A quick-readable article about interesting way of a service architecture (eg. LocationRepository here is). Also in the end of this article you’ll find good links for further reading 😉
#architecture #examples #development
https://medium.com/@self.maurya/building-a-microservice-with-with-golang-kafka-and-dynamodb-part-i-552cc4816ff
A quick-readable article about interesting way of a service architecture (eg. LocationRepository here is). Also in the end of this article you’ll find good links for further reading 😉
#architecture #examples #development
https://medium.com/@self.maurya/building-a-microservice-with-with-golang-kafka-and-dynamodb-part-i-552cc4816ff
Medium
Building a microservice with Golang, Kafka and DynamoDB — Part I
Making Golang and Kafka work together