Re: [go-nuts] Go in programming language trends

2020-07-05 Thread Everton Marques
On the brighter side, no other language enjoys a long-term steady growth like Go... Kevin Chadwick: > > > >The fact that JS is top and above TyoeScript says a lot. > > > > Really, that is your analysis? > > Assuming valid data and considering js has enjoyed monopoly status for so > long, des

[go-nuts] Go in programming language trends

2020-07-04 Thread Everton Marques
https://tjpalmer.github.io/languish/ -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web

[go-nuts] Why Discord is switching from Go to Rust

2020-02-07 Thread Everton Marques
I think Go is way better than Rust, but it is amusing to see why people pick one over another. "Remarkably, we had only put very basic thought into optimization as the Rust version was written. Even with just basic optimization, Rust was able to outperform the hyper hand-tuned Go version. This

[go-nuts] Re: Go mindshare is low & ~flat, per Google Trends

2020-01-29 Thread Everton Marques
Not a loss of mindshare: It'd be nice to primarily work in Go rather than work on Go. https://bradfitz.com/2020/01/27/leaving-google -- 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

[go-nuts] Go mindshare is low & ~flat, per Google Trends

2020-01-16 Thread Everton Marques
See Go steadly growing over the years: https://madnight.github.io/githut/#/stars/2019/4 -- 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 golang-nuts+unsubscr...@g

[go-nuts] Help em if e else em Go

2019-12-28 Thread Everton Marques
Existe esse grupo em Português: https://groups.google.com/forum/m/#!forum/golang-brasil -- 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 golang-nuts+unsubscr...@g

Re: [go-nuts] Locking goroutine to "main" thread

2019-12-19 Thread Everton Marques
See also: https://github.com/faiface/mainthread -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion

[go-nuts] What is the meaning of the "go" line in go.mod

2019-12-11 Thread Everton Marques
https://www.reddit.com/r/golang/comments/b0b8k3/what_version_should_the_gomod_go_directive_be_set/ -- 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 golang-nuts+uns

Re: [go-nuts] go 1.13 won't compile

2019-09-30 Thread Everton Marques
Your code from playground compiled fine for me on Debian Linux. Tested with Go 1.13 and 1.13.1. Just had to include the missing func: func GetUserGroupStr(f os.FileInfo) (string, string) { return "foo", "bar" } Em segunda-feira, 30 de setembro de 2019 11:34:52 UTC-3, Robert Solomon es

[go-nuts] Re: Need help to learn go lang

2019-07-23 Thread Everton Marques
Em sexta-feira, 19 de julho de 2019 10:39:03 UTC-3, veeres...@gmail.com escreveu: > > would anyone help me out how to learn go lang more practically , may be > some resources . I want to understand go lang more practically , with some > great examples. > > thank you! > If you have basic unders

[go-nuts] How can race timing inject io.EOF into bufio.NewReader(os.Stdin) ?

2019-03-08 Thread Everton Marques
I am debugging an issue that randomly makes the code below to hit io.EOF instead of reporting first byte 'u' from "ugh": $ echo "ugh" | eraseme ;# this randomly reports EOF instead of first byte 'u' from "ugh" $ more eraseme/main.go // (snip) func main() { input := bufio.NewReader(os.St

[go-nuts] ZXBasic string slicing

2019-02-11 Thread Everton Marques
Funny feature from ZXBasic: There is a notation called slicing for describing substrings, and this can be applied to arbitrary string expressions. `"abcdef"(2 TO 5)="bcde"` http://www.worldofspectrum.org/ZXBasicManual/zxmanchap8.html -- You received this message because you are subscribed to

Re: [go-nuts] Host two distinct modules in one git repo?

2018-08-08 Thread Everton Marques
ul Jolly escreveu: > > Everton - apologies, things got rather busy and this thread dropped > off my radar. > > Is it possible for you to test with the latest build of go from tip? > > There have been a number of fixes since beta3. > > Thanks > On Thu, 26 Jul 2018 at 16:13,

[go-nuts] Re: Asymmetrical I/O load on single TCP connection

2018-02-08 Thread Everton Marques
-feira, 7 de fevereiro de 2018 17:21:39 UTC-2, Everton Marques escreveu: > > Hi, > > I wrote a simple utility https://github.com/udhos/goben to test TCP > throughput between two hosts. > At each endpoint, the tool spawns two goroutines: one for reading from > net.TCPConn as fa

[go-nuts] Asymmetrical I/O load on single TCP connection

2018-02-07 Thread Everton Marques
Hi, I wrote a simple utility https://github.com/udhos/goben to test TCP throughput between two hosts. At each endpoint, the tool spawns two goroutines: one for reading from net.TCPConn as fast as possible, other for writing into it as fast as possible. However I'm consistently obtaining uneven

[go-nuts] gomobile example for audio?

2017-07-28 Thread Everton Marques
I could not find the example for golang.org/x/mobile/exp/audio/al. Is it currently functional? Any pointers? Everton -- 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

[go-nuts] foo.Bar syntax clash - why?

2017-07-05 Thread Everton Marques
If context is not given, I can't tell if foo.Bar() is a function of package foo or a method of variable foo. That is, dot is used both for package namespace and method call. Example: type T struct { } func (t T) Println(s string) { fmt.Println("method: " + s) } func main() { fmt.Println("hello

[go-nuts] Re: how to debug in gomobile? & can gomobile support mac or linux sometime

2017-03-30 Thread Everton Marques
Em quarta-feira, 29 de março de 2017 22:31:52 UTC-3, hui zhang escreveu: > > As too me gomobile now are more like a game engine (for ui is gl) , like > cocos2dx. > but unlike cocos2dx, it only support mobile, and did not offer a way to > debug in wiki. > > how to debug, if it could not be debu