3,623 karma · joined Jul 17, 2016 (10y ago) · 1,929 submissions
comment 7y ago · link · parent
If any hypothetical compilation time problem concerns you then rest assure that C++ enables you to develop submodules that wrap and instantiate your templates, eliminating the need to recompile them every single build.
comment 7y ago · link · parent
Where do you see a difference?
>This encourages header-only libraries even when they are not really appropriate, increasing compilation times etc.
Thus assertion makes no sense. Headers only declare interfaces, and you only require headers-only libraries if you're deep in template and template metaprogramming land. Evenso it's quite trivial to package and distribute those libraries just like any other library
comment 7y ago · link · parent
And let's not pretend that in some platforms such as pretty much each and every single popular linux distro already package and distribute C++ libraries and offer packaging tools and also package repository services to distribute any dependency.
I'm starting to suspet that those who complain about these sort of issues have little to no experience with C++.
comment 7y ago · link · parent
Why do you believe it's ridiculous? Being able to integrate a third-party library by just adding a few source files to your source tree is as simple as it gets.
> The state of C++ build tools is very poor, and it is harming the language as a whole.
This assertion makes no sense, particularly in the light of this discussion. Installing a headers-only library is a solved problem, and even template-heavy libraries such as Eigen are already distributed and installed quite easily with standard linux package managers.
comment 7y ago · link · parent
Browsers are both multiprocess and multithreaded. The ability to run a few webapps without having your system drag to a halt is a feature that's important to essentially everyone.
comment 7y ago · link · parent
Public transportation, and how people move around a city?
Sure, it's scooters/bikes/cars/helicoptera for rent. But being ubiquitous and affordable makes it usable and in some cases even preferable than established solutions. That changes a lot of stuff. Heck, airbnb is just a middleman in renting deals, right?
comment 7y ago · link · parent
You're commenting on a man who accused a cave rescuer of being a pedophile after he criticised mr Musk's brain-dead proposal to rescue the stranded kids.
The problem does not lie on strawmen such as this silly idea tha the industry does not like him.
comment 7y ago · link · parent
Meanwhile containers enable you to run multiple services on the same VM, scale them horizontally as you need on the same pre-determined amount of resources, use blue/green deployments to spread your services throughout your VMs automatically, and achieve all of this automatically and effortlessly.
comment 7y ago · link · parent
Sometimes the burden of maintenance is the price you have to pay go get an operational/production system early on and enables you to let other requirements emerge earlier.
You might focus on the "burden of maintenance", and also assume that you're saving time by taking the long route to production, but letting requirements emerge early on in the project is also a significant time saver as it enables the project to avoid committing the mistake of investing time developing a goldplated solution that will have to be thrown out.
You need to accept the fact that the "burden of maintenance" is always there and it will always be there, whether you invest years rolling your goldplated solution or just dash to production with a quick and dirty solution. You don't get rid of that burden by aiming for an academically pristine implementation that takes ages to deliver. Requirements do change, and do so continuously. Heck, designing stuff for a scale that will never be required is also a major problem. So, why would anyone be concerned with having to spend 120% of the time developing a solution if that path enables you to get up and running in 20% of the time?
comment 7y ago · link · parent
And claims about "the future" are simply absurd. Oddly enough, this link appears right next to another story on how Cobol powers the world's economy.
Frankly, I'm surprised blockchain wasn't shoved somewhere in the announcement.
comment 7y ago · link · parent
No it's a reference to comparisons that don't make sense.
You can compare as many apples you'd like with oranges, just as you can compare air travel with roadway traffic, but you'd be making absurd and meaningless comparisons.
comment 7y ago · link · parent
comment 7y ago · link · parent
> Norway has found a radiation level 800,000 times higher than normal at the wreck of a Russian navy submarine.
>(Snip)
> A sample showed radioactive caesium leaking from a ventilation pipe, but researchers said it was "not alarming", as the Arctic water quickly diluted it.
comment 7y ago · link · parent
Why do you believe this point is relevant? If you can mount a drive then you can access its contents on the host, and if you can access files on the host then those contents are also accessible in a Docker build.
comment 7y ago · link · parent
Typically security patches trigger new releases with minor/patch version number bumps, which are then installed by getting the latest version of the package. That's pretty much the SOP of any linux distribution.