Slashdot Mirror


User: p3d0

p3d0's activity in the archive.

Stories
0
Comments
3,023
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,023

  1. Screw that on Video iPod Apple's First Bad Move? · · Score: 1
    Who cares about TV? Do people whine about recording the radio on their iPods?

    If they get a decent set of shows/movies available, people who don't care about live events like sports may cancel their cable and satellite subscriptions.

  2. Re:forget Rails on What is Ruby on Rails? · · Score: 1
    ...if you are a rubynista, then rails is defiantly the way to go.
    Was that a typo or a pun?
  3. You pompous dork on Digital Camera Failures · · Score: 1

    So people who can't afford high-end photography equipment shouldn't expect their camera to behave as advertised?

  4. Re:Cool code no longer means fast on Java Urban Performance Legends · · Score: 1
    Allow me to introduce myself. I am the lead developer of the AMD64 port of the Java JIT compiler developed by a major company. Obviously that doesn't mean my word is gospel on JIT issues. I only hope it will give you pause to think before you dismiss my remarks again.

    If you're running on a uniprocessor, the JIT (at least our JIT) never waits for the interpreter. The reasoning is that Java is primarily a server-side technology, and so throughput is paramount. For throughput, once you decide you're going to compile a method, it's always better to compile it before executing it.

    The downside of this policy becomes apparent when running an interactive app. The user clicks on a button, causing some Java code to run, causing the invocation counts on some methods fall to zero, causing them to get JITted at precisely the wrong moment, from an interactivity point of view. Just when the user expects a response, the JIT comes along and makes her wait.

    Obviously other policies are possible for interactive apps, and some other JVMs probably use such policies. We may start employing such a policy in a future release.

    Also, on a multiprocessor (even with hyperthreading or multi-core processors) this is usually no longer a problem because, as you say, one thread will continue interpreting the method while another compiles it.

    However, with modern JVMs, with generational concurrent garbage collection... If you're noticing GC pauses, you may not be using your JVM's best available GC policy.

  5. Re:As I see it. on Java Urban Performance Legends · · Score: 1

    I wouldn't do it before each page. Then the time consumed by GC is on the critical path for the user's perception of latency.

  6. Re:Cool code no longer means fast on Java Urban Performance Legends · · Score: 1
    I do believe that Java's GC is the cause for its random (and more notably, its inconveniently timed) stutters.
    In interactive apps, that's more likely to be a problem with the JIT compiler kicking in at inopportune times.
  7. Re:As I see it. on Java Urban Performance Legends · · Score: 1

    So call System.gc() at the end of each page. Then the only reason it should happen again mid-page is if you actually run out of memory, and then it's unavoidable.

  8. Some queries that Google Local can't handle... on Google Maps Graduates · · Score: 1
    I'd say it should have stayed in beta a bit longer.
  9. Re:Ender's Game movie already in the works... on Orson Scott Card Reviews Everything · · Score: 1

    Substantially better than the first, I thought. (And I thought the first wasn't too bad either.)

  10. Extrapolating from a sample of one? on Heap Protection Mechanism · · Score: 1
    Nice dream , meanwhile in the real world both users and most coders (if they dare to admit it) will NOT sacrfice usability or ease of coding for security measures that (in their minds) are nothing to do with their application.
    Really? And I guess you have asked "most coders" for their opinion on this?
  11. JITs need write and execute simultaneously on Heap Protection Mechanism · · Score: 1

    You can't write a high-performing JIT compiler with pages using memory that's not writable and executable at the same time. The dynamic nature of Java necessitates continual patching of the generated code for a number of reasons. Even if there were no page-boundary problem (ie. making one page unexecutable could affect any number of methods) and no threading problem (ie. making a page unexecutable would affect every thread executing code on that page) it would still be infeasible to do all those extra system calls every time the generated code needs modifying.

  12. Re:If specs are 100% accurate,then they are the co on Linus Says No to 'Specs' · · Score: 1
    No, it doesn't. According to your "spec", sqrt(4) = -2 is an acceptable answer. That's just not true.
    Fine. Then the spec could say "result >= 0 and result*result = x". So sue me.

    Do you have a point?

  13. Don't you mean... on X Prize Founder Launches Rocket Racing League · · Score: 1
  14. Re:If specs are 100% accurate,then they are the co on Linus Says No to 'Specs' · · Score: 1
    If specs were 100% accurate, then there would not be a need to write the code, because the specs could be automatically translated to code (we are talking about 100% accuracy here, not 99.999999%).
    That's not true. If it were, then you could prove P = NP and you'd be famous.

    The spec for sqrt(x) says that result*result=x (for complex x). Any compiler smart enough to turn this spec into an implementation of sqrt would be more complex than simply implementing sqrt itself.

  15. Re:Planning to visit SSO? Read this for more info! on SpaceShipOne to Join Smithsonian Collection · · Score: 1
    Its a bit like comparing an object thrown in the air with an aircraft.
    I wouldn't say that's fair. It's more like comparing an aircraft with the General Lee jumping over a broken bridge. SpaceShipOne reached space under its own power; it wasn't "thrown".
  16. I found these two on Happy 7th Birthday Google! · · Score: 1
    This one seems to introduce Google, but this one seems to be older.

    Here is the tail end of the search, sorted by date.

  17. If people would just realize this on C-SPAN Interviews Wikipedia Founder · · Score: 1

    Indeed. If people would just realize that you need to corroborate Wikipedia facts before relying on them, almost all the arguments against it would evaporate.

  18. Did anyone notice Firefox's version number? on Firefox Exploit Adds Fuel to Browser Security Feud · · Score: 1
    Hint: it starts with a 1.

    Give it some time. I'll be pretty surprised if Firefox's rate of security flaws doesn't fall way below IE's over time.

  19. This is my Fire Depression System on NASA Plan to Return to the Moon · · Score: 1

    Hey, you fire... Look at your life! What have you done with yourself! You're a loser and nobody will ever love you.

  20. Re:They satisfy it by not giving you anything on RTLinux Boasts Single-Digit uSec Responsiveness · · Score: 1

    Do you have a point?

  21. Uh... Why? on Keyboard Sound Aids Password Cracking · · Score: 1

    What part of their method makes it inapplicable to hunt-'n'-peck typists?

  22. RTFA on Keyboard Sound Aids Password Cracking · · Score: 1

    The whole point is that they use smart algorithms to learn what sounds your particular keyboard makes.

  23. They satisfy it by not giving you anything on RTLinux Boasts Single-Digit uSec Responsiveness · · Score: 1

    The GPL just says if you give the binary, you must give the source too.

  24. I came to the opposite conclusion on Performance of 64-bit vs. 32-bit Windows Dual Core · · Score: 1

    I was impressed that there was practically no degradation when moving from 32-bit to 64 bit. That means there's no real obstacle to adopting 64-bit OSes and apps.

  25. Re:Insightful? on Bulky System Requirements for Windows Vista · · Score: 1
    If you have multi-megabyte data structures (eg in a large cache to reduce db traffic) then I'd be very surprised if you had that many pointers relative to actual data.
    Join the club. Based on the responses I've received, it seems everyone's surprised. All I can say is, go do the measurements yourself.

    Anyway, I think your statement says a lot. It's as though you don't think pointers are "actual data". That might explain your surprise: you think half of the data in a Java heap is wasted.