The market will decide. As someone said on HN: the best language in the world would be a mix of Go and D and would be called GoD. When there were few options, yes, it was enough to survive long enough to get a community. But when you have plenty of similar options, some of them backed by some major actors (at least in the early stages), i think no one will sacrifice his productivity (other than for hobby projects) for the sake of one language. I really hope D will develop into something, but looking to various sources (abandoned projects for D1 on dsource.org) on the net and google results, it seemed to me that D peaked somewhere around 2007-2008 with a slight revival in 2010 when D2 was released.
HN user
moilolita
barrier is not a suitable primitive for a WaitGroup. The ideea is simple. You accept sockets in a loop and handle the connections in parallel threads.At one point you want to stop this loop and the main thread must wait for all the active threads to finish before exiting, otherwise some clients may receive "connection reset by peer". With a WaitGroup, every starting thread increments a counter, and every finishing thread decrements it;when the counter is zero -> all the threads finished.The main thread calls WaitGroup.Wait and it remains blocked until all the worker threads finish the jobs. I guess you could simulate it with core.sync.condition
Shhhh... they don't know it yet !!!
It's strange that with all those threading examples, they didn't notice the need for a WaitGroup primitive. I know that you could implement it yourself. You could simulate the goroutines, implement channels and SCGI/FCGI and so on, but why bother when there is Go ?
The Phobos standard library is quite unfinished indeed and poorly documented in some areas but the D2 language is rather complete. It has sh*tloads of features but this also makes it a bit harder to master. Go is lighter (very easy to take on) and has an impressive library. Long story short: with D2 I needed ~1 month to get a good grasp of the language and the std library (the library was the hardest part) while with Go I needed around a week.
If Ceylon/Rust are not ready today it means they will be immature for at least 2 years from their release date. Without a large community behind them, they will slowly fade away like D did.In order to get community, they have to have a good/clean/pragmatic design and a library as comprehensive as possible. If they don't have a good library they better have excellent interop with other platforms or they will be doomed. IMO Go is a solid step in the right direction and if the authors will resist the temptation to complicate it with (too many) new features¶digms I think it will fare well.
D has a nice allocation management(i loved the manual+gc approach) and in my benchmarks, optimized D was slightly faster than Go at almost anything and consumed up to 70% less memory (I assumed that was because the Go gc kicked in later and was a bit lazy) but D was weak at threading/synchronization and the documentation of the standard lib was quite messy and lacking. So I decided that in the long run Go will be better (cheap goroutines, channels, good stdlib /documentation + support from google and the prospect of a better GC, all indicated a clear winner).I really hope they fix this cause I can't throw away my atom box and ARM is becoming more and more important.
Unfortunately you are right. For me this is a very unpleasant surprise after I put aside D and rewrote my little framework in Go. Everybody said that the gc is not final, that there are some performance issues and they are working on it but I never imagined that such catastrophic bugs are not solved by now.
How were you able to sell software in eastern europe (especially at that early age)? Even today if I try selling software over here, nobody takes me seriously and more often it's all perceived like an insult. "How dare you ask money for that sketchy program/website that even my 12 year old son could write???" or "I don't pay for software ! I take it from internet. It's free !!!".
You are my kind of guys ! Why aren't there more guys like you in my team ?? I just love patronizing young enthusiastic programmers who just jumped careers and are now feeling insecure and scared of all the things that they might not know. Oh how I love to tell you that "It's more complicated than that" every time you feel like you nailed it. Yes, i'm such a douche, but for you I'm the "team leader".
The fundamentals of programming are the algorithms & data structures. If you know these and you are able to implement them in a (compilable) programming language, you can call yourself a programmer.But this is just the beginning. In order to have no problems in one field of programming, you must know well the algorithms&data structs used in that field(web programming is very different from 3D engines programming or embedded devices programming or signal processing and so on). If you know web programming using python, you are perfect for jobs in that area but everything else will be a "problem" until you acquire more knowledge. So welcome to the club of perpetual learning.
I appreciate your pragmatic view. I would add only the fact that the empires seem kinder only when the resources are abundant. If the oil discoveries fail to keep pace with the consumption and no serious alternatives are found, I foresee some nasty imperial wars ahead and the next "totalen krieg" will be fought with nuclear weapons.
Don't you think it's funny that the same people who are able to classify nations as "inclusive"(USA) and "extractive"(the others) fail to see how USA and Europe are "inclusive" internally but highly exclusive and "extractive" externally (they exclusively rule the world using the United Nations puppet organization and when it does not obey enough, they attack others anyways). And if we look again, how it's possible to say that US/Europe are inclusive when the wealth and income polarization is at it's peak and the policy is made by the rich for the rich ? My feeling is that both US and Europe are in fact internally exclusive and "extractive" but the people will not see clearly this until US/Europe will fail to extract enough wealth from the rest of the world anymore.
In my experience, the general public in the west does not believe and can't believe what an eastern european says about the Roma people, because anything we say sounds like prejudice and discrimination. The westerners simply ignore the fact that these prejudices were formed along more than 150 years of coexistence and although insulting, they describe rather accurately the character and the habits of an entire ethnic group (group which is not as diverse as you may assume). Time will tell you more (cause if I enter details, I will be banned :D).
UK and other western countries were sitting ducks in the face of the eastern european gipsy invasion and their supernatural ability to exploit the social protection programs and other benefits. And now all the romanians take the blame. I'll retract my stereotypes when you will show me one gipsy having a real job.
In order to understand why romanians take this so seriously, you need to understand the context. Romania is widely regarded by the western Europe as backward, poor and corrupt. On top of this, Romania has the largest Roma minority in the region ~500.000 according to wikipedia.org/wiki/Roma_(Romani_subgroup). The average westerner can't distinguish a romanian from a roma/romani/gipsy although they are quite distinct. In the last 20 years there were several waves of romanian immigrants hitting the western europe, including the Roma minority which are highly nomadic by tradition and very visible in the west because they beg and steal aggressively and live in slums in very primitive conditions. This lead to the association romanians = gipsies, thiefs, primitives etc. The current campaign is a response to these stereotypes, which unfortunately are easily promoted in western europe especially since western massmedia can't pick on blacks and arabs anymore cause that's clearly racist and open racism is not trendy anymore.
While I agree that romanians integrate easily into the local culture (especially when the local culture is italian, french, belgian or spanish) I don't fully agree that romanians distrust each other completely :D. There are 3 classes of romanian immigrants that don't mix with each other: 1.The engineers, medical workers (doctors & assistants) and programmers: These are the silent romanians, one barely notices. 2.Construction workers and other low paid workers: These are the generic romanians and 3. The romanian gipsy group composed of organized beggars, pimps, prostitutes and thiefs = the bad romanians. When I hear someone talking romanian outside of romania, I try to classify him, and if he belongs to 3, I stay as far away as posible.