tag:blogger.com,1999:blog-8363397.post6925752152168462577..comments2013-09-06T15:13:39.526+05:30Comments on Renji Panicker: Why C++?Anonymoushttp://www.blogger.com/profile/06681298390833157036noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-8363397.post-90626228318627190432012-06-25T22:31:17.424+05:302012-06-25T22:31:17.424+05:30Good thinking although not exactly true in the det...Good thinking although not exactly true in the detail.<br /><br />C++ has its own runtime library that is lighter, heavier, single version per OS or compiler related.. all depends on the platform. Eg. there is a reason why in Windows you may find VCRT from VS 2005, 2008 and 2010 installed in parallel to each other.<br /><br />As Diego mentioned, you get language that is very portable, yet each platform has its own frameworks beyond standard library. To wrap them all into a common pattern of framework that gives you the benefit of shared code is difficult and often challenging. Scope of the project can simply push you into having 3 projects for 3 platforms just because of that...<br /><br />Tools are generally good but Android + NDK = Pain in the ass, honestly... ;)<br /><br />There is no best platform/language... folks from Java/C# can counter your opinions freely if they really wanted to in many aspects where C++ is difficult but there is no point in that..<br /><br />I personally like to leave the freedom of choice but C++ has won in my mind when I wanted full control over my code, bigger chance (but sometimes illusional) for portability and performance (but that strongly depends on frameworks rather than individual coding skill)h1https://www.blogger.com/profile/11283248105931568796noreply@blogger.comtag:blogger.com,1999:blog-8363397.post-16437396524965057012012-06-14T10:35:50.799+05:302012-06-14T10:35:50.799+05:30Good Summary.Good Summary.swdphttps://www.blogger.com/profile/06601450868649605265noreply@blogger.comtag:blogger.com,1999:blog-8363397.post-67109553368070400742012-06-12T12:58:38.759+05:302012-06-12T12:58:38.759+05:30Have you considered using CMake to get rid of the ...Have you considered using CMake to get rid of the IDE specific project structures? It works great with KDevelop and Visual Studio. Don't know about XCode, but at least you can use it to create osx makefiles. It also works for native android apps.sim82https://www.blogger.com/profile/06606444211849328045noreply@blogger.comtag:blogger.com,1999:blog-8363397.post-54000564559320637862012-06-12T04:55:22.862+05:302012-06-12T04:55:22.862+05:30first off:
Java was based on C++ and objective C
...first off:<br /><br />Java was based on C++ and objective C<br />C# was based on Java 2.0<br />And python was based on C++/C/Perl if i'm not mistaking<br /><br />so basically you will have the most possibilities / freedom with C++, but then again this makes it harder to do something because of those possibilities.<br /><br />C++ is a good chose for programming any project, but it takes a lot of skills/knowledge to do it. if it is the best option, you never know sometimes you don't need the freedom.Anonymoushttps://www.blogger.com/profile/04305788099815215484noreply@blogger.comtag:blogger.com,1999:blog-8363397.post-35561555783710188702012-06-11T21:53:41.096+05:302012-06-11T21:53:41.096+05:30While I agree that C++ is a good choice for all th...While I agree that C++ is a good choice for all the reasons you listed, I haven't seen anywhere that you can use C++ on Windows Phone 7. There's rumors that WP8 will enable it, but it's not confirmed.moswaldhttps://www.blogger.com/profile/10136919110136673189noreply@blogger.comtag:blogger.com,1999:blog-8363397.post-17912808464922793972012-06-11T20:37:47.501+05:302012-06-11T20:37:47.501+05:30OS/UI specifics are not exposed in C#/Java either....OS/UI specifics are not exposed in C#/Java either. So not only you would have to have per-OS code in your project, you'd have to dance around VM/native barrier as well. Just sayin'.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8363397.post-39873698294788015962012-06-11T16:12:22.494+05:302012-06-11T16:12:22.494+05:30I think you made a good choice, however, some of t...I think you made a good choice, however, some of the reasoning is questionable.<br /><br />Schools tend to teach Java, not C++. (Even if the majority did teach C++, I don't think I'd rely on that for my project.)<br />Platform support is a slippery slope argument. Most platforms support mainstream languages in some form or another. C++ is a good choice because it is a rich language, and produces codes which set the standard for performance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8363397.post-65283934204338328182012-06-11T07:16:03.639+05:302012-06-11T07:16:03.639+05:30This is great, Renji. I have a question, though: d...This is great, Renji. I have a question, though: despite C++ cross-platform availability, how do you deal with its small library coverage? There's no common GUI in C++. Accessing OS-level resources beyond memory and the file system (e.g., fire up notifications in iOS, Android and Windows Phone 7) is not covered by standard libraries either. What do you do in those cases? I ask because in my case is a pain: I have to maintain versions for the different OS for those functionalities. There's no much left for pure C++ other than pure application logic. In small applications it may be more costly going C++ plus ad hoc extensions than just keeping separated versions. Not sure if you agree.Diego Dagumhttps://www.blogger.com/profile/18298343715240191466noreply@blogger.com