I don't think I fully understand your "2 year diploma programmers" remark...
With two years of study under your belt you can be a productive Java programmer but most probably a clear and present hazard to a C++ code base. There is value to the former, I do not deny, but when highest performance and throughput is a design goal, please, just bite the bullet and bring in properly qualified people.
Let's not pretend that go has some magic concurrency primitive that is anything other than a normal thread launched by the clone syscall. (There are other ways to do threading involving userspace scheduling but they are generally no better than using the standard syscall and typically much worse.) I appreciate the syntactic sugar and the channel concept is nice as a built in, but please, it's not magic, and Go doesn't have a monopoly on it.
Maybe somebody meant to say "goroutines are not processes". True. Processes have separate address spaces.
> while waiting for a C++ compile job. (Google's build times are frequently measured in hours.)
If you're waiting hours for a C++ build you're doing it wrong.
There is the concept of an unity / "bulk build" where you compile one.cpp file that includes _all_ the other soures. Compilation takes minutes.
The downside is that if you want to make a single change you need to do a full recompilation.
Also, don't do insane things with templates. Also don't include more headers than you need to. Also use compiler cache.
I'm pretty sure the smart people at Google didn't get any of those memos, but hey, let's do the ADHD thing and implement a whole new language platform with a whole new library ecosystem. Because, you know, maintaining more stuff is so much fun, everybody loves doing it.
What I'd suggest... sure, implement a new syntax frontend if that floats your boat, but make it a frontend to the usual tool chain, and use the standard libraries except where there is a compelling reason to do otherwise. If there are bottlenecks in the standard tool chain then attack them. But don't mind me, sorry if it makes sense. I understand how NIH is so much more fun.
In fact, Hillary herself says we should look to elect successful businessmen because they are typically above being bought.
Your lunatic fringe link is unconvincing. And even if the argument did have merit, the businessman ought to be genuinely successful, unlike Trump, whose main business skills comprise stiffing contractors and investors and declaring bankruptcy, and who has provided no convincing evidence that his net worth is anything but negative.
Really, the fact that they are being brought up *now* as some kind of excuse to not elect him is really scraping the bottom of the barrel.
Disagree. Even if all the allegations were about incidents a decade or more ago they would still disqualify him for the high office he seeks.
There are a plethora of things that he is saying right now, or has pledged to do in his first term in office that are problematic enough as a reason to not vote for the guy.... but dredging up a conversation made over a decade ago is just so.... well.... stupid.
Agree that this is only one reason Trump should never have gotten this far. But this is not "dredging", it is Trump's own words, it is not a "conversation", it is a boastful monologue, and it is not stupid, it is deeply disturbing.
Nobody who's making stuff up for the purpose of harming a candidate is going to pretend it happened decades ago, they're going to pretend it happened recently so they can show the guy hasn't changed.
It's really hard to pick a single worst thing that Trump has done or said. But if pressed, I would have to suggest that threatening to jail his opponent is the one.
I certainly don't care if Frump is a dog to women in his personal life.
I do, not least because it is indicative of how he is likely to behave with a great deal more power in his hands, and not just to women (e.g., put an end to freedom of the press, jail political rivals, etc.)
I do care if he's taking bribe money from big banks, big Pharma, mega corporations and foreign governments. These two things are not remotely equal.
I disagree. However it manifests, abuse of power and disrespect for the law are serious matters. That said, I am sure that you already know that Trump and his gang fails scrutiny by some or all of the areas you specifically mentioned. I presume you are aware of his ties to Russian oil oligarchs for example.
Enough with the PC/SJW crap that elevates attitudes to women to the same level as political corruption!
There isn't anything fundamentally special about Go that would prevent it from having dlopen, it just doesn't have it today because the people who are interested in Go aren't interested in dynamic linking.
You know, I just find that kind of attitude very off-putting in a language designer, and it makes me wonder what other important functionality is missing because the project people "aren't interested".
Modern data structures without classes or generics? This is where I checked out on Go after initially being interested.
Well, it is your loss. The lack of classes (a blessing) and generics (a curse) means that the language is very performant, at the cost of expressiveness
Excuse me, but it is complete nonsense to suppose that inheritable classes or templates reduce performance, if that is what you mean by generics. In fact, in the hands of skilled programmers, templates are often used to improve performance. And inheritable types has nothing whatsoever to do with performance, again improving it if anything (by allowing you to express a design in a way that is both extensible and performant).
I've seen a shitload of financial transaction code written in Java.
If true, then you've seen a shitload of also-ran financial operations, or else financial transaction platform means something different to you than it does to me. As a rule of thumb, Java sucks 50-100% more CPU than C++ for anything more sophisticated than a toy benchmark, and that is ignoring the JIT overhead, which is brutal especially on startup or any as-yet-unexecuted code. Which, by Murphy's law you can expect to dim the lights at the most inconvenient (read: expensive) moment. Then there are the GC latency spikes, which by themselves are enough to disqualify Java for serious work in this area. Then there is the thread synchronization overhead, the memory footprint, the rambling bulky libraries, the crappy-beyond-belief "native" API, and other pain points that are too tiresome to list.
Now, i'll admit that C++ is usually much better suited for the task, but "lack of memory management" is normally not an issue for that application - or for most ones, i'd add.
Right. Unavoidable memory management is the issue, not lack of it.
Surfed in to try it... gogs.io works in Chromium, barfs in Firefox. Not an auspicious start. So why is Gogs better in Go than Java or C++, other than as a promotional thing?
Go billed itself as a systems programming language. I dont know about that, but Go is useful if you need massive concurrency. Goroutines make it trivial to spin up new threads and keep things in sync...
So you can have a zillion threads bogged down in the unpredictable overhead and latency of garbage collection? Ask me why I'm not excited.
You get C-like semantics, modern data structures...
Modern data structures without classes or generics? This is where I checked out on Go after initially being interested.
memory management and high performance with fast compiled binaries....
And no way to avoid the memory management, a crippling problem shared with Java that makes it a bad choice for many applications (e.g., low latency financial transactions). Face it, Go is a bland language with really only one thing going for it: promoted by Google. Much like C# is promoted by Microsoft, which didn't overcome the mind share issues of that platform either.
It's just not clear what problem Go solves better than any alternative. If you want highest performance and lots of big team software engineering support, you go with C++. If you need managed memory and access to the copious supply of 2 year diploma programmers and don't mind throwing a bit more hardware at your problem you go with Java. If you need to churn out web2 sites as fast as possible then Node or Python. It's just not clear where the demand for Go is supposed to come from. From where I sit, Go is just another pretender to the Java throne, not any less bland than the incumbent and decades late to the party.
Simple: if it's a rebranded HTC or equivalent I won't buy it - why would that be better than the real thing? Otherwise, if it is engineered by Nokia and possibly built in China, then I am quite likely to buy it.
it will just be a piece of shit with the word nokia written on
I rather doubt that, based on some clue of how Finns go about things. (Note: Linus Torvalds is a Finn, albeit of Swedish blood.)
I'm expecting a rugged, unexciting device with good battery life, a flash slot and a long lasting and easily replaceable battery (not removable). In other words, exactly what I'm in the market for. Give me a fair price and I'll snap one up, maybe two.
I don't think I fully understand your "2 year diploma programmers" remark...
With two years of study under your belt you can be a productive Java programmer but most probably a clear and present hazard to a C++ code base. There is value to the former, I do not deny, but when highest performance and throughput is a design goal, please, just bite the bullet and bring in properly qualified people.
goroutines are not threads
What is this nonsense? A goroutine is a lightweight thread of execution.
light-weight processes (goroutines)
Let's not pretend that go has some magic concurrency primitive that is anything other than a normal thread launched by the clone syscall. (There are other ways to do threading involving userspace scheduling but they are generally no better than using the standard syscall and typically much worse.) I appreciate the syntactic sugar and the channel concept is nice as a built in, but please, it's not magic, and Go doesn't have a monopoly on it.
Maybe somebody meant to say "goroutines are not processes". True. Processes have separate address spaces.
You are absolutely correct that you don't want zillions of threads.
Putting words in my mouth. I did not say I want zillions of threads. What I don't what is zillions of GC cycles at random times.
The domain they work in is huge scalability, server backends....
It's nuts to sacrifice any performance at all in that context, due to garbage collection. Multiply that wastage by millions. Wrong tradeoff, sorry.
> while waiting for a C++ compile job. (Google's build times are frequently measured in hours.)
If you're waiting hours for a C++ build you're doing it wrong.
There is the concept of an unity / "bulk build" where you compile one .cpp file that includes _all_ the other soures. Compilation takes minutes.
The downside is that if you want to make a single change you need to do a full recompilation.
Also, don't do insane things with templates. Also don't include more headers than you need to. Also use compiler cache.
I'm pretty sure the smart people at Google didn't get any of those memos, but hey, let's do the ADHD thing and implement a whole new language platform with a whole new library ecosystem. Because, you know, maintaining more stuff is so much fun, everybody loves doing it.
What I'd suggest... sure, implement a new syntax frontend if that floats your boat, but make it a frontend to the usual tool chain, and use the standard libraries except where there is a compelling reason to do otherwise. If there are bottlenecks in the standard tool chain then attack them. But don't mind me, sorry if it makes sense. I understand how NIH is so much more fun.
Actual quote from Trump: "I could stand in the middle of Fifth Avenue and shoot someone, and not lose a single voter."
Only if the dead person was not republican.
In fact, Hillary herself says we should look to elect successful businessmen because they are typically above being bought.
Your lunatic fringe link is unconvincing. And even if the argument did have merit, the businessman ought to be genuinely successful, unlike Trump, whose main business skills comprise stiffing contractors and investors and declaring bankruptcy, and who has provided no convincing evidence that his net worth is anything but negative.
No, he is trying to build his brand for when he loses. Let people live in denial and "lead" them to the future...
I wonder if he will find himself in the position of leading his mob from prison, after his underage rape trial works its way through the courts.
I think Trump is an ass,, personally... but those comments were made over 10 years ago.
Not all of them.
Really, the fact that they are being brought up *now* as some kind of excuse to not elect him is really scraping the bottom of the barrel.
Disagree. Even if all the allegations were about incidents a decade or more ago they would still disqualify him for the high office he seeks.
There are a plethora of things that he is saying right now, or has pledged to do in his first term in office that are problematic enough as a reason to not vote for the guy.... but dredging up a conversation made over a decade ago is just so.... well.... stupid.
Agree that this is only one reason Trump should never have gotten this far. But this is not "dredging", it is Trump's own words, it is not a "conversation", it is a boastful monologue, and it is not stupid, it is deeply disturbing.
Good luck with your solo Slashdot crusade, litigating Trump's multiple reported incidents. What is it now, fifteen? And new ones daily.
The sex tape is freely available because it was aired on public TV.
It was a reality show, asshole. And even if it was a sex tape it would be no excuse for Trump's behavior.
Nobody who's making stuff up for the purpose of harming a candidate is going to pretend it happened decades ago, they're going to pretend it happened recently so they can show the guy hasn't changed.
Of course, there are recent incidents too. And this kind of thing has been going on recently.
This is one sick perv, and so close to the nuclear codes.
I'm actually wondering at this point, is he deliberately trying to cause election day violence?
Nah- what's happening here is that he knows he's going to lose, and he's desperately groping for excuses.
And he's trying to cause election day violence.
It's really hard to pick a single worst thing that Trump has done or said. But if pressed, I would have to suggest that threatening to jail his opponent is the one.
My mom, my 3 sisters, my wife don't care, and my wife said "If that is sexual assault every guy in american is now a sexual predator"...
No, just in your trailer park.
I certainly don't care if Frump is a dog to women in his personal life.
I do, not least because it is indicative of how he is likely to behave with a great deal more power in his hands, and not just to women (e.g., put an end to freedom of the press, jail political rivals, etc.)
I do care if he's taking bribe money from big banks, big Pharma, mega corporations and foreign governments. These two things are not remotely equal.
I disagree. However it manifests, abuse of power and disrespect for the law are serious matters. That said, I am sure that you already know that Trump and his gang fails scrutiny by some or all of the areas you specifically mentioned. I presume you are aware of his ties to Russian oil oligarchs for example.
Enough with the PC/SJW crap that elevates attitudes to women to the same level as political corruption!
Speak for yourself.
There isn't anything fundamentally special about Go that would prevent it from having dlopen, it just doesn't have it today because the people who are interested in Go aren't interested in dynamic linking.
You know, I just find that kind of attitude very off-putting in a language designer, and it makes me wonder what other important functionality is missing because the project people "aren't interested".
Modern data structures without classes or generics? This is where I checked out on Go after initially being interested.
Well, it is your loss. The lack of classes (a blessing) and generics (a curse) means that the language is very performant, at the cost of expressiveness
Excuse me, but it is complete nonsense to suppose that inheritable classes or templates reduce performance, if that is what you mean by generics. In fact, in the hands of skilled programmers, templates are often used to improve performance. And inheritable types has nothing whatsoever to do with performance, again improving it if anything (by allowing you to express a design in a way that is both extensible and performant).
I've seen a shitload of financial transaction code written in Java.
If true, then you've seen a shitload of also-ran financial operations, or else financial transaction platform means something different to you than it does to me. As a rule of thumb, Java sucks 50-100% more CPU than C++ for anything more sophisticated than a toy benchmark, and that is ignoring the JIT overhead, which is brutal especially on startup or any as-yet-unexecuted code. Which, by Murphy's law you can expect to dim the lights at the most inconvenient (read: expensive) moment. Then there are the GC latency spikes, which by themselves are enough to disqualify Java for serious work in this area. Then there is the thread synchronization overhead, the memory footprint, the rambling bulky libraries, the crappy-beyond-belief "native" API, and other pain points that are too tiresome to list.
Now, i'll admit that C++ is usually much better suited for the task, but "lack of memory management" is normally not an issue for that application - or for most ones, i'd add.
Right. Unavoidable memory management is the issue, not lack of it.
Surfed in to try it... gogs.io works in Chromium, barfs in Firefox. Not an auspicious start. So why is Gogs better in Go than Java or C++, other than as a promotional thing?
Go billed itself as a systems programming language. I dont know about that, but Go is useful if you need massive concurrency. Goroutines make it trivial to spin up new threads and keep things in sync...
So you can have a zillion threads bogged down in the unpredictable overhead and latency of garbage collection? Ask me why I'm not excited.
You get C-like semantics, modern data structures...
Modern data structures without classes or generics? This is where I checked out on Go after initially being interested.
memory management and high performance with fast compiled binaries....
And no way to avoid the memory management, a crippling problem shared with Java that makes it a bad choice for many applications (e.g., low latency financial transactions). Face it, Go is a bland language with really only one thing going for it: promoted by Google. Much like C# is promoted by Microsoft, which didn't overcome the mind share issues of that platform either.
It's just not clear what problem Go solves better than any alternative. If you want highest performance and lots of big team software engineering support, you go with C++. If you need managed memory and access to the copious supply of 2 year diploma programmers and don't mind throwing a bit more hardware at your problem you go with Java. If you need to churn out web2 sites as fast as possible then Node or Python. It's just not clear where the demand for Go is supposed to come from. From where I sit, Go is just another pretender to the Java throne, not any less bland than the incumbent and decades late to the party.
How exactly does one type javascript into a browser?
Pull up the web console. (ctrl-shift-K on Firefox)
Simple: if it's a rebranded HTC or equivalent I won't buy it - why would that be better than the real thing? Otherwise, if it is engineered by Nokia and possibly built in China, then I am quite likely to buy it.
it will just be a piece of shit with the word nokia written on
I rather doubt that, based on some clue of how Finns go about things. (Note: Linus Torvalds is a Finn, albeit of Swedish blood.)
I'm expecting a rugged, unexciting device with good battery life, a flash slot and a long lasting and easily replaceable battery (not removable). In other words, exactly what I'm in the market for. Give me a fair price and I'll snap one up, maybe two.
Oh, and I'm expecting a headphone jack.
Here ya go Bucko. Sexual assault is any type of sexual contact or behavior that occurs without the explicit consent of the recipient. Nothing new about that law, just new to you.