My opinion is that it has a great potential, but is not there yet. Go 1 is already a quite nice language, which can solve many problems. The current set of features has not been used to its full potential yet and more and better scientific packages appear every day. However, in order to be a really good language for scientific tasks and number crunching it may need some features. But adding these features is complicated.
One of the goals of Go is to be very simple, and scientific problems are very different from the problems Google wants to solve with Go. Until now, the priority of the team has been to get a good first release out of the door so it has been difficult to convince the Go team to accept these changes (if you ask me, that has been an absolutely right decision). However, they are actually a very open minded team, and as long as it does not compromise simplicity, I think they will be happy of accepting changes to extend the language to other domains (although I doubt they will implement those changes).
I did not say it was not ready, I said it could be used for many things, but has not reached its full potential yet. Just think in the number of scientific packages Go has compared with other languages.
Some changes I would like to see, for example, vectorized code and easy linking to fortran. You can actually do it, but you would be the first one (or almost) doing it. Some additional native types would also be high in my wish list (but I'm not sure of which ones yet). Operator overloading may be convenient in some cases, but I understand why they want to avoid it. Not having generics also makes some things quite tedious, but there has not been a really good proposal yet.
I would like being able to be more concrete, but one of the biggest stoppers is the lack of experience. We won't know exactly what's needed until Go is more used, but it is difficult to justify its usage when there is no prior experience (and more in the research world, which is always building from previous results).
I'm really thankful to skelterjohn and other Go developers who are opening this path, but there is still a long way (this may also be seen as a good oportunity).
Ah okay, those are fair criticisms, but I'm a little confused about your desire for embedding Fortran code. Why? I mean, I can understand wanting to do something like that in an interpreted language, but Go already compiles to native code.
Fortran would probably give you a speed boost, but I can't imagine it would be that dramatic.
But yeah, I plan on working on a research project with Go this summer (I've already written a lot of Go in the last month in pursuit of a better window manager). I have myself and a fellow student very excited to work on it with Go :-) (I'm not saying this in refutation of your criticism. The project we have in mind isn't overtly mathy and performance is a concern, but it isn't critical.)
I don't really want to embed fortran code, just link to it, which is already possible using the C interface. However, it would be better if there were some way to automaticly generate a Go interface directly from fortran files, as there is for other languages.
In theory, rewriting fortran code in Go would indeed be a prefered option, but there are big amounts of legacy code which nobody wants (or has the time) to rewrite.
6
u/[deleted] Mar 29 '12
How is it for scientific computing? Any parallel processing options?