Timeline for Is there any reason to use C++ instead of C, Perl, Python, etc.? [closed]
Current License: CC BY-SA 3.0
47 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 6, 2016 at 22:31 | comment | added | Stack Exchange Broke The Law | You can use C++ as C-with-sugar and then the reason is obvious (you want to use the sugar). | |
| Aug 6, 2015 at 19:55 | comment | added | J. M. Becker | Except that you didn't reject the actual thought process which explains the Pro-C behavior we sometimes encounter, you took my words out of context when they clearly were in relation to OP. The purpose was to essentially prove clarity itself is unrealistic, and thus my prior commentary meaningless. Did you actually misread my commentary?, I don't think so, I think you purposely misused language to invalidate and dismiss a conclusion you found unfavorable. Marxists and Post-modernists don't have beers, we dislike each other for the correct reason. | |
| Aug 6, 2015 at 10:01 | comment | added | phresnel | @TechZilla: It's just the comment sections. You talked unsolicitedly, so accept that others will, too. Your initial comment stated something about "every system". I raised my concerns that this is unrealistic. And you basically agreed with me by refining your original comment to the GNU/Linux subset of "every system" afterwards; note: subset. Even tho you claim that was "clear", it actually wasn't. Yes, I had a problem: That you have problems with being precise, and then claim "clarity" where there isn't any. But we agree on laying this down, now. Let's drink a beer when we meet in RL :) | |
| Aug 5, 2015 at 17:50 | comment | added | J. M. Becker | @phresnel, I never stated that I could answer the OPs question, this was/is a comment and not an answer. So now we've now concluded my mere consideration, may be reasonable depending on individual circumstance? Your interpretation of who you believe me to be, is irrelevant to my original consideration, I never asked others to share my concerns. I simply mentioned a concern I had, which was not represented... It was you who had the problem | |
| Aug 4, 2015 at 7:50 | comment | added | phresnel | @TechZilla: Unfortunately, your line of argumentation becomes void if you add the second part of the statement you quoted: "As a Linux (server side) developer, I don't know where and why should I use C++.". And, what is a "deconstructed definition"? And, why are trying to impose a badass dude on me? I bet in Real Life you're a friendly dude that couldn't kill a fly. | |
| Aug 3, 2015 at 23:17 | comment | added | J. M. Becker | @phresnel: Only your own deconstructed definition is nonsense, once you add the context of the OP's question ... "As a Linux (server side) developer" . Every clearly means every "Linux" system, and yea consider that researched, check kernel.org for my sources. Amazing how your sociology class teaches you to stop understanding how the working public communicates. | |
| Aug 3, 2015 at 8:03 | comment | added | phresnel | @TechZilla: Because "every system" is superhero rockstar BS. It's impossible, unrealistic, inprofitable and unresearched. That's why I asked for the "why". And: If "GNU/Linux Systems" was "clear" or obvious, can you tell me where you clarified that? Clearly, you said "every system", not more, not less. Be more precise, and refrain from reacting like an impudent kid that uses terminology out of its control. | |
| Jul 31, 2015 at 21:35 | comment | added | J. M. Becker | @phresnel: You're asking why should you want something? Why should I need to tell you what you'd want?! As for your feckless post-modernist deconstruction, "every" was clearly referring to GNU/Linux Systems. OF which can be expected to support POSIX C. Arduino is a microcontroller, the expectation would no longer be reasonable. | |
| Jul 30, 2015 at 8:54 | comment | added | phresnel | @TechZilla: Uhm, why should I want to get my program into every system? For what definition of "every" is that? Oh, just recently I did some C code for Arduino. Guess what: Some dependencies per the standard were not there. Your argument is therefore unclear and/or BS. | |
| Jul 24, 2015 at 16:42 | comment | added | Andrew Smith | I found C++ sometimes better for command-line utilities than python because it's a lot faster in both startup time (if the binary has relatively small number of libraries, but it may become similar to python if it's linking a lot) and processing time (e.g. when there are hundreds of millions of records to process). However for lightweight tasks or generation of web-pages python is definitely better. | |
| Jan 15, 2015 at 3:06 | history | edited | Omid | CC BY-SA 3.0 |
Corrected some style and grammar
|
| Jan 10, 2014 at 13:53 | review | Reopen votes | |||
| Jan 10, 2014 at 14:34 | |||||
| Jan 10, 2014 at 13:52 | history | closed |
gnat Robert Harvey CommunityBot Giorgio Kilian Foth |
Opinion-based | |
| Jan 9, 2014 at 22:57 | review | Close votes | |||
| Jan 10, 2014 at 13:52 | |||||
| Apr 2, 2013 at 22:01 | comment | added | J. M. Becker | The best reason, not considered in the posted answers, directly relates to OP's question. DEPENDANCIES!!!!, Not that your average system lacks the c++ libs, but an embedded system might not have them available. The only way to to get your program in every system, is to write your program in regular C. Everything else is just debating why you should, or less represented, should not use C++. None of that addresses why C++ is not used more often, and regardless of merit, the reason is dependencies.... O and also Linus's famous c++ rant. | |
| Dec 18, 2011 at 21:43 | comment | added | Coder | @deadalnix: I wouldn't say that. C++ has complex rules that might backfire on optimizer, because it's not allowed to do some things. And it's super easy to step into invisible performance killers. It's pretty much axiomatic, and therefore true :D Still in reality C++ code will sometimes be faster because you'll be using more effective algorithms and data structures, and noone actually optimizes C code anyway. So when done correctly, C++ is safer and more effective C, and you should pick C++ over C when there are no compatibility problems, or requirement for 100% availability software. | |
| Aug 2, 2011 at 17:06 | comment | added | deadalnix | « When I'm going to performance, the first and last choice is C. » yeah sure :D This is an unproven, and trivially wrong assertion. | |
| Aug 2, 2011 at 16:58 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
added 40 characters in body; edited title
|
| Jul 25, 2011 at 12:44 | history | made wiki | Post Made Community Wiki by user32315 | ||
| Dec 23, 2010 at 13:19 | answer | added | ttsiodras | timeline score: 173 | |
| Dec 23, 2010 at 10:11 | vote | accept | Ehsan | ||
| Dec 23, 2010 at 9:42 | answer | added | Oliver Weiler | timeline score: 12 | |
| Dec 23, 2010 at 8:46 | answer | added | hephestos | timeline score: 4 | |
| Dec 23, 2010 at 8:31 | answer | added | Nathan Osman | timeline score: 7 | |
| Dec 23, 2010 at 7:31 | answer | added | vegai | timeline score: 0 | |
| Dec 23, 2010 at 6:19 | answer | added | iteratingself | timeline score: 5 | |
| Dec 23, 2010 at 5:37 | comment | added | Manoj R | So something that can be done using C, perl and python together can be done using C++ only. And you are asking why to use C++? | |
| Dec 23, 2010 at 5:21 | answer | added | user2528 | timeline score: 0 | |
| Dec 22, 2010 at 23:00 | answer | added | GrandmasterB | timeline score: 12 | |
| Dec 22, 2010 at 23:00 | answer | added | jokoon | timeline score: 3 | |
| Dec 22, 2010 at 22:47 | comment | added | David | I learned C++, because the best job offer I received required it. | |
| Dec 22, 2010 at 21:21 | answer | added | mramirez | timeline score: 3 | |
| Dec 22, 2010 at 19:24 | answer | added | Motti | timeline score: 81 | |
| Dec 22, 2010 at 17:48 | answer | added | Bob Murphy | timeline score: 41 | |
| Dec 22, 2010 at 17:27 | answer | added | willspeak | timeline score: 2 | |
| Dec 22, 2010 at 16:39 | comment | added | Ehsan | Yes, just about CLI shell apps. | |
| Dec 22, 2010 at 16:29 | comment | added | dan_waterworth | I only consider C++ because of STL. | |
| Dec 22, 2010 at 15:47 | answer | added | John Bode | timeline score: 71 | |
| Dec 22, 2010 at 15:35 | comment | added | sdg | I presume "server-side" in this context means headless services, and not the kernel itself? | |
| Dec 22, 2010 at 14:59 | answer | added | David Thornley | timeline score: 29 | |
| Dec 22, 2010 at 14:47 | answer | added | Konrad Rudolph | timeline score: 312 | |
| Dec 22, 2010 at 14:06 | answer | added | Larry Coleman | timeline score: 19 | |
| Dec 22, 2010 at 14:01 | comment | added | LennyProgrammers | According to Facebook, maybe. | |
| Dec 22, 2010 at 13:55 | answer | added | Jeremy | timeline score: 21 | |
| Dec 22, 2010 at 13:51 | history | edited | Ehsan | CC BY-SA 2.5 |
edited title
|
| Dec 22, 2010 at 13:51 | history | edited | ChrisF | CC BY-SA 2.5 |
corrected spelling in title
|
| Dec 22, 2010 at 13:49 | history | asked | Ehsan | CC BY-SA 2.5 |