Go is mostly in the C family (basic syntax), with significant input from the Pascal/Modula/Oberon family (declarations, packages), plus some ideas from languages inspired by Tony Hoare's CSP, such as Newsqueak and Limbo (concurrency). However, it is a new language across the board. In every respect the language was designed by thinking about what programmers do and how to make programming, at least the kind of programming we do, more effective, which means more fun.
Oh please. A Go channel is nothing more than a queue. A synchronized queue in C++ is no more than 30 lines of code, using pthreads.
ORLY?
Dare I say... wrong?
Go supports hundreds of thousands of GoRoutines in the same address space. Good luck getting pthreads to support hundreds of thousands of threads. Go also automatically pauses blocked GoRoutines and begins work on other unblocked ones, but I guess you think a simple queue can do that in 30 lines of code. How exactly are you going to be managing that queue from the blocked thread? Insert code into each routine you want to thread manually?
No, you are wrong. Type safety means that the program does not stop its execution due to a type mismatch error. So it's either that type mismatch errors are caught in compile time or that they are prevented at run time. The 'Any' type of Go does not guarantee prevention of type mismatch at run time. And Any is only for classes, not primitives.
The poster (oh yeah, thats you!) claimed that type safety is only possible with templates. Its wrong, and I'm not the only one who has told you so.
If you wish to retract what you said, or clarify what you said, do so without declaring me wrong, when clearly more than one person has called you out on how horrendously wrong it was.
Templates is one of C++'s advantage over any other language (except D that implements them).
Maybe. Its certainly one of its features. Not sure if its an advantage. The most common uses for templates are implemented in other languages as first class features.
Without templates, type safe containers and reusable algorithms cannot be implemented.
Wrong. Seriously wrong. Very seriously wrong. Extremely very seriously wrong. Did I mention that this is wrong?
That the type goes after the variable name, the missing parentheses in 'if' and 'for' statements are syntactic changes that offer no better readability over C.
Plenty of very popular languages put type names after the variable name, nor require parentheses for if's and for's. The most used programming language on the planet (VBA) for instance. Also "missing" in many languages are semicolons and curly braces.
Finally, the built-in channel mechanism is something that can be done in C++ in less than 100 lines of code.
No it can't. C++ doesn't even have portable threading yet. I have determined that you are smoking the my-language-is-better-than-yours crack pipe, while basking in the myopic kool-aid of a one compiler and one operating system universe of blindfolded ignorance.
How? By reading the complaint and checking that the evidence given in the complaint matches what is in the code. Then if there is any grounds for complaint it's a matter of talking to whoever was responsible for the code - all this should be blatantly obvious.
Sounds good when you say it fast.
The evidence seems to be that some symbol names are the same. There are many reasons for this to happen, including but not limited to
o They are common names for a common technique.
o They are names used in the official specification.
o The code which is claimed to be GPL is actually the code that is in violation of a license.
o The code was really public domain but got lumped into a GPL'd project (this happens a lot, really.)
Hand waving and declaring "blatantly obvious" is obviously blatantly disingenuous.
Indeed.. sometimes its best to also indent based on non-language semantics, such as resource allocation and deallocation. Open and Close, Alloc and Free, and so on.
Then might I ask why George Bush doesn't show up on your list of world leaders trying to restore the monarchies/oligarchies?
I can answer for him. George Bush is no longer a world leader. You need to get over the past, because you are currently fixated on it. Your hatred for George Bush really is no longer relevant. You might even have to actually come up with some real reasons to support your views, now! Scary, isnt it?
Even if you believe other sources in that they only have half a million servers instead of a full million servers, of what value is arguing this point? No value at all.
Either way they have a hell of a lot of servers, far more so than is needed to justify arguments about how a few dozen salaries is peanuts compared to their hardware investment.
The sad thing is that you think that one or the other is a "solution."
The only control the government has over the economy is manifest in its abilities to ruin it.
It is not the governments purpose to "save" or "fix" the economy, nor does it have the ability to do so. It never had that ability, and it never will. An economy is nothing more than the peoples free will to trade with each other. If I am not willing to trade my services then the only way to make me is to make me a slave. If I am not willing to trade my goods then the only way to make me is to steal from me. The ultimate result of making these things happen is the loss of free will, ergo the loss of an economy.
Also consider the fact that Google has been basically deploying new servers non-stop for many many years. They are already purchasing cheap hardware at a very high rate. Even a tiny 1% improvement in efficiency for the existing and future servers is a huge huge win for them.
That could amount to hundreds of millions of dollars saved over the next decade, and it doesnt take a genius to realize that a couple dozen programmer salaries will be a hell of a lot less than that.
This company had about a million servers last time I cared to find out. I dont think 'more cheap hardware' means the same thing to you as it does to Google.
Even though the second bullet has pierced over halfway through your brain, you appreciate that its now exiting rapidly more than you do the first bullet that missed you entirely but is now (unfortunately?) motionless?
There are other solutions than jail, that don't have to allow a danger to society
All equivalent to, or worse than, locking them up in a jail cell. Your "then I feel sorry for you" shit was spawned by your false sense of superiority, which itself if a fucking sickness that I am sure you can't do anything about.
Yeah, you are right.. languages like C# which dont have templates also dont have typesafe containers... oh...uhh...shit.. wrong again.
But this is supposed to be a C derivative.
No it isn't. Wrong again.
From the official site:
Go is mostly in the C family (basic syntax), with significant input from the Pascal/Modula/Oberon family (declarations, packages), plus some ideas from languages inspired by Tony Hoare's CSP, such as Newsqueak and Limbo (concurrency). However, it is a new language across the board. In every respect the language was designed by thinking about what programmers do and how to make programming, at least the kind of programming we do, more effective, which means more fun.
Oh please. A Go channel is nothing more than a queue. A synchronized queue in C++ is no more than 30 lines of code, using pthreads.
ORLY?
Dare I say... wrong?
Go supports hundreds of thousands of GoRoutines in the same address space. Good luck getting pthreads to support hundreds of thousands of threads. Go also automatically pauses blocked GoRoutines and begins work on other unblocked ones, but I guess you think a simple queue can do that in 30 lines of code. How exactly are you going to be managing that queue from the blocked thread? Insert code into each routine you want to thread manually?
yeah.... you know what.... wrong.
No, you are wrong. Type safety means that the program does not stop its execution due to a type mismatch error. So it's either that type mismatch errors are caught in compile time or that they are prevented at run time. The 'Any' type of Go does not guarantee prevention of type mismatch at run time. And Any is only for classes, not primitives.
The poster (oh yeah, thats you!) claimed that type safety is only possible with templates. Its wrong, and I'm not the only one who has told you so.
If you wish to retract what you said, or clarify what you said, do so without declaring me wrong, when clearly more than one person has called you out on how horrendously wrong it was.
Templates is one of C++'s advantage over any other language (except D that implements them).
Maybe. Its certainly one of its features. Not sure if its an advantage. The most common uses for templates are implemented in other languages as first class features.
Without templates, type safe containers and reusable algorithms cannot be implemented.
Wrong. Seriously wrong. Very seriously wrong. Extremely very seriously wrong. Did I mention that this is wrong?
That the type goes after the variable name, the missing parentheses in 'if' and 'for' statements are syntactic changes that offer no better readability over C.
Plenty of very popular languages put type names after the variable name, nor require parentheses for if's and for's. The most used programming language on the planet (VBA) for instance. Also "missing" in many languages are semicolons and curly braces.
Finally, the built-in channel mechanism is something that can be done in C++ in less than 100 lines of code.
No it can't. C++ doesn't even have portable threading yet. I have determined that you are smoking the my-language-is-better-than-yours crack pipe, while basking in the myopic kool-aid of a one compiler and one operating system universe of blindfolded ignorance.
How? By reading the complaint and checking that the evidence given in the complaint matches what is in the code. Then if there is any grounds for complaint it's a matter of talking to whoever was responsible for the code - all this should be blatantly obvious.
Sounds good when you say it fast.
The evidence seems to be that some symbol names are the same. There are many reasons for this to happen, including but not limited to
o They are common names for a common technique.
o They are names used in the official specification.
o The code which is claimed to be GPL is actually the code that is in violation of a license.
o The code was really public domain but got lumped into a GPL'd project (this happens a lot, really.)
Hand waving and declaring "blatantly obvious" is obviously blatantly disingenuous.
Indeed.. sometimes its best to also indent based on non-language semantics, such as resource allocation and deallocation. Open and Close, Alloc and Free, and so on.
"playerArray,"
I for one welcome our new Dyslexic Hungarian overlords.
Let me get this straight.... I'm a little slow and dimwitted and shit.. so hold me hand here..
You think that hatred for George Bush is relevant because of the direction that the current administration is taking us?
Hatred of a PERSON is relevant to the policies of OTHER PEOPLE? Did I get that right?
Then might I ask why George Bush doesn't show up on your list of world leaders trying to restore the monarchies/oligarchies?
I can answer for him. George Bush is no longer a world leader. You need to get over the past, because you are currently fixated on it. Your hatred for George Bush really is no longer relevant. You might even have to actually come up with some real reasons to support your views, now! Scary, isnt it?
Lactating mammary does not go woosh.
Words cannot describe how easily hydrogen can be transported, so here is a video of one such transport method.
Governments continually claim to bail out and stimulate economies
There. Fixed that for you.
Even if you believe other sources in that they only have half a million servers instead of a full million servers, of what value is arguing this point? No value at all.
Either way they have a hell of a lot of servers, far more so than is needed to justify arguments about how a few dozen salaries is peanuts compared to their hardware investment.
The sad thing is that you think that one or the other is a "solution."
The only control the government has over the economy is manifest in its abilities to ruin it.
It is not the governments purpose to "save" or "fix" the economy, nor does it have the ability to do so. It never had that ability, and it never will. An economy is nothing more than the peoples free will to trade with each other. If I am not willing to trade my services then the only way to make me is to make me a slave. If I am not willing to trade my goods then the only way to make me is to steal from me. The ultimate result of making these things happen is the loss of free will, ergo the loss of an economy.
Anyone who purposely goes without healthcare is an idiot.
The idiots are the people who cannot for the life of them distinguish between health-care and health-insurance.
This vs the other metric.. how many anonymous posters downplay their massive contributions.
I'm not a big fan of Google, but god damn man. These guys are a huge player no matter what they do.
Let me google that for you.
Also consider the fact that Google has been basically deploying new servers non-stop for many many years. They are already purchasing cheap hardware at a very high rate. Even a tiny 1% improvement in efficiency for the existing and future servers is a huge huge win for them.
That could amount to hundreds of millions of dollars saved over the next decade, and it doesnt take a genius to realize that a couple dozen programmer salaries will be a hell of a lot less than that.
This company had about a million servers last time I cared to find out. I dont think 'more cheap hardware' means the same thing to you as it does to Google.
Wow, did you even look at the current example? You must be braindead if you don't realize there is a common origin.
You mean other than the format specs? Dumbass.
so it means both pieces of code may have the same origin
Fixed that for you.
..not if you want those insurance premiums to pay off
Even though the second bullet has pierced over halfway through your brain, you appreciate that its now exiting rapidly more than you do the first bullet that missed you entirely but is now (unfortunately?) motionless?
You've been watching too many of Firefly's Reaver episodes
There are other solutions than jail, that don't have to allow a danger to society
All equivalent to, or worse than, locking them up in a jail cell. Your "then I feel sorry for you" shit was spawned by your false sense of superiority, which itself if a fucking sickness that I am sure you can't do anything about.