#golangfacts search results

No results for "#golangfacts"

Behind every powerful technology is an interesting story. Golang was created at Google by legendary engineers who shaped C and UNIX—talk about strong foundations! 🧠⚙️ Stay curious. Keep learning. #GolangFacts #ProgrammingFun #TechCommunity #EurekaLearnings #DeveloperLife

ELS_India's tweet image. Behind every powerful technology is an interesting story.
Golang was created at Google by legendary engineers who shaped C and UNIX—talk about strong foundations! 🧠⚙️

Stay curious. Keep learning.

#GolangFacts #ProgrammingFun #TechCommunity #EurekaLearnings #DeveloperLife

TIL: the official standard Go compiler will not report "t declared but not used" and "a declared but not used" errors for the following code. #Golang #GolangFacts package main func main() { var t struct{x int} t.x = 1 var a [8]byte a[7] = 1 } github.com/golang/go/issu…


Whether or not you believe it, the function g is much more performant than the function f: #Golang #GolangFacts func f(x, y, z []byte) string { return string(x) + string(y) + string(z) } func g(x, y, z []byte) string { return (" " + string(x) + string(y) + string(z))[1:] }


A popular lie: the largest allowed stack size of a goroutine is 1 GB. It is 512 MiB actually (as of Go toolchain 1.17). #Golang #GolangFacts


Go is not C, so there is not an extreme fast way to merge slices: github.com/go101/go101/wi… #Golang #GolangFacts


There is not a perfect way to clone a slice in Go: github.com/go101/go101/wi… #Golang #GolangFacts


For the current official Go compiler implementation, values allocated on stack might change addresses. For example, package main var i interface{} func f() { type T int i = [1<<20]byte{} } func main(){ var x int println(&x) f() println(&x) } #Golang #GolangFacts


When using the official Go toolchain to build Go binaries, the binaries record (and so will leak) some of your personal information. So try to release you Go projects as source code, or build the distribution binaries in a build server without privacies. #Golang #GolangFacts


Up to now (Go 1.16), it is not a good idea to compare two "reflect.Value" values with the "reflect.DeepEqual" function, for undefined behavior. This might change later. github.com/golang/go/issu… #Golang #GolangFacts #GolangDetails


There is not a strong convention in naming Go standard APIs. There are at least 4 styles of function names for returning counts of items in Go: 1. flag.NArg 2. reflect.Value.NumField 3. go/types.Struct.NumFields 4. go/token.File.LineCount Aware of any more? #Golang #GolangFacts


RT @go100and1 How to specify the minimum Go toolchain version required by a package? github.com/go101/go101/wi… #Golang #GolangFacts #GolangTips #tech


How to specify the minimum Go toolchain version required by a package? github.com/go101/go101/wi… #Golang #GolangFacts #GolangTips


Some sadly, some existing code calls NumMethod() to judge whether or not an interface type is blank. This is incorrect. To avoid breaking these incorrect uses, the fix to reflect.Type/Value.NumMethod implementation will be reverted. github.com/golang/go/issu… #Golang #GolangFacts


Unlabelled for-loops will not prevent functions being inlined any more. github.com/golang/go/comm… The limit for labelled for-loops might be lifted in a future version other than v1.16. #Golang #GolangFacts

Now (Go Toolchain 1.15), with the standard Go compiler, functions containing for-loops will never be inlined: github.com/golang/go/issu… Now you can rewrite a small for-loop with goto to make such functions inlinable if you do care about the performance gain. #Golang #GolangFacts



Now (Go Toolchain 1.15), with the standard Go compiler, functions containing for-loops will never be inlined: github.com/golang/go/issu… Now you can rewrite a small for-loop with goto to make such functions inlinable if you do care about the performance gain. #Golang #GolangFacts


One problem of Go channels is, programming with channels is so enjoyable that many gophers still would use them in the situations channels are not the most suitable solution for. #Golang #GolangFacts


Declared functions are immutable values. In fact, if Go supports constant values of any kinds of types, then the following declaration func Foo(params)(results) {...} can also be written as const Foo = func(params)(results) {...} #Golang #GolangFacts


Not many people know this, but the name of the programming language Go is actually short for "Fuck you and go implement it yourself" #golangfacts


No results for "#golangfacts"

Behind every powerful technology is an interesting story. Golang was created at Google by legendary engineers who shaped C and UNIX—talk about strong foundations! 🧠⚙️ Stay curious. Keep learning. #GolangFacts #ProgrammingFun #TechCommunity #EurekaLearnings #DeveloperLife

ELS_India's tweet image. Behind every powerful technology is an interesting story.
Golang was created at Google by legendary engineers who shaped C and UNIX—talk about strong foundations! 🧠⚙️

Stay curious. Keep learning.

#GolangFacts #ProgrammingFun #TechCommunity #EurekaLearnings #DeveloperLife

Loading...

Something went wrong.


Something went wrong.


United States Trends