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

2018-12-30 Thread Laurent Moussault
It's easy to use Go on the Raspberry Pi (with or without cross-compilation), and AFAIK you can gain low-level access to the hardware in almost the same way than in C. For example, you can use all the features of the GPIO by mmap-ing the registers dedicated to its control (under linux the corres

[go-nuts] Re: Go2 Error Handling Feedback

2018-11-01 Thread Laurent Moussault
IMHO, this kind of refactorization actually makes the code less readable, for everyone but the programmer that just wrote it. Though it may seem obvious at first what functions like "CopyFile" do, an outsider reading the code will have to check the source to know for sure what is going on. Whe

[go-nuts] Re: gomobile: what's the right way to make widgets?

2018-10-29 Thread Laurent Moussault
I think less and less people care about native UIs. This was not the case a few years ago, but nowadays web-like interfaces, even for desktop applications, is becoming the new standard. Most "non-tech" people interact with their computers mostly through the web browser, so a similar interface i