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.
HN user
petke
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?
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.
Its not been done as general as this though. Check out this link if you have the time. Especially the last 15 minutes. Its by the ceo of openmp and its very interesting. http://youtu.be/0mwHJ0950tA
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.
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.
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.
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.
Chimps pout better than any selfie teen. So I don't think that's it
Fair enough. I was talking about synchronisation of threads though.
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.
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?
Its kindof strange that we see doctors time as so valuable that we shouldn't bother them unless we are sick enough we cant function. Its like taking the car to the mechanic only when the engine has come off because we don't want to bother them with the small stuff. But waiting for small problems to turn big ... Is also a waste of medical resources. And it might be too late to fix them then.
Just looked up Finnish quickly. I never thought of it before but its very strange to me that a basic word like jaksaa is missing from English. It seems as basic a word as want or cant. In English you have to say something cumbersome "I don't have the energy to do that" in Finnish or Swedish you say that in 3 short words.
It took me a while to see that the dramatic looking spikes and falls in the graphs where only due to the lower range of the y axis being cut out.
Are you talking about Robocop?
I imagine if hn grows any bigger it will become like reddit. It's the smalltown vs big city mentality.
I don't think this obsession with Aaron and his death is any good. It feels like a morbid soap opera. He is more talked about in death than in life. I think its better to focus on the living. There is plenty of interesting tech entrepreneurs and activists out there.
Automation of common medical lab tests. Not just for the sick but for the healthy. How cool would it be to every week send a drop of blood by mail and get to see a nice graph on a website how the different hormones and proteins etc in your blood has changed throughout the year. It could help you live a healthier life.
If it can identify a bug and fix it then its fully automatic. If its good enough we could eventually give it the password to our source control systems and let it do its thing unsupervised. As a funny thought I imagine a future virus that gains write access to all github projects but instead of deleting everything it just fixes all the bugs.
This goes equally well for all these new languages popping up. Even if it is better at everything it does that is not enough. Legacy code and developer community consists of huge amounts of institutional knowledge. Its asking a lot of anyone to make the change.
I think about the only new languages that have a chance are domain specific languages in a brand new domain.
Considering facebok is a global site and selling/buying/marketing of firearms is highly regulated in most countries. It makes practical sense for facebook to be conservative and just pick the strictest rule and apply it to all content instead of having to enforce different rules for content created or viewed in different countries.
Otherwise if they got it wrong and broke some local firearms laws they might end up sued.
Not to be a dick, but some companies seem to care more than others about the developers that rely on their frameworks. Google doesnt seem to care much. Facebook seems to care more. But Microsoft seems to care most. They have not abandoned legacy mfc, visual basic, and win 32 developers even though they probably should have. Granted those are not services but they require maintenance resources nontheless.
Interesting. Still any backward adjustment however small seems potentially dangerous. I googled a bit and it seems many ntp services can slow down the time until its in sync instead of adjusting it backwards. That seems safer.
Yes. Unix time is utc based. I used manual syncing to ntp server once in a while. Automatic syncing scares me a bit. What happens when it adjust backwards in time. Programs that are running and use elapsed time logic might get very confused. Elapsed time since an event happened might become negative.
I got programs connecting to servers in different countries. It was such a pain to keep the time in sync with all the different time zones and daylight savings. So i ended up using utc everywhere. i even set the clock on the wall and my wrist watch to utc. That way I'm also in sync with my programs. People who visit tell me my clocks are wrong. But i know its the the rest of the world that is wrong.
I'll remember that next time. I been using fiddler to see websites http traffic which is helpful. But my programs http traffic doesn't show up there.. So ill try wireshark next time.
There is something a bit distasteful with a lender splashing out so much money on an advertisement. You know in the end its the customers that end up paying for it with interest.
This site was very helpful when I refractored a program from using libcurl to cpprest. I used it to make sure the sent http request headers where exactly the same.
Google shuts down yet another service developers rely on. Its getting quite a bad track record. Trust is not so easily rebuilt. I think more developers will avoid depending on google services in the future if they have another choice.
Edit. What happens to the thousands of webpages that link to jquery or google fonts on google.code. This must break lots of things ...