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. Re:Introspective behaviour on JIT vs AOT Compilation · · Score: 3, Informative
    Think about usage patterns, maybe I am wrong but no actual VM execution model adapts program execution at running/history characteristics.
    Yep, I think you're wrong. Look up "value profiling" for instance. It means finding values that are effectively constant on a particular run of a program, and recompiling that program on the assumption that the value will indeed be constant.

    For instance, imagine the UNIX "wc" (word count) program were written in Java. An advanced JIT compiler could tell, for instance, that you have specified the "-l" option, and therefore you only need to count lines. The portions of the program that count letters and words would get removed as dead code, which probably speeds up the inner loop a great deal.

    Moden JIT compilers produce self-profiling code, and then re-compile with the profiling information to produce a specialized version of the code that will run faster under the current conditions.

    If that's not the "introspection" you're talking about, then perhaps I have misunderstood. Can you give an example?

  2. Re:Let me clarify on JIT vs AOT Compilation · · Score: 5, Funny
    Yes, I have actually done this myself for x86 with my pet language's interpreter/compiler, so I'm not just talking out my arse.
    Oh, ok. For a moment there, I thought I was a professional JIT developer, but apparently I was mistaken.
  3. Re:Introspective behaviour on JIT vs AOT Compilation · · Score: 1
    Why not spend our ever increasing computing power to create 'introspective' programs?
    We do. That's what modern JVMs do.
  4. Re:What's the point in Java bytecode anyway? on JIT vs AOT Compilation · · Score: 5, Informative

    It is parse trees. It's stack-based, which is pretty much just a post-order traversal of expression trees. Think of bytecode as a file format for describing expression trees.

  5. Let me clarify on JIT vs AOT Compilation · · Score: 4, Informative
    If you can show me a commercial JIT compiler that doesn't already do this, I'll eat my hat. What you call "dynamic compilation" is so routine and mundane that when people talk about "JIT compilers" these days, that is exactly what they are talking about. Nobody blindly compiles on the first invocation of a method any more.

    What you have mentioned is not the crux of the problem. I can't say much more because I do confidential work on IBM's JIT compiler.

  6. 1998 called on JIT vs AOT Compilation · · Score: 5, Funny

    They want their idea back.

  7. Re:Biodiesel on Could Nuclear Power Wean the U.S. From Oil? · · Score: 1
    Were you planning to run your tractor on biodeisel too?
    Yes.
    It may turn out that the fuel used to plow a certain area of a field needs the same area's worth of produce to make the biodeisel that powers the tractor.
    Apparently that is not the case. See this.
  8. Re:Biodiesel on Could Nuclear Power Wean the U.S. From Oil? · · Score: 1

    Perhaps that they are counting the crude oil removed from the ground. Thus, for every 0.81 gallons of gas we get, it costs us 0.19 gallons and it costs the ground 0.81 gallons.

  9. Re:Biodiesel on Could Nuclear Power Wean the U.S. From Oil? · · Score: 1

    The only thing I can imagine is that the input energy is not all in the form of gasoline. Otherwise, it seems absurd to pay 1 gallon of gas to get 0.81 gallons.

  10. Re:Waste of time on Time Lapse of Lunar Eclipse · · Score: 1

    Yes, the video is total crap. This, on the other hand, is cool.

  11. Re:Progress on C++ In The Linux kernel · · Score: 1
    In a kernel, all the code needs to be transparent, and you definitely don't want to hide implementation and the usual abstractions.
    This argument suffers from a common misconception: that "information hiding" means hiding information from developers. It doesn't. It means hiding information in one software module from another.

    Abstractions are not inherently opposed to what you're referring to as "transparency". Good abstractions don't harm transparency, and actually make code clearer by clearly defining the interactions between modules.

  12. Re:Why not Prolog? on Programming Challenge: Triangles Puzzle · · Score: 1
    Uh, that's total bullshit. Code can only say what it's doing. It can't describe why. It can't explain implementation limitations (eg. "this is an O(n^2) algorithm, but I have chosen it for simplicity because I don't expect n to be larger than 25"). It can't contain TODOs (Fred Brooks' "purple wires").

    If you think you can get away with no comments in lisp or prolog, then you haven't written very large lisp or prolog programs.

  13. Mod parent up on New Hominid Species Unearthed in Indonesia · · Score: 1

    And mod this down.

  14. Re:Why not Prolog? on Programming Challenge: Triangles Puzzle · · Score: 1

    ...and not a single comment.

  15. Re:Where is totality .... on Total Lunar Eclipse This Week · · Score: 1

    It's a lunar eclipse. Totality will be on the moon.

  16. When will people learn on Nuclear Rockets Moving Along · · Score: 1

    When will people learn that 300 million people can have more than one focus.

  17. from the yeah-but-how-MANY-bothans-died dept. on New Star Wars DVD for Trivia Buffs · · Score: 4, Funny

    I just have to say that's the funniest "from the dept." line I have ever seen here. (Not that that's saying much.)

  18. Are you mods paying attention? on Firefox - The Platform · · Score: 0, Flamebait

    Parent is classic flamebait, and it's not even very well disguised.

  19. Not quite on Brazil Successfully Launches Its First Rocket To Space · · Score: 1

    Aryabhata was launched by the Russians. There's a big difference between building a satellite and having a space programme.

  20. Re:I must be missing something on 'Tit for Tat' Defeated In Prisoner's Dilemma Challenge · · Score: 1

    What you are missing is that nobody ever claimed TfT would never lose.

  21. Re:The winner basically cheated (good for him :) on 'Tit for Tat' Defeated In Prisoner's Dilemma Challenge · · Score: 1
    My guess is that mere xenophobia would be eclipsed by the much more powerful strategy of joining the ongoing discussion about which agents can and can't be trusted.
    Wow. That is cool.
  22. Re:Personal satellites, anyone? on What's Next in the New Private Space Industry? · · Score: 1

    I bet you a beer that there will be no private orbital flights a year from now.

  23. Re:Personal satellites, anyone? on What's Next in the New Private Space Industry? · · Score: 2, Insightful

    No, satellites require orbit. These flights are sub-orbital. Think pogo-stick versus jet plane.

  24. Re:Unrealistic on What's Next in the New Private Space Industry? · · Score: 1
    The idea isn't to necessarily make the trip much faster - though that will happen over time with conventional air travel - but to improve the experience enough that passages won't mind a 20 hour flight so much.
    Yes, that's why we all travel around in luxurious decadence in our fabulous 21st century horse-drawn carriages.
    Besides, if flying in space becomes so commonplace that I can get to Australia - I might as well just go to the moon!
    To make a statement like this requires a remarkable depth and breadth of ignorance of the laws of orbital mechanics. "If flying through the air becomes so commonplace that I can jump from my kitchen to my living room, then I might as well fly to work!"
  25. Re:There's that FLOSS word again on A Security Bug In Mozilla - The Human Perspective · · Score: 1

    It's for "Libre".