Recent submissions

Comment · 10 years ago
Also apple only spends about 3% of revenue on R&D. Google spends about 15% (and so does ms) if i remember correctly. I think at some point this is going to show. If apple isn't careful they might end up making the pretty but dumb phones of tomorrow.
Comment · 10 years ago
I find it surprising how little interest there is on hn about cpp in general. This video about the future of cpp is the best i have seen this year. My guess is the demographics of hn is just wrong for cpp. Its mostly web developers here?
Comment · 10 years ago
Garbage collection only works well for memory though. Other resources like file handles, mutexes, database connections, etc. You don't want to leave those hanging. You want them to be released at once a scope is exited.
Comment · 10 years ago
Comment · 10 years ago
I have never been as excited for the future of cpp as I am now. Cpp17 and cpp20 are going to be revolutionary when it comes to concurrency an parallelism.

In cpp17 we get couroutines. Its like await in c# only more general and powerful. In cpp20 we will get parallel executors. Kindof like cppamp and openmp only more general and powerful. It will bring supercomputing mainstream.

Its exciting times for cpp. There are already some experimental implementations to try out. There are also a bunch of other big features coming out. Modules, concepts, transactional memory, compile time reflection, ranges, views, etc.

People can hate on cpp all they want. I'm super excited, and think they are missing out on the future.

Comment · 10 years ago
I'm no expert just an mma fan. The rear naked choke for instance. Once they get under your chin its hard to slip out. The bigger the chin the more difficult. The chin is like a hook. Imagine a person without a chin. He could just pull his head out. Especially if they are sweaty.
Comment · 10 years ago
If the neck was so vulnerable it needed protection why doesn't animals have a chin. And why isn't there a permanent bone covering the neck at all times.
Comment · 10 years ago
The chin just helps people choke you better. You cant slip out of their grip as easy. Also a big chin is bad for fighting. The easiest way to knock someone out I to hit them on the chin. It makes the head turn and the brain bounce against the skull. The more the chin sticks out the easier it is to hit and the more the head turns.
Comment · 10 years ago
Chimps pout better than any selfie teen. So I don't think that's it
Comment · 10 years ago
Fair enough. I was talking about synchronisation of threads though.
Comment · 10 years ago
Truly deterministic multithreading is really just single threading. Multithreading is by its nature undeterministic. To make it deterministic you really have to synchronize enough until just one thread at a time is making progress. It kindof defeats the purpose of multithreading. Synchronization is the enemy of scalability. You want to avoid it at all costs.
Comment · 10 years ago
It took me a while to get that. Yes thats a very useful word. Much information per character. If we could use it as a verb also it would be very useful. Ex: I meh calling her, could you do it?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton