News for hackers. Stuff that matters.
Re:"100% of our production system is now running Go" by davidw on Friday August 31, 2012 @04:14AM (#4458784)
> And you can't use go outside of the "PC" (that is, embedded systems).

Why not? It runs on Arm.

Re:"100% of our production system is now running Go" by raverbashing on Friday August 31, 2012 @04:50AM (#4458871)
PPC, MIPS, SH?

But the issue is twofold, you need a specialized GC for systems with memory limitations (and/or some realtime requirements)

Re:"100% of our production system is now running Go" by davidw on Friday August 31, 2012 @05:15AM (#4458907)
I suppose it depends on just how "embedded" what you're dealing with is. Clearly, something like Go is bigger and slower than C, so there will be places where it's not useful. I could certainly see it being useful elsewhere though.
Re:"100% of our production system is now running Go" by luriel on Friday August 31, 2012 @05:15AM (#4458911)
I think GCCGO should work for PPC and MIPS, not sure about SH, but is worth a try.
Re:"100% of our production system is now running Go" by shin_lao on Friday August 31, 2012 @06:07AM (#4459021)
You need a deterministic memory management.
Re:"100% of our production system is now running Go" by ori_b on Friday August 31, 2012 @10:02AM (#4459723)
For what? Android does fine without it, if you still consider that embedded. Java is used in a wide variety of embedded systems without trouble.

Sure, there are some places that can't use Go. But there are also places that cant use dynamically allocated memory or recursion. Not all embedded systems are safety critical or need to be absolutely deterministic.

Re:"100% of our production system is now running Go" by pcwalton on Friday August 31, 2012 @12:59PM (#4460550)
Actually, from conversations with the Android team, Android system and apps code goes to great effort to use manual free lists and object recycling to avoid allocations during animations. Manual memory management is necessary to compete with the manually-memory-managed iOS frameworks. And Dalvik has an incremental, generational GC...