Why C++ matters?(geekswithblogs.net)

submitted by rcashrcash(4149) 8 months, 16 days ago

Why does C++ really matter anymore? This article discusses the advantages of using C++ with mobile platforms and datacenters in order to create more efficient programs that save money and resources.

3 comments |category: |Views: 58

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by vijaystvijayst(1311) 8 months, 16 days ago 0

C++ was the first programming language that I learnt. I really enjoyed doing all the memory allocations and deallocations using pointers. The performance gains by using C++ is significant only when developers do not understand performance optimization techniques in managed languages like C#. A lot of developers do not understand how Garbage collection in .Net works. Well written managed code compiled to native code offers similar performance to C++ in many cases.

Reply

posted by dpetersondpeterson(4397) 8 months, 16 days ago 0

Like Vijay, C++ was one of the first languages I learned. While it's not my favorite language, I will never regret learning it. While there are advantages and disadvantages to be found on both sides when it comes to memory management in particular, I think that garbage collected languages will always be at a disadvantage when it comes to performance.

I am excited to see improvements to native languages and their compilers that improve the developer experience, however. In Objective-C, using the new LLVM compiler and a few special compiler switches, automatic reference counting is done by the compiler so all of your memory allocations automatically get deallocated when they are no longer required. This means the developer doesn't have to remember to clean up after their self, and they don't have to take the performance hit at runtime. I'd be surprised if we didn't see this type of thing come to C++ as well.

Reply

posted by rcashrcash(4149) 8 months, 16 days ago 0

I became interested in programming after working as a technician in the HVAC field. It's amazing how so many industrial devices and microcontrollers run off of some type of language built off of C or Basic. I wish after attending college I had gone back into that field because it is so diverse whereas now I spend most of my time programming on desktops etc. I had the impression that was the type of environment this article was leaning towards especially after mentioning mobile devices etc. Outside the desktop environment C++ is still a powerful programming language.

Reply

information Login or create an account to comment on this story