On Thu, 10 Jun 2010 23:23:21 +1000 Lex Trotman elextr@gmail.com wrote:
Go is not a good replacement for C++, try D. Some people say Go is a good replacement for C.
And some people say that it has sadly made some decisions that prevent it being that, but with Google behind it it may succeed anyway, after all C succeeded for non technical reasons.
And some say C++ is best replaced by functional languages, if only I could get my head around tail calls.
There may be valid arguments to replace certain (or all) uses of C++ with conceptually different languages. If this is the case, perhaps Go might appeal to some C++ users. But if you want a language that is philosophically similar to C++, D is pretty close.
D 2.0 also provides some handy features for functional programming - lazy evaluation (D1 also), immutable data, pure functions, [implicit non-sharing of memory across threads].
Regards, Nick