I have a bunch of boards here just waiting for a miraculous amount of
time for me to get involved on something like that. The very first
step for me would be to port gc to the ARMv7-M (Cortex M3, etc), which
unfortunately support only the Thumb2 instruction set. It's not
entirely far-fetched since there used to be Thumb support, and was
dropped because no one cared about, and Thumb2 should actually be
easier than Thumb.
That's wishful thinking for me right now, though.. I don't have any
chance of getting time to hack on this, somewhat unfortunately. It's a
very fun problem.
--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/plus
http://niemeyer.net/twitter
http://niemeyer.net/blog
-- I never filed a patent.
gccgo has been ported to RTEMS (http://rtems.org/).
As others have said the current implementation of Go is unlikely to be
useful in a hard real time environment.
Ian
oxymoron |ˌäksəˈmôrˌän|
noun
a figure of speech in which apparently contradictory terms appear in conjunction (e.g., real time java).
(Sorry, I couldn't resist)
Java also compiles to native code, so you can apply your joke to Go
as well...
> it could be interesting to know the true scope of Go today: only for
> google internal use? only on the server side? only a subset of
> applications addressed by c or c++?
The answer is no, no, and no.
Go is a general programming language, used inside and outside of
Google, and is indeed used in some situations where C and C++ would be
used, but has also been making good inroads into situations where
languages like Python and Ruby were seen before.
Embedded is clearly not the focus, though.
> it could be interesting to know the true scope of Go today: only for
> google internal use? only on the server side? only a subset of
> applications addressed by c or c++?
At Sandia a good number of people who used to program using C, C++,
Perl, Python, whatever, for the HPC management software, have moved to
Go and have no intention of going back ... Go hits a good place
between efficiency and language capability and ease of writing code.
ron
It is in fact replacing these languages for a lot of people in the
real world. I believe even the Go creators themselves were not
expecting that at first, but it's an undeniable fact that it is
happening.
> why not widespread Go in a near future to embedded systems
> (real time or not)? So Go could be really seen as a general
> language.
It is seen as a general programming language today. Embedding is the
opposite of general.
Envoyé de mon iPhone
Envoyé de mon iPhone
http://go-lang.cat-v.org/organizations-using-go
uriel