Re: Digest for gtug-bangalore@googlegroups.com - 1 Message in 1 Topic

19 views
Skip to first unread message

Mohd Laeeq

unread,
Oct 12, 2012, 3:33:20 AM10/12/12
to gtug-ba...@googlegroups.com
HI Satish, 

nice to observe your Go workshop. I always had this question in mind, Is Go embedded friendly ? in the sense that can we do embedded level / low level programming (interacting with hardware mostly) in Go ? 

I know it has feel of a interpreted language but is a procedural / compiled language and lots of other cool features. Always wondered whet ever it could be used to program "machine level"  , PS let me know or if you can point out some links or references, that would be even better. 

Thanks,  

-------------------------
Best Regards,
Laeeq





On Fri, Oct 12, 2012 at 3:31 AM, <gtug-ba...@googlegroups.com> wrote:

Group: http://groups.google.com/group/gtug-bangalore/topics

    Sathish VJ <sath...@gmail.com> Oct 11 02:53AM -0700  

    Hello everybody, I'm seeing a good and growing response to the Go Lang
    workshop. I shall send out the first list of ten people in a short while
    for the session this Saturday.
     
    For the next ten, so that we may quickly work with your enthusiasm, I
    propose that I hold a repeat of the session on Sunday at around the same
    time and the same venue. I shall send this list too.
     
    All others, I apologize for not being able to accommodate you right now,
    but let us get together again soon.
     
    cheers and see you all soon,
    Sathish
     
    On Wednesday, 10 October 2012 15:43:49 UTC+5:30, Badrinath Kulkarni wrote:

     

You received this message because you are subscribed to the Google Group gtug-bangalore.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.


Sathish VJ

unread,
Oct 15, 2012, 1:50:21 AM10/15/12
to gtug-ba...@googlegroups.com
Hello Laeeq,

Since I don't have relevant experience programming in embedded systems, please do not consider my answer final.  However, I shall make an attempt which will probably help your research.

* Go statically compiles/builds into a single executable with the Go runtime - this means that it is easy to deploy, complete by itself in deployment, and very easy to do deployment as there are no other external requirements on the production machines.  Yes, it's that easy.  However, the trade-off is that the executable is slightly larger.  In case of embedded you are typically looking at a few kilobytes of executable so as to have a minimal footprint.
* Go version 1 is a complete, cohesive language which was many years in development.  It is great as a generic language that could beat the likes of C++, Java, C#, etc. for web programming and other application programming.  It will also beat (in my opinion) the likes of C when it comes to programs of the same nature.  However, the needs of application programming are different from that of embedded, and like even Java has different versions targeted at small devices, I would believe that the default Go implementation might also need that.
* Having said that, a quick search shows me that people are taking to Go very quickly and have ported Go to RTEMS.  http://www.rtems.org/wiki/index.php/GCCGoRTEMS  I do not know if there are other ports.

Do let us know if you have found anything more relevant.

regards
Sathish

Mohd Laeeq

unread,
Oct 17, 2012, 1:25:21 AM10/17/12
to gtug-ba...@googlegroups.com
HI, 

You have made some valid points, its true Embedded sys need minimal program footprint. True, Go serves and makes web , app programming super easy. However i am still wondering about applications like making a audio or Video codec (h.264, Vp* etc.) in Go . In C its already done and runs fast. Further low level optimizations in ARM, NEON, VFP, etc .are done and they work well. Can't wait to see all this with Go .    

One thing that impresses me is super fast compile times in Go ( i saw it one demo). Nice to observe RTEMS guys porting it. will look into that soon, i guess more studies and work is needed, in case of doubts will trouble you again ;) 

Thanks a lot ! 

-------------------------
Best Regards,
Laeeq





On Tue, Oct 16, 2012 at 3:03 AM, <gtug-ba...@googlegroups.com> wrote:

     
    On Friday, 12 October 2012 13:03:22 UTC+5:30, Mohd Laeeq wrote:

     

Sathish VJ

unread,
Oct 17, 2012, 3:43:28 AM10/17/12
to gtug-ba...@googlegroups.com
Btw, apart from searching github for projects and libraries, you can also find a curated list at


cheers and best wishes
Sathish


On Wednesday, 17 October 2012 10:55:22 UTC+5:30, Mohd Laeeq wrote:
HI, 

You have made some valid points, its true Embedded sys need minimal program footprint. True, Go serves and makes web , app programming super easy. However i am still wondering about applications like making a audio or Video codec (h.264, Vp* etc.) in Go . In C its already done and runs fast. Further low level optimizations in ARM, NEON, VFP, etc .are done and they work well. Can't wait to see all this with Go .    

One thing that impresses me is super fast compile times in Go ( i saw it one demo). Nice to observe RTEMS guys porting it. will look into that soon, i guess more studies and work is needed, in case of doubts will trouble you again ;) 

Thanks a lot ! 

-------------------------
Best Regards,
Laeeq





On Tue, Oct 16, 2012 at 3:03 AM, <gtug-ba...@googlegroups.com> wrote:
Reply all
Reply to author
Forward
0 new messages