I have been reading on all kinds of Microsoft technologies, including PowerShell. Which is a pretty cool tool. I have tried it before and it did not work well for me then because I did not understand its purpose. It is not a normal OS shell. Instead, it is the shell for the .NET virtual machine. Exactly the thing that Java is missing, and the gap that it tries to plug with the crap like Ant and Maven, unsuccessfully. PowerShell lets you run all the .NET methods interactively from the command line, and build the pipelines of them. It has some very cool syntax that lets you automatically apply the pipeline input in the same way as the command-line input. It also has the remote execution functionality, so it serves as an analog of the rsh/ssh (more advanced in some ways, less advanced in the others) in the Microsoft ecosystem.Read more
Author: Sergey Babkin
I have tried recently to use the C++ 11 version of the reference counting, the class std::shared_ptr. And I must say, it is crap. Utter and complete crap.
Their problem is that they are trying to do reference counting to any structures at all, without storing the reference counter in the structure itself. The consequence is that you absolutely can not mix the shared_ptr and pointers. Once you store a pointer in a shared_ptr , you have to refer to it by shared_ptr, and assign the shared_ptr values to each other. If you take a pointer and store it in another shared_ptr, you end up with two reference counters to the same structure, and end up with the memory corruption. And it is way too easy to make this mistake. It is really not usable.Read more