But, as a developer, who has dealt with an absurd amount of bugs that can be prevented from these modern c++ features I really like this.
But, as a developer, who has dealt with an absurd amount of bugs that can be prevented from these modern c++ features I really like this.
Just make sure that the cure isn't worse than the disease. It's all to easy to slip into identifying with C++ because of the substantial effort it takes to master.
Should you, like me and many others; eventually find yourself spending more time and effort on taming C++, don't hesitate to let go. It's a tool.
Not everyone is running Solaris on an ADI enabled SPARC.
The reason is that the modern C++ is perfectly suitable for high-level programming -- on par with Java, C# or Visual Basic. No "taming" is needed.
So the only way to prevent such security exploits is by preventing copy-paste compatibility with C, which C++ sadly cannot do without breaking backwards compatibility.
You can see this happening across all desktop and mobile oriented OSes, where both C and C++ have been reduced to high performace low level OS layers, with userspace migrating to something else.
Microsoft is the only vendor left on OSes for the consumer space that still cares enough to support C++ on their UI toolkits.
"Swift is intended as a replacement for C-based languages (C, C++, and Objective-C)."
Taken from https://swift.org/about/
"Swift is a successor to both the C and Objective-C languages."
Taken from https://developer.apple.com/swift/
Launchd, dock were announced as rewritten at WWDC 2017, the new XCode build system and instrumentation at WWDC 2018, and it will continue little by little.
Naturally it won't happen overnight, but Apple isn't known to endure Python 2/3 scenarios for that long.
At WWDC 2017 they mentioned that launchd was fully ported. The video is available.
This is completely untrue.
Selective optimisation of hot code will always lead to execution time being spread evenly through your code.
Most of the time, the C++ help isn't even necessary anymore, unless the systems were doing some GPGPU stuff, real time audio or high performance graphics.
Using them in scenarios where performance matters is the typical everything looks like a nail.
Feel free to disagree, my experience during the early 2000 with Tcl has taught me to never use languages without native support for JIT/AOT toolchains ever again when performance matters.
Anything related to distributed computing, performance does matter.
These new right left-values, special rightvalues etc make my head hurt. Template programming makes my head hurt. I can't look into fancy cpp code and understand it anymore.
I'm wondering have new programmers are supposed to catch up too all the things in cpp even now and the mountain is getting ever bigger.
The trick was to treat it as a brand new language that happened to have some resemblances to other languages some of us already knew (i.e. C, C++, etc). C++17 is actually a pretty expressive language and pretty fun to program in.
I recognize most people don't have this luxury. Interfacing to the small number of external packages we used involved making modern "cutout" connections to the legacy packages, which actually was worthwhile.
K. was just asking how your new project has gone.
Reading the post, I thought, "hey, that sounds like Gumby", and then looked at the byline.
I am running C++ on an Arduino now, and prepping to teach my son to run it on a Blyst Nano. He wants to make his own smart watch. He will end up doing a lot of very educational yak-shaving on the way.
Hope to see you again sometime soon.
N