[go-nuts] concurrency safety

2020-11-25 Thread Alexey Dvoretskiy
How would you cal "thread-safety" in Go? Go doesn't have threads so the term "thread-safety" sounds bit off. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[go-nuts] Bitwise operators applications

2017-07-22 Thread Alexey Dvoretskiy
Hello golang-nuts. I'm new to Go language and have no solid experience with C/C++. I was a database programmer with some Python and I was able to get around without bitwise operators easily. Of course, I ran into tons of issues with performance, deployment and other stuff. That is why I

[go-nuts] constants vs variables

2017-07-08 Thread Alexey Dvoretskiy
Hello golang-nuts, Here are two code snippets with operations on different types. One with constants and another one with variables. The first one works, the second one doesn't. Why is it like this? Logically both code snippets shouldn't work: https://play.golang.org/p/eqNJootZ3a package