Slashdot Mirror


User: sim82

sim82's activity in the archive.

Stories
0
Comments
84
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 84

  1. Re:The world as we know it is about to end. on Linux Receives 20th Birthday Video From Microsoft · · Score: 1

    Don't forget c++0x and the Chevy volt!

  2. fail2ban.log on Zeroing In On the Internet's 'Evil Cities' · · Score: 1

    they actually needed to do a study?

  3. Re:Java is fast on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    sorry, read my post (and the paper) again: "original c++" > "original java". After expert improvements (Jeremy Manson): "original c++" == "improved java" (see my orignal quote). I am assuming here that by "original C++ implementation" the article refers to the c++ version without any tuning (mainly no hash_set, which is not official standard, yet).
    My point is that, you can get pretty much the same performance out of java and c++, but you need a good java programmer to do that. On the other hand you need a failry good programmer to get a working c++ version at all.

  4. Re:Java is fast on C++ the Clear Winner In Google's Language Performance Tests · · Score: 2

    Jeremy Manson brought the performance of Java on par with the original C++ implementation

    essentially they say that you need some kind of expert to produce java code that is on par with "straight forward c++". This corresponds somehow to my own experience (java can be fast, if you put in the effort). On the downside, you need some kind of expert to create normal (=good) c++ code in the first place...

  5. Re:... and? on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    It is relevant, because Java (especially the SUN hotspot VM, so this includes scala) must have been the most ambitioned attempt to create a fully hw-independent, garbage collected and jit-ed "language platform" ever. Java is the best representative for any comparison of "non-native" vs. "native". Still, contrary to what has been claimed, in most cases you can only achieve "sub-native" performance (especially when you consider that the java vm, by design, makes it impossible to directly exploit stuff like SSE, which can have a huge impact).

  6. Re:Jesus Flipping Christ... on Firefox 4, A Day Later · · Score: 1

    the firefox team already divided it by infinity five years ago

  7. Re:C++. lol. on Bjarne Stroustrup Reflects On 25 Years of C++ · · Score: 1

    *warning: false dilemma ahead*
    BUT: If I was, for any reason, forced to choose a single language to use (i.e. get work done) in the future, it would probably be c++.

  8. Re:Maybe they've grown up a bit on GCC Moving To Use C++ Instead of C · · Score: 1

    yes, it is much better to make things clear to other programmers (which most of the time also helps the compiler find potential errors better).
    Without much effort, I only could only reproduce a speedup of about 1.5% using stl iterators vs. array indexing in a micro benchmark (max element in an int-array). The original scenarios are harder to reproduce in an isolated benchmark. Anyway, it is only measurable on intel core/core2/nehalem cpus. On recent amd cpus there is no difference. My original point was to counter the STL-is-100-times-slower-than-anything-else comments, though.

  9. Re:Maybe they've grown up a bit on GCC Moving To Use C++ Instead of C · · Score: 1

    yes, that seems to be the common knowledge and i am still avoiding pointer arithmetics where possible (recently i like stl iterators though, as a way to give the compiler (and other humans) as much information as possible about the real intention of the code). And still, replacing the array indexing got me speedups >5% for inner-loop stuff on gcc, on more than one occasion (i don't remember the details using icc).

  10. Re:Choices, choices on GCC Moving To Use C++ Instead of C · · Score: 1

    don't forget that "printf("0x%08x\n", x);" is still completely valid c++ code. The fact that some people prefer iostreams is no reason eveyone should use them (c++ is not pre 1.5 java!).

  11. Re:thus a disaster on GCC Moving To Use C++ Instead of C · · Score: 1

    IMHO no one should use c++ exceptions before reading and understanding at least some parts of GOTW.ca or the nicer version in Herb Sutters's 'exceptional c++' .

  12. Re:Maybe they've grown up a bit on GCC Moving To Use C++ Instead of C · · Score: 3, Interesting

    how true
    I had this funny 'aha' moment doing some simple operations on all elements of an int array: using a stl::vector and an iterator is actually faster than a plain-c int-array indexed by the loop-counter. The stl version boils down to pure pointer arithmetics, while the c version has the indexing overhead. Sure you can do the equivalent in c (as fast as an stl iterator, surprise, surprise), but honestly I like to keep away from this kind of stuff, most of the time.

  13. Re:Who writes this crap? on HP Reportedly Cancels Plans for Windows 7 Tablet · · Score: 1

    you are right. The original author must have confused them with SUN.

  14. Re:surprise surprise on Hardware TPM Hacked · · Score: 2, Insightful

    well, now that he knows which chemicals to use and which wires to tap, it should take considerably less than 6 months to do it again. Basically the security of this tpm seems to be mainly based on obscurity (in this case complicated hardware).

  15. Re:guess what! on Airport Access IDs Hacked In Germany · · Score: 1

    It's good to know that Jack Bauer is out there to protect us! (uuhmm, wait...)

  16. Re:Could last another 10 years... on IPv4 Will Not Die In 2010 · · Score: 1

    even though it is not up to date, I found http://xkcd.com/195/ to be quite interesting. It is surprising (well not quite surprising) that halliburton owns a /8 block ...

  17. Re:This is slashdot. on Microsoft Steals Code From Microblogging Startup · · Score: 1

    I had an Ayn Rand quote in my sig until recently but got tired of it. It just didn't work (as in 'clever'). Who knows why...

  18. Re:This is slashdot. on Microsoft Steals Code From Microblogging Startup · · Score: 1

    You should heed your own words there. Talking about epic failure on slashdot is all kinds of epic failure, you pathetic keyboard warrior.

  19. Re:Btrfs: kill off ext# please! on Linux Kernel 2.6.32 Released · · Score: 1

    None of them will be compatible, and FAT32 somehow remains the only viable option for removable media.)

    So in one of your possible ideal worlds, I would have to use ZFS on a 2GB SD card? Sounds interesting.

  20. Re:The pitfalls of "english-like syntax" on Dumbing Down Programming? · · Score: 1

    How do you say widget.visible = true in English? "Set widget's visible to true"? "Set the visible of the widget to the value true"? "Set visible of window to true"?

    or more basic, wouldn't a non-programmer expect it to be just 'make widget visible' or 'show widget'? In the end it seems to come down to introducing shitloads of special purpose keywords.

  21. Re:Let me guess on KDE Rebrands, Introduces KDE Plasma Desktop · · Score: 1

    It's actually kind of funny how many countless tons of shit I had to go through with Windows computers to get the sound working.

    you mean, stuff like waiting two years for a certified 64bit Vista driver (not everyone has time to spend hours trying to get vista64 to accept an uncertified driver)? Meanwhile the linux driver was there as soon as I installed the first 64bit kernel. And the sound card wasn't even some prehistoric piece of junk, but a quite reasonable and still-in-production M Audio delta 44.

  22. Re:Clarity? on KDE Rebrands, Introduces KDE Plasma Desktop · · Score: 1

    If I want to walk a windows user through ...

    Never quite unerstood why I should want to do that.

  23. Re:Enough already on Senators Ask EC To Let Oracle-Sun Deal Go Through · · Score: 2, Insightful

    The EC has to stop interfering in things it does not understand.

    First the ridiculous Microsoft case, and now this?

    The easiest way to stop the EC from interfering is by not selling your products on the European market.
    Use our market, obey our rules. Simply put. (It's a bit like the old American saying about 'eating cakes' ...)

  24. Re:Um, Thanks But No on Google Releases Source To Chromium OS · · Score: 1

    On the other hand I don't think that carrying around data on a (normally unencrypted) harddisk naturally is a better solution either...

  25. Re:Labelling. on What's Coming In KDE 4.4 · · Score: 2, Insightful

    The real problem was that most large distributions (fedora in my case) dropped KDE 3.5 support entirely as soon as 4.0 came out. This forced me to completly skip the FC9 release, and eventually to move on to a distribution without the continuous half-year release terror.