archived stringclasses 2
values | author stringlengths 3 20 | author_fullname stringlengths 4 12 ⌀ | body stringlengths 0 22.5k | comment_type stringclasses 1
value | controversiality stringclasses 2
values | created_utc stringlengths 10 10 | edited stringlengths 4 12 | gilded stringclasses 7
values | id stringlengths 1 7 | link_id stringlengths 7 10 | locked stringclasses 2
values | name stringlengths 4 10 ⌀ | parent_id stringlengths 5 10 | permalink stringlengths 41 91 ⌀ | retrieved_on stringlengths 10 10 ⌀ | score stringlengths 1 4 | subreddit_id stringclasses 1
value | subreddit_name_prefixed stringclasses 1
value | subreddit_type stringclasses 1
value | total_awards_received stringclasses 19
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
True | case-o-nuts | null | switch (x) {
case A, B, C:
do_foo();
case D, E:
do_bar();
}
works far better than fall through. | null | 0 | 1318083598 | False | 0 | c2pucau | t3_l4p6z | null | t1_c2pucau | t1_c2ptpps | null | 1427703297 | 6 | t5_2fwo | null | null | null |
True | case-o-nuts | null | If the compiler guarantees that the optimization will be done, it's not an optimization any more. it's a language feature. | null | 0 | 1318083947 | False | 0 | c2pud6r | t3_l4p6z | null | t1_c2pud6r | t1_c2puazm | null | 1427703309 | 2 | t5_2fwo | null | null | null |
True | david76 | null | Copyrights exist regardless of whether you have a lawyer or not. A registered copyright requires filing for one. Which, if you are trying to copyright the phonebook will be denied. In any case, copyrights are always subject to being contested in court. So, regardless of how good your lawyer is, the courts have the fina... | null | 0 | 1318083967 | False | 0 | c2pud8g | t3_l3tx9 | null | t1_c2pud8g | t1_c2ptgt8 | null | 1427703309 | 3 | t5_2fwo | null | null | null |
True | anttirt | null | And I'm wondering why this makes any sort of actual, practical, significant difference in analyzing the performance of C code vs C++ code. Surely you aren't suggesting that having to look at the types of the variables declared in a function is an insurmountable barrier to that? If there are custom types with overloaded... | null | 0 | 1318084709 | False | 0 | c2puf4j | t3_l4p6z | null | t1_c2puf4j | t1_c2pubfs | null | 1427703341 | 2 | t5_2fwo | null | null | null |
True | cdsmith | null | Can't find anything current. He's described himself as a lobbyist in the past, and Wikipedia still refers to him as a lobbyist. Currently, it appears that he prefers the word "consultant".
For context, note that he's written 43 blog posts in July, 44 in August, 42 in September, and is still on pace with more than on... | null | 0 | 1318085075 | False | 0 | c2pug4i | t3_l38op | null | t1_c2pug4i | t1_c2pocka | null | 1427703352 | 1 | t5_2fwo | null | null | null |
True | gorilla_the_ape | null | So what? Very rarely do manufacturers sell to end customers. It's therefore natural to presume that the seller isn't Levi. | null | 0 | 1318085084 | False | 0 | c2pug59 | t3_l3ct9 | null | t1_c2pug59 | t1_c2pmhxq | null | 1427703352 | 1 | t5_2fwo | null | null | null |
True | Liorithiel | null | I remember one, but for MC68k family. Specifically it took code for MC68000 and optimized it to make it faster on MC68020 or later (which could do more with specific instructions). I don't know if there was anything of this kind done on x86.
Oh, and there was Transmeta, which had x86->RISC compiler... but it worked... | null | 0 | 1318085256 | False | 0 | c2pugll | t3_l4p6z | null | t1_c2pugll | t1_c2ptpin | null | 1427703356 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318085386 | False | 0 | c2pugyw | t3_l4dpk | null | t1_c2pugyw | t1_c2ptf4e | null | 1427703428 | 1 | t5_2fwo | null | null | null |
True | johnqpublic__ | null | newb here...are they coding this in c# and somehow compiling for iphone oS? how? | null | 0 | 1318085659 | False | 0 | c2puhpf | t3_l4yz6 | null | t1_c2puhpf | t3_l4yz6 | null | 1427703436 | 2 | t5_2fwo | null | null | null |
True | Liorithiel | null | C's case is something different than Pascal's. You can `case` inside a `for` or `while` block, and it will work. This is useful to implement [coroutines](http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html).
Not an often used feature, yet if all you have is C, it can make life much easier in some complex scena... | null | 0 | 1318085696 | False | 0 | c2puht3 | t3_l4p6z | null | t1_c2puht3 | t1_c2ptq2k | null | 1427703438 | 3 | t5_2fwo | null | null | null |
True | and3kk | null | Great idea, but I think Google Docs is better for this | null | 0 | 1318085869 | False | 0 | c2puibj | t3_l5410 | null | t1_c2puibj | t3_l5410 | null | 1427703444 | -4 | t5_2fwo | null | null | null |
True | abrahamsen | null | http://en.wikipedia.org/wiki/Superoptimization | null | 0 | 1318086357 | False | 0 | c2pujo3 | t3_l4p6z | null | t1_c2pujo3 | t1_c2ptpin | null | 1427703461 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | > The introduction of numbers as coordinates is an act of violence.
Weyl | null | 0 | 1318086936 | False | 0 | c2pulcg | t3_l32qk | null | t1_c2pulcg | t1_c2ppxqu | null | 1427703483 | 1 | t5_2fwo | null | null | null |
True | HOW_IS_THIS_FUNNY | null | It's always better to write understandable code, and let it get optimized by the compiler.
And you can always see the exact behaviour of your compiler by looking at the disassembly.
Sure it's interesting, but I can guarantee you will never need to know this in your lifetime, unless you are a GCC developer...
| null | 0 | 1318087114 | False | 0 | c2pulww | t3_l4p6z | null | t1_c2pulww | t1_c2psgek | null | 1427703491 | -2 | t5_2fwo | null | null | null |
True | matthieum | null | Does Google Docs support actually *building* the examples and see them run ? | null | 0 | 1318087255 | False | 0 | c2pumcb | t3_l5410 | null | t1_c2pumcb | t1_c2puibj | null | 1427703501 | 8 | t5_2fwo | null | null | null |
True | skelooth | null | Please explain to me what having "skills" in "multithreading" and "long running applications" means. Hell, just explain what "long running applications". To me a long running applications is either a Daemon/Server, or somesort of workhorse thread that takes a long time to complete. All things a web developer should und... | null | 0 | 1318087438 | False | 0 | c2pumx5 | t3_l3tuj | null | t1_c2pumx5 | t1_c2pso5e | null | 1427703505 | 0 | t5_2fwo | null | null | null |
True | gasche | null | tail-call optimization fror example is well understood and implemented by most compilers of functional programming languages, except maybe those targeting the JVM that have to resort to special-case (non-mutual tail-recursion) or relatively inefficient trampoline encodings.
It's not a bad practice to rely on an optimi... | null | 0 | 1318087543 | False | 0 | c2punam | t3_l4p6z | null | t1_c2punam | t1_c2puazm | null | 1427703509 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318087725 | False | 0 | c2punw6 | t3_l3ct9 | null | t1_c2punw6 | t1_c2pnbmf | null | 1427703516 | 1 | t5_2fwo | null | null | null |
True | the-fritz | null | > Incidentally, are there asm -> asm optimizing compilers? :)
http://www.libcpu.org/wiki/Main_Page | null | 0 | 1318087962 | False | 0 | c2puooe | t3_l4p6z | null | t1_c2puooe | t1_c2ptpin | null | 1427703527 | 3 | t5_2fwo | null | null | null |
True | jonnyboy88 | null | A story for you:
http://catb.org/jargon/html/story-of-mel.html | null | 0 | 1318087969 | False | 0 | c2puop4 | t3_l4p6z | null | t1_c2puop4 | t1_c2pt6v6 | null | 1427703527 | 5 | t5_2fwo | null | null | null |
True | a7244270 | null | man a2ps | null | 0 | 1318087973 | False | 0 | c2puopc | t3_l32qk | null | t1_c2puopc | t1_c2piyky | null | 1427703527 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318088129 | False | 0 | c2pup64 | t3_l4p6z | null | t1_c2pup64 | t1_c2pucau | null | 1427703533 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I'm not sure how you'd deduce that, but you're wrong. | null | 0 | 1318088259 | False | 0 | c2pupkf | t3_l466j | null | t1_c2pupkf | t1_c2prpzs | null | 1427703539 | 1 | t5_2fwo | null | null | null |
True | squirrel5978 | null | They're completely awful and unusable, especially MinGW. Not only the actual broken msvcrt missing everything, but simply installing it and having a usable environment is simply broken and miserable. You also have to decide which MinGW to install (I know of at least 4-5) | null | 0 | 1318088337 | False | 0 | c2pupu1 | t3_l2vfc | null | t1_c2pupu1 | t1_c2pcojo | null | 1427703543 | 1 | t5_2fwo | null | null | null |
True | squirrel5978 | null | Bunch of wrong things. Where do I complain? | null | 0 | 1318088381 | False | 0 | c2pupza | t3_l2vfc | null | t1_c2pupza | t3_l2vfc | null | 1427703544 | 1 | t5_2fwo | null | null | null |
True | the-fritz | null | Yes! GCC already improved Warning/Error-Messages and they finally added Plugin-Support. | null | 0 | 1318088563 | False | 0 | c2puql4 | t3_l4p6z | null | t1_c2puql4 | t1_c2ptb1v | null | 1427703552 | 5 | t5_2fwo | null | null | null |
True | parfamz | null | Surely docboook is not perfect, but I don't know of anything better. | null | 0 | 1318088641 | False | 0 | c2puqu9 | t3_l5410 | null | t1_c2puqu9 | t1_c2puibj | null | 1427703558 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Yes, but sometimes you need
switch (x) {
case A:
prepare_something();
case B:
do_stuff();
}
I only had problems remembering to put the break statement right when I started using C, I used to program in Pascal before and it has more or less the syntax you proposed.
Fo... | null | 0 | 1318088761 | False | 0 | c2pur9b | t3_l4p6z | null | t1_c2pur9b | t1_c2pucau | null | 1427703562 | 7 | t5_2fwo | null | null | null |
True | mkawick | null | I would never say C++ is a panacea and I am working on a game in Javascript because HTML5 kicks Flash's butt (IMO), but when you want raw performance, even substitutes like compiled C# have a hard time competing.
I am currently looking into Erlang simply because I love concurrency and it has hope of beating C++ at som... | null | 0 | 1318088860 | False | 0 | c2purlv | t3_l4p6z | null | t1_c2purlv | t1_c2pu9us | null | 1427703566 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I'm blown away by the fact that this has gotten so many upvotes. Did I say that *any* of these features were unique to Go?
C is compiled! Python has duck-typing! OCaml is simple and predictable!
What's your point exactly? Are you saying that someone shouldn't desire these features rolled up into a single langua... | null | 0 | 1318088927 | False | 0 | c2purtu | t3_l466j | null | t1_c2purtu | t1_c2pppcg | null | 1427703568 | 3 | t5_2fwo | null | null | null |
True | bongwhacker | null | "....But that hasn't deterred Erlang from stealing it's dynamite syntax."
Lern hau two engilsh. | null | 0 | 1318088970 | False | 0 | c2purzp | t3_l466j | null | t1_c2purzp | t3_l466j | null | 1427703570 | 1 | t5_2fwo | null | null | null |
True | tardmrr | null | >For newbies; but pretty much everything in C is counter-intuitive and error-prone for newbies.
That makes it bad language design, in my opinion. The real problem here is that C was designed to write operating systems: a place where you need super low-level control over what the machine is doing. As a result, the... | null | 0 | 1318089085 | True | 0 | c2pusdg | t3_l4p6z | null | t1_c2pusdg | t1_c2pts0z | null | 1427703576 | 5 | t5_2fwo | null | null | null |
True | SarahC | null | I know! It's the same here for me!
I've been in my job 1 week now, and found the commute takes most of my morning and evening.... ouch. | null | 0 | 1318089100 | False | 0 | c2pusfk | t3_kucjn | null | t1_c2pusfk | t1_c2p568b | null | 1427703576 | 1 | t5_2fwo | null | null | null |
True | ElSherberto | null | http://caniuse.com/ | null | 0 | 1318089250 | False | 0 | c2pusxo | t3_l462s | null | t1_c2pusxo | t1_c2po0m9 | null | 1427703583 | 1 | t5_2fwo | null | null | null |
True | malkarouri | null | Generally you are right. You would have to be a bit observant at the interaction of operators with templates though, where the type is not immediately available. | null | 0 | 1318089281 | False | 0 | c2put1z | t3_l4p6z | null | t1_c2put1z | t1_c2puf4j | null | 1427703583 | 1 | t5_2fwo | null | null | null |
True | cujo | null | I don't know enough about the grails internals to comment, but I think my original thought likely stand.
Use java when groovy isn't fast enough. I'm going to go out on a limb and say the grails devs know their groovy.
Which bits of grails are you referring to? O might get bored and have a look-see. | null | 0 | 1318089342 | False | 0 | c2puta3 | t3_l0we4 | null | t1_c2puta3 | t1_c2pu4zg | null | 1427703586 | 1 | t5_2fwo | null | null | null |
True | brianly | null | It seems to be a pretty good version 1 app based on the MSI which is posted on GitHub. FYI I tried to quickly compile the sources and ran into some issues with the custom post build actions.
The author posted about it over on Hacker News (http://news.ycombinator.com/item?id=3083935). | null | 0 | 1318089370 | False | 0 | c2putdw | t3_l4yz6 | null | t1_c2putdw | t1_c2pty8a | null | 1427703588 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | haha. good stuff you got there. | null | 0 | 1318089373 | False | 0 | c2putea | t3_l55ki | null | t1_c2putea | t3_l55ki | null | 1427703588 | -1 | t5_2fwo | null | null | null |
True | brianly | null | This is a WPF app although the author has an iPad version too. | null | 0 | 1318089402 | False | 0 | c2puti6 | t3_l4yz6 | null | t1_c2puti6 | t1_c2puhpf | null | 1427703589 | 3 | t5_2fwo | null | null | null |
True | homoiconic | null | The post seems to be talking about XSS and petty vandalism (`alert(‘your mom wears army boots!’)`). I’m currently working with Backbone.js, where data is prepared by a Java class (Backbone calls it a “View,” but it has View _and_ Controller responsibilities) and then rendered by a template that has very limited amounts... | null | 0 | 1318089490 | False | 0 | c2putt4 | t3_l4dpk | null | t1_c2putt4 | t3_l4dpk | null | 1427703593 | 1 | t5_2fwo | null | null | null |
True | asegura | null | Same here..., no objective-C needed? and XAML on the iPad? | null | 0 | 1318089511 | False | 0 | c2putvc | t3_l4yz6 | null | t1_c2putvc | t1_c2puhpf | null | 1427703595 | 1 | t5_2fwo | null | null | null |
True | malkarouri | null | For a single language you are probably right, though OCaml is not far behind. In practice I do a lot of numerical computations, and my standard path is a mixture of Python with pure C for critical sections. The performance I get is typically not far off from C++, at a fraction of the development time. | null | 0 | 1318089516 | False | 0 | c2putw2 | t3_l4p6z | null | t1_c2putw2 | t1_c2purlv | null | 1427703595 | 5 | t5_2fwo | null | null | null |
True | mkawick | null | Sound strategy. Code on good sir. | null | 0 | 1318089689 | False | 0 | c2puui9 | t3_l4p6z | null | t1_c2puui9 | t1_c2putw2 | null | 1427703603 | 2 | t5_2fwo | null | null | null |
True | shimei | null | The Racket (nee PLT Scheme) one is pretty horrible too. The indentation isn't even right. [Here](http://paste.lisp.org/+2OL6) is a somewhat better one I whipped up based on the original on that page. | null | 0 | 1318089779 | False | 0 | c2puut9 | t3_l466j | null | t1_c2puut9 | t1_c2pmvlu | null | 1427703607 | 1 | t5_2fwo | null | null | null |
True | case-o-nuts | null | > For me, C has an almost perfect syntax, the only big complaint I have is that the '%' operator does not work correctly, from a logical and mathematical standpoint, for negative numbers.
Python rounds towards negative infinity. C truncates (ie, rounds towards zero). That's the reason for the difference.
If C gave... | null | 0 | 1318089855 | True | 0 | c2puv2r | t3_l4p6z | null | t1_c2puv2r | t1_c2pur9b | null | 1427703618 | 4 | t5_2fwo | null | null | null |
True | GhostedAccount | null | This has nothing to do with an IT setting. Do you have down syndrome?
It is laughable that you don't understand what copy and paste is. | null | 0 | 1318089862 | False | 0 | c2puv3q | t3_l3ct9 | null | t1_c2puv3q | t1_c2punw6 | null | 1427703618 | 0 | t5_2fwo | null | null | null |
True | kamatsu | null | Multithreading is what it sounds like - awareness of the various approaches to concurrency, methods of reasoning about and debugging concurrent programs, methodologies of developing concurrent programs using a variety of languages and methods (Incidentally, PHP has little to no support for this, and Perl isn't widely t... | null | 0 | 1318090061 | False | 0 | c2puvsj | t3_l3tuj | null | t1_c2puvsj | t1_c2pumx5 | null | 1427703630 | 1 | t5_2fwo | null | null | null |
True | skelooth | null | I'd be scared to meet a web developer that didn't understand those concepts..
"Writing a little script to run above apache" LOL, no you're confusing web developers with 13 year olds. Adults who have been doing this for 15 years are little bit different, sorry Kamatsu. | null | 0 | 1318090163 | False | 0 | c2puw6b | t3_l3tuj | null | t1_c2puw6b | t1_c2puvsj | null | 1427703626 | -1 | t5_2fwo | null | null | null |
True | Psykocyber | null | How about http://en.wikibooks.org/wiki/Main_Page ? It would also be a lot easier to contribute. | null | 0 | 1318090771 | True | 0 | c2puybv | t3_l5410 | null | t1_c2puybv | t3_l5410 | null | 1427703653 | 20 | t5_2fwo | null | null | null |
True | a_redditor | null | The source provided is for the Windows version. The OP failed at writing a title for his reddit submission. Here's what the author had to say on HN:
>Actually those are completely seperate products. One written in .net/c#, the other in objective c / pure c. Some of the concepts have been "forked" tho.
>Actual... | null | 0 | 1318090912 | False | 0 | c2puytx | t3_l4yz6 | null | t1_c2puytx | t1_c2puhpf | null | 1427703659 | 3 | t5_2fwo | null | null | null |
True | kamatsu | null | The reason grauenwolf got confused then, is that you only listed languages which do *not* have support for serious backend development, and then asked if you were a front-end or back-end developer. The answer is obvious. | null | 0 | 1318091014 | False | 0 | c2puz6p | t3_l3tuj | null | t1_c2puz6p | t1_c2puw6b | null | 1427703664 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | C is wrong from the POV of mathematics.
Take a look at [this wiki](http://en.wikipedia.org/wiki/Modular_arithmetic) and see the examples there. Check them in Python and C:
(-8 % 5) == (7 % 5)
(2 % 5) == (-3 % 5)
(-3 % 5) == (-8 % 5)
Modular arithmetic has many applications, for instance in cryptography, ... | null | 0 | 1318091088 | False | 0 | c2puzgv | t3_l4p6z | null | t1_c2puzgv | t1_c2puv2r | null | 1427703667 | 7 | t5_2fwo | null | null | null |
True | case-o-nuts | null | And to change it, you need to change rounding. Otherwise, you're mathematically incorrect in other places. Integer division in C does not use the floor function. It's arguable that this is not the right way to do things, but changing it is far more subtle than you're implying, and the problem does not lie in the mod op... | null | 0 | 1318091376 | False | 0 | c2pv0hq | t3_l4p6z | null | t1_c2pv0hq | t1_c2puzgv | null | 1427703682 | 2 | t5_2fwo | null | null | null |
True | ohell | null | I wish I had an Aeron chair! | null | 0 | 1318091421 | False | 0 | c2pv0nh | t3_l55ki | null | t1_c2pv0nh | t3_l55ki | null | 1427703684 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318091935 | False | 0 | c2pv2ji | t3_l5410 | null | t1_c2pv2ji | t3_l5410 | null | 1427703708 | 5 | t5_2fwo | null | null | null |
True | SoPoOneO | null | What I don't get is, if guys like the one who made this video, who may have disagreements with others but is sincere in his desire to use REST properly, are not doing it right, what is the value of REST anyway? As far as I know, I have *never* seen a fully compliant REST api. So why bother holding on to that impossible... | null | 0 | 1318092059 | False | 0 | c2pv2zl | t3_l4l3n | null | t1_c2pv2zl | t1_c2pq3cl | null | 1427703714 | 1 | t5_2fwo | null | null | null |
True | othilien | null | Last year, I had a class assignment to compare the performance of some simple serial code against threaded code. I had a ridiculous amount of trouble with it because I was unaware that GCC 4.4 included automatic parallelization support. The funny thing was that even the cleanest threaded code I could work up did not ru... | null | 0 | 1318092162 | False | 0 | c2pv3e2 | t3_l4p6z | null | t1_c2pv3e2 | t3_l4p6z | null | 1427703718 | 5 | t5_2fwo | null | null | null |
True | annoymind | null | TIL there are really people writing DocBook by hand. Why not use LaTeX, org-mode, Boost.Book or any other text formatting software?
btw. you should x-post it to r/cpp | null | 0 | 1318092167 | False | 0 | c2pv3eq | t3_l5410 | null | t1_c2pv3eq | t3_l5410 | null | 1427703719 | 13 | t5_2fwo | null | null | null |
True | ntrel2 | null | It should cause a link-time error on any code that makes a GC allocation. | null | 0 | 1318092183 | False | 0 | c2pv3ha | t3_l3tk5 | null | t1_c2pv3ha | t1_c2pndr1 | null | 1427703719 | 1 | t5_2fwo | null | null | null |
True | annoymind | null | And there are already some C++ related Books on there: http://en.wikibooks.org/wiki/C%2B%2B | null | 0 | 1318092257 | False | 0 | c2pv3rd | t3_l5410 | null | t1_c2pv3rd | t1_c2puybv | null | 1427703724 | 7 | t5_2fwo | null | null | null |
True | skelooth | null | I took C, C++, and Java in College just like everyone else. The idea of a language being "serious" for backend development is pretty subjective. I even have a few applications I use on my desktop that were written on adobe AIR, and the horror that was limewire was written in Java but performed like it was written in mo... | null | 0 | 1318092337 | True | 0 | c2pv42m | t3_l3tuj | null | t1_c2pv42m | t1_c2puz6p | null | 1427703727 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318092396 | False | 0 | c2pv49i | t3_l4p6z | null | t1_c2pv49i | t1_c2ptxrl | null | 1427703731 | 2 | t5_2fwo | null | null | null |
True | Narfhole | null | CSS is programming now? | null | 0 | 1318092498 | False | 0 | c2pv4nu | t3_l462s | null | t1_c2pv4nu | t3_l462s | null | 1427703736 | 1 | t5_2fwo | null | null | null |
True | xiongchiamiov | null | Mm, good to know. The closest I've gotten to using shared hosting the last few years is GitHub's gh-pages stuff, so I'm a bit out of the loop. | null | 0 | 1318092696 | False | 0 | c2pv5eu | t3_l4b56 | null | t1_c2pv5eu | t1_c2pu05v | null | 1427703746 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318092768 | False | 0 | c2pv5pf | t3_l4xfg | null | t1_c2pv5pf | t1_c2ptxyk | null | 1427703750 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | They could have invented their own language too. It's not very hard to create something that looks mostly like C, but has garbage collection, closures and classes (the Java/C++ mess with private/public/protected could be freely omitted). If you are not too stupid, the resulting language is probably simpler and better t... | null | 0 | 1318092785 | False | 0 | c2pv5rq | t3_l38op | null | t1_c2pv5rq | t1_c2pf4qn | null | 1427703751 | 3 | t5_2fwo | null | null | null |
True | Kevin_Raven | null | Thanks, I understand the jargon used (unless 'graph' means something different to a computer scientist than it does to a mathematician), I guess I'm just not sure on the *why* part. What in particular is bad about graph algorithms that use O(n) stack space? | null | 0 | 1318093150 | False | 0 | c2pv738 | t3_l4p6z | null | t1_c2pv738 | t1_c2pu9uc | null | 1427703773 | 6 | t5_2fwo | null | null | null |
True | FeepingCreature | null | Oh. The idea is that for many graphs, O(n) in time algorithms are _effectively_ O(log n) or less in stack space if recursion is used, so it's fine - but graphs can in a worst-case scenario degenerate into linked lists, so a previously O(log n) in stack space algorithm could degenerate into an O(n) algorithm and blow up... | null | 0 | 1318093351 | True | 0 | c2pv7u7 | t3_l4p6z | null | t1_c2pv7u7 | t1_c2pv738 | null | 1427703778 | 13 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318093423 | False | 0 | c2pv83x | t3_l4p6z | null | t1_c2pv83x | t1_c2ptxcl | null | 1427703780 | 1 | t5_2fwo | null | null | null |
True | johnwaterwood | null | Expected this to be lame, but it's actually rather funny! :) | null | 0 | 1318093542 | False | 0 | c2pv8jg | t3_l55ki | null | t1_c2pv8jg | t3_l55ki | null | 1427703786 | 18 | t5_2fwo | null | null | null |
True | tungtor | null | I think it has more to do with what the developer enjoys and the company needs. Sure, I can write front-end and backend code, but I get the most enjoyment working with javascript and html and I am more of an asset in this role. I believe they're also subtlety hinting that you don't have to be a designer but you should ... | null | 0 | 1318093570 | True | 0 | c2pv8ng | t3_l576b | null | t1_c2pv8ng | t3_l576b | null | 1427703787 | 3 | t5_2fwo | null | null | null |
True | losvedir | null | > And I had to Google for Zed Shaw to realize that he is the one who writes those “Learn X the hard way” books. (I glanced at a couple—I am not crazy about the Ruby one...way too chatty...but the C book has some really good ideas.)
To be clear, he wrote only the Python one and the others were inspired by it.
There... | null | 0 | 1318094009 | False | 0 | c2pvabz | t3_l55ah | null | t1_c2pvabz | t3_l55ah | null | 1427703813 | 9 | t5_2fwo | null | null | null |
True | kamatsu | null | >python and perl that tend to be used for both
No, Python and Perl tend to be used for CGI scripts or high-level logic in a web framework. Those scripts do not require knowledge of concurrency or long-running programs - The actual back-end servers I've seen are usually written in C, C++, Java or concurrent language... | null | 0 | 1318094120 | False | 0 | c2pvaqz | t3_l3tuj | null | t1_c2pvaqz | t1_c2pv42m | null | 1427703816 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318094399 | False | 0 | c2pvbv7 | t3_l4p6z | null | t1_c2pvbv7 | t1_c2ptxcl | null | 1427703831 | -2 | t5_2fwo | null | null | null |
True | [deleted] | null | None of the C standards prescribe such an optimization. It is not a language feature. If you rely on it, you are locking yourself into a specific compiler (version). | null | 0 | 1318094455 | False | 0 | c2pvc2m | t3_l4p6z | null | t1_c2pvc2m | t1_c2pud6r | null | 1427703834 | 7 | t5_2fwo | null | null | null |
True | skelooth | null | there are lots of daemons written in perl. again whether thats good or not is very subjective. gotta run, but i stick with my opinions. | null | 0 | 1318094508 | False | 0 | c2pvc9w | t3_l3tuj | null | t1_c2pvc9w | t1_c2pvaqz | null | 1427703836 | 0 | t5_2fwo | null | null | null |
True | kamatsu | null | Thanks for the lump of code with no context and a short uninformative description! | null | 0 | 1318094553 | False | 0 | c2pvcfh | t3_l57pp | null | t1_c2pvcfh | t3_l57pp | null | 1427703842 | 2 | t5_2fwo | null | null | null |
True | kamatsu | null | > there are lots of daemons written in perl.
No web servers or anything requiring nontrivial concurrency. Sure, long-running processes might work in Perl (wouldn't trust PHP with that though :/) but concurrency is not Perl's strong suit.
> again whether thats good or not is very subjective.
Not sure what "tha... | null | 0 | 1318094711 | False | 0 | c2pvd1v | t3_l3tuj | null | t1_c2pvd1v | t1_c2pvc9w | null | 1427703845 | 0 | t5_2fwo | null | null | null |
True | and3kk | null | The code may be on github and the book in Google Docs.
Besides, how to read this book?
* Google Docs = click on link to the book and read
* DocBook = ? | null | 0 | 1318094721 | True | 0 | c2pvd3e | t3_l5410 | null | t1_c2pvd3e | t1_c2pumcb | null | 1427703846 | 3 | t5_2fwo | null | null | null |
True | otakuman | null | This is why I love [opaque pointers](http://en.wikipedia.org/wiki/Opaque_pointer) in my C++ classes.
They help me keep my includes to a minimum. | null | 0 | 1318094743 | False | 0 | c2pvd6u | t3_l57iw | null | t1_c2pvd6u | t3_l57iw | null | 1427703847 | 2 | t5_2fwo | null | null | null |
True | vplatt | null | Meh... all this .Net, Java, and Python is making me soft. I had to sit there and think about his comment about strlen changing the big-O cost of an algorithm. Then it hit me.. cripes. | null | 0 | 1318094771 | False | 0 | c2pvdat | t3_l4p6z | null | t1_c2pvdat | t3_l4p6z | null | 1427703849 | 8 | t5_2fwo | null | null | null |
True | skelooth | null | when people dont agree with your opinion, try to make petty personal attacks. good job at maintaining adult conversation "dude" | null | 0 | 1318095222 | False | 0 | c2pvezj | t3_l3tuj | null | t1_c2pvezj | t1_c2pvd1v | null | 1427703873 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | Right. The key thing, though, as with all of what we might call "hypervisors," is that they mediate access to the hardware and schedule the processors' time. This makes whole classes of attacks, such as those based on buffer overruns, impossible out of the gate. As the documentation on the site points out, this doesn't... | null | 0 | 1318095230 | False | 0 | c2pvf0f | t3_l4css | null | t1_c2pvf0f | t1_c2prk12 | null | 1427703873 | 3 | t5_2fwo | null | null | null |
True | case-o-nuts | null | Correct. | null | 0 | 1318095395 | False | 0 | c2pvfnf | t3_l4p6z | null | t1_c2pvfnf | t1_c2pvc2m | null | 1427703880 | 3 | t5_2fwo | null | null | null |
True | brownmatt | null | The crummy blog formatting sure doesn't help the beauty shine through | null | 0 | 1318095403 | False | 0 | c2pvfp2 | t3_l57pp | null | t1_c2pvfp2 | t3_l57pp | null | 1427703881 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | FeepingCreature, I think you said this better than I would have said it. :)
Kevin_Raven, you can think of the stack size as an effective bound to recursion, because each function call allocates some of the stack to save the return address. | null | 0 | 1318095577 | False | 0 | c2pvgbn | t3_l4p6z | null | t1_c2pvgbn | t1_c2pv7u7 | null | 1427703889 | 4 | t5_2fwo | null | null | null |
True | flukshun | null | Its the not contributing your changes back part that makes it an abuse an illegal abuse of foss. Redhat at least works most of their changes upstream before backporting, and makes their changes available via source code (hence the existance of distros like oracles enterprise linux and centos). oracle is gonna pull some... | null | 0 | 1318095639 | True | 0 | c2pvgjr | t3_l399g | null | t1_c2pvgjr | t1_c2pu5z0 | null | 1427703892 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318095752 | False | 0 | c2pvgze | t3_l579f | null | t1_c2pvgze | t3_l579f | null | 1427703897 | 15 | t5_2fwo | null | null | null |
True | parfamz | null | how to crosspost? | null | 0 | 1318095775 | False | 0 | c2pvh2h | t3_l5410 | null | t1_c2pvh2h | t1_c2pv3eq | null | 1427703899 | 1 | t5_2fwo | null | null | null |
True | colinb21 | null | There have been. When VMS was ported from VAX to Alpha AXP, we had a VAX Macro-32 -> Alpha compiler. It was needed because a significant chunk of the OS [on the order of 10^6 lines] was written in VAX assembler. I was [very] junior engineer on that project. I had fun watching people who knew more than I did integra... | null | 0 | 1318095835 | False | 0 | c2pvhb0 | t3_l4p6z | null | t1_c2pvhb0 | t1_c2ptpin | null | 1427703902 | 6 | t5_2fwo | null | null | null |
True | sausagefeet | null | And GCC is blown away by other, vendor specific, compilers (on their hardware), from what I understand. ICC leaves GCC in the dust. Compilers are very impressive. | null | 0 | 1318095909 | False | 0 | c2pvhlp | t3_l4p6z | null | t1_c2pvhlp | t1_c2pt6v6 | null | 1427703908 | 6 | t5_2fwo | null | null | null |
True | annoymind | null | create a new post in that subreddit.
| null | 0 | 1318096001 | False | 0 | c2pvhz3 | t3_l5410 | null | t1_c2pvhz3 | t1_c2pvh2h | null | 1427703909 | 9 | t5_2fwo | null | null | null |
True | supaphly42 | null | The real question is "will it blend?" | null | 0 | 1318096058 | False | 0 | c2pvi6r | t3_l4p6z | null | t1_c2pvi6r | t3_l4p6z | null | 1427703913 | -3 | t5_2fwo | null | null | null |
True | ErstwhileRockstar | null | Complexity isn't the problem but *needless* complexity:
Stroustrup: "I'm convinced that you could design a language about a tenth of the size of C++ (whichever way you measure size) providing roughly what C++ does."
Programming languages that are not simple are not worth it. | null | 0 | 1318096224 | False | 0 | c2pvitn | t3_l55ah | null | t1_c2pvitn | t3_l55ah | null | 1427703921 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318096264 | 1409527487 | 0 | c2pvize | t3_l4p6z | null | t1_c2pvize | t1_c2pvhb0 | null | 1427703923 | 2 | t5_2fwo | null | null | null |
True | the-fritz | null | and OpenGL ES. OpenGL seems far more popular now than it was 5 or 10 years ago. OSX and Linux are getting more and more popular. Windows so far failed on the mobile market. WebGL seems to be the new experimental trend. | null | 0 | 1318096431 | False | 0 | c2pvjng | t3_l579f | null | t1_c2pvjng | t1_c2pvgze | null | 1427703932 | 37 | t5_2fwo | null | null | null |
True | austinlight | null | LOL. I thought about sharing this with my friends or Facebook acquaintances and then realized, it has already been shown to its closest kin. | null | 0 | 1318096566 | False | 0 | c2pvk6z | t3_l55ki | null | t1_c2pvk6z | t3_l55ki | null | 1427703940 | 1 | t5_2fwo | null | null | null |
True | askoruli | null | The war will never be over. OpenGL can't die because there is no good alternative in so many big markets (mobile, web). Direct3D wont die because microsoft keep pushing it. Also there's no alternative for xbox. That i'm aware of anyway. Personally I've always been partial to openGL. | null | 0 | 1318096695 | False | 0 | c2pvkom | t3_l579f | null | t1_c2pvkom | t3_l579f | null | 1427703946 | 102 | t5_2fwo | null | null | null |
True | Tuna-Fish2 | null | > What's the context, x86? I wonder is the same is true for ARM archs for example.
Arm FP is horribly optimized by all the compilers I've tried -- it's perhaps the only place where you can say with confidence that a dabbling ASM programmer will probably outperform the compiler. | null | 0 | 1318096718 | False | 0 | c2pvkrm | t3_l4p6z | null | t1_c2pvkrm | t1_c2ptpin | null | 1427703947 | 3 | t5_2fwo | null | null | null |
True | ImSpicy | null | LOL! Well played, Sir. | null | 0 | 1318096802 | False | 0 | c2pvl3x | t3_l4b56 | null | t1_c2pvl3x | t1_c2pr935 | null | 1427703960 | 1 | t5_2fwo | null | null | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.