Re: [go-nuts] C++ 11 to Golang convertor

2019-01-02 Thread Ian Lance Taylor
On Wed, Jan 2, 2019 at 7:37 PM wrote: > > I have C++ 11 source files which I need to convert to Go language code > Is there any converter tool for this. > I google quite a few tools, none seems powerful and complete enough to do the > job.for me. C++ 11 is a much more complex language than Go.

[go-nuts] C++ 11 to Golang convertor

2019-01-02 Thread aureallm2170
Hello All I have C++ 11 source files which I need to convert to Go language code Is there any converter tool for this. I google quite a few tools, none seems powerful and complete enough to do the job.for me. Please help Thanks Abhishek -- You received this message because you are subscribed

Re: [go-nuts] go for robotic control, walking balance, quad flight control

2019-01-02 Thread Pat Farrell
On Wednesday, January 2, 2019 at 7:23:49 PM UTC-5, Wim Lewis wrote: > > Go's GC pauses and Linux's preemptions make them bad choices for this if > occasional random failures are unacceptable, but in practice, for tinkering > purposes, I think they're both fine --- That is my current thinking,

Re: [go-nuts] go for robotic control, walking balance, quad flight control

2019-01-02 Thread Wim Lewis
On 29. des. 2018, at 9:05 e.h., Pat Farrell wrote: > I need a project to motivate myself into writing some non-trivial go. So I > want to learn about implementing control theory, sensors, etc. ... > So now I have 3 main questions: > 1) is go a bad choice for implementing this? > 3) what OS?

Re: [go-nuts] Re: go for robotic control, walking balance, quad flight control

2019-01-02 Thread Dan Kortschak
Yeah, Gonum is 5 years old, and yet because of the design of the language handles some aspects of numerical and scientific coding far better than Matlab/NumPy - the rest is a work in progress. On Wed, 2019-01-02 at 04:26 -0800, minfo...@arcor.de wrote: > Thanks for mentioning Gonum. While IMO it

Re: [go-nuts] Re: Announcing a Fyne GUI toolkit

2019-01-02 Thread Andrew Williams
Absolutely games are possible :) In our examples repo we have “life”, “bugs”(like mines) and “solitaire”(incomplete). Maybe one of them will inspire you. The canvas work is a little less polished than the main widget set but it should be included in our upcoming release. (Warning: circle is

Re: [go-nuts] What are the reasonable reasons to use pointers?

2019-01-02 Thread Andy Balholm
And yet Knuth wrote TeX with virtually no pointers, because he didn’t trust the dynamic memory allocators in many Pascal implementations (probably from bitter experience). So he used array indices as s substitute for pointers. Andy > On Jan 2, 2019, at 3:13 AM, Chris FractalBach wrote: > >

Re: [go-nuts] Re: What are the reasonable reasons to use pointers?

2019-01-02 Thread Rodolfo
My simple answer is: Using pointers you not able to copy the data. Example: You create a User struct and use it without point: u := User{} When you do this: newUser := u you doing a copy If the u was a pointer newUser := you not doing a copy, all newUser data will be passed by reference

[go-nuts] Re: What are the reasonable reasons to use pointers?

2019-01-02 Thread shankar shivanna
no idea, please help On Tuesday, 1 January 2019 17:04:34 UTC+5:30, 伊藤和也 wrote: > > What are the reasonable reasons to use pointers? Are pointers neseccary? > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and

Re: [go-nuts] Go “service container” thoughts

2019-01-02 Thread Zellyn
Peter, thanks for that thoughtful and clear answer. It articulates very clearly the tussle I've been feeling, and is immensely helpful! Happy New Year! Zellyn On Tuesday, December 25, 2018 at 1:37:14 PM UTC-5, Peter Bourgon wrote: > > I've repeatedly built "service container" or "corp kits"

[go-nuts] Quirk with width of format string like %#05x

2019-01-02 Thread Ben Hoyt
Hi folks, I noticed that the following format string handles the width in an unexpected way (the "gosnip" program just runs snippets of Go code): $ gosnip 'fmt.Printf("%#05x\n", 45)' 0x0002d I would have expected the width (5) to include the "0x", but it's prepended to the string. In contrast,

Re: [go-nuts] Re: go for robotic control, walking balance, quad flight control

2019-01-02 Thread minforth
Thanks for mentioning Gonum. While IMO it does not play in the Matlab or NumPy league, the math basics are there. After all golang is just a ..lang.. and no control development toolbox. Am Mittwoch, 2. Januar 2019 00:52:01 UTC+1 schrieb kortschak: > Who uses [][]T for this? > > Gonum has

Re: [go-nuts] What are the reasonable reasons to use pointers?

2019-01-02 Thread Chris FractalBach
"I do consider assignment statements and pointer variables to be among computer science's "most valuable treasures."" Donald Knuth, Structured Programming with go to Statements -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from

Re: [go-nuts] Re: WebAssembly: Auto-generating Go bindings for javascript/DOM from the Web Standards.

2019-01-02 Thread Paul Jolly
Yes; see https://github.com/golang/go/wiki#the-go-community for details on how to join. On Tue, 1 Jan 2019 at 19:49, Chris FractalBach wrote: > > Are the # channels on slack? > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To

[go-nuts] we should buy "go.pub" and make it as package server, like maven in Java world

2019-01-02 Thread Fino
hi everyone, we should buy "go.pub" and make it as package server, like maven in Java world, on name.com, "go.pub" cost more than $5000, not that expensive, but not good price for myself :-< so I just throw out this idea, think good! BR fino -- You received this message because you

[go-nuts] Re: go for robotic control, walking balance, quad flight control

2019-01-02 Thread Fino
> > > 2) what hardware should I use? RaspberryPI, or some super Arduino? or a > more specific microcontroller, perhaps controlled by a R-PI? > suggest UP2 board => fully supported by Intel, best x86-64 dev board so far. https://up-board.org/upsquared/specifications/ > 3) what OS?

Re: [go-nuts] What are the reasonable reasons to use pointers?

2019-01-02 Thread Ian Denhardt
Quoting Bakul Shah (2019-01-02 03:07:14) > On Tue, 01 Jan 2019 22:56:06 -0800 Ian Lance Taylor wrote: > > On Tue, Jan 1, 2019 at 6:42 PM Bakul Shah wrote: > > > > > > On Tue, 01 Jan 2019 03:34:34 -0800 =?UTF-8?B?5LyK6Jek5ZKM5Lmf?= > > > wrote: > > > > > > > > What are the reasonable reasons to

Re: [go-nuts] What are the reasonable reasons to use pointers?

2019-01-02 Thread Bakul Shah
On Tue, 01 Jan 2019 22:56:06 -0800 Ian Lance Taylor wrote: > On Tue, Jan 1, 2019 at 6:42 PM Bakul Shah wrote: > > > > On Tue, 01 Jan 2019 03:34:34 -0800 =?UTF-8?B?5LyK6Jek5ZKM5Lmf?= > > wrote: > > > > > > What are the reasonable reasons to use pointers? Are pointers neseccary? > > > > Pointers