News for hackers. Stuff that matters.
Re:Edward C++Hands by runT1ME on Friday September 20, 2013 @03:34AM (#6416435)
The main micro blogging site I use is a mixture of scala, java, with ruby/iOS for the front end.

I dare you to write a fully featured, async web stack that handles many-core on the scale of hundreds of millions of users in C and ASM within equal or lesser man hours. Once such a thing exists i'll start believing the hype.

Re:Edward C++Hands by harrytuttle on Friday September 20, 2013 @04:35AM (#6416612)
BBC did this 15 years ago on tiny computers compared to now. They uploaded static HTML onto Sun boxes and served them.

If you did a submission somewhere, it'd do offline processing and upload new static pages.

Most of this was C and perl.

No Scala, no Java, no Ruby.

iOS does HTML too you know.

I agree with the OP - most of this new technology doesn't really solve any problems. All it does is create an ecosystem you can feel superior being a member of.

Re:Edward C++Hands by danielweber on Friday September 20, 2013 @10:27AM (#6417882)
Even better, it's a new ecosystem that interviewers will use as a screen to keep out people who don't know the new ecosystem, and so will require people to learn it, and then in 4 years it will be thrown away because no one does that any more. See, they've moved onto the even newer ecosystem.
Re:Edward C++Hands by chetanahuja on Friday September 20, 2013 @04:27AM (#6416582)
This challenge sounds a bit off because:

1) I'm struggling to wrap my head around twitter being cited as an example of software best practices.

2) How many man-hours are we talking about here? How do we get that data?

3) Once such a thing exists i'll start believing the hype. I think you got that the wrong way around. The "mainstream" programming world has always been imperative (C and C like language). The "hype" is the other way round, Scala/Haskell/Erlang will save us from certain doom etc.

Re:Edward C++Hands by MetaCosm on Friday September 20, 2013 @06:55AM (#6416982)
... to be fair, lumping Erlang (millions of production hours in the real world for decades) with Haskell and Scala is a bit silly.

Erlang is battle tested in the field since the late 80's. It just happened that the market (high-reliability, clusterable, multicore systems) came to it so it started to get hype.

Re:Edward C++Hands by fhd2 on Friday September 20, 2013 @04:20AM (#6416559)
I see your point, comparing languages created for robustness and programmer productivity with languages created for raw hardware access and performance doesn't make much of a point.

However, C++ tries to be both, that's what's special about it. It's also arguably the cause of most of its problems and it's complexity, but that is what makes it powerful and useful - for certain applications.

> The main micro blogging site I use is a mixture of scala, java, with ruby/iOS for the front end.

Twitter seems to use Scala for most of their backend (after growing too large for Ruby), but Google and Facebook (arguably operating at larger scale than Twitter) mostly use C++ there AFAIK.

Re:Edward C++Hands by mercurial on Friday September 20, 2013 @04:27AM (#6416581)
Facebook also uses Haskell (several well-known members of the Haskell community work there).
Re:Edward C++Hands by fhd2 on Friday September 20, 2013 @04:49AM (#6416654)
To transform PHP code, it seems [1]. That's not quite the same as the backend and infrastructure of Facebook and Google.

I'm not trying to start a flame war or anything, just pointing out that C++ is good at some things you cannot really do with friendlier languages.

[1] https://github.com/facebook/lex-pass

Re:Edward C++Hands by mercurial on Friday September 20, 2013 @05:38AM (#6416779)
Re:Edward C++Hands by mtdewcmu on Friday September 20, 2013 @12:19PM (#6418670)
You're probably talking about layers above the web server, but, interestingly, nginx is pure C, async, and scales massively, and it's taking over the web. The creator of nginx is probably a genius, but still...
Re:Edward C++Hands by static_typed on Friday September 20, 2013 @08:55AM (#6417361)
You gloat, standing atop a hill of technologies, all implemented in C or C. Fundamentally you built your blog in C and C++, you just to do so indirectly, much more slowly by inserting JVMS and other bits in the way.