Slashdot Mirror


User: dumael

dumael's activity in the archive.

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

Comments · 36

  1. The FSB is gratefully for assistance citizen! on New Russian Law To Forbid Storing Russians' Data Outside the Country · · Score: 1

    The FSB is grateful for your assistance citizen! I

  2. Re:Q: Why Are Scientists Still Using FORTRAN in 20 on Why Scientists Are Still Using FORTRAN in 2014 · · Score: 2

    > Fortran code ignores the very possibility that pointer content can overlap. Modern compilers do not.

    Fortran's language specification doesn't allow pointers to overlap. Inhibiting programmer freedom in this way ironically gives the compiler greater freedom to perform optimizations.

    In contrast C & co, give the programmer this freedom, resulting in the compiler having to be more conservative.

  3. Re:not in the field, eh? on Why Scientists Are Still Using FORTRAN in 2014 · · Score: 1

    Language semantics are the real difference. To get comparable semantics in a C program and a Fortran program solving the same problem, the C program has to use the "restrict" keyword everywhere (or nearly everywhere/or where it counts). Fortran by default disallows aliasing (the purpose of restrict) in contrast to C.

    Location aliasing inhibits intermediate code[1] optimization as the optimizer cannot assume that two pointers point to difference locations. If the optimizer can safely make that assumption it can do more with the code.

    Aside: during my compiler design class, the lecturer spent time going over some optimizations (obviously). Towards the end of the lecture: "oh but if p aliases q, you cannot use that optimization".

    [1] Any compiler worth its use translates input files into some form of intermediate representation for optimization purposes.

  4. Re:Popular has a lot to do with installed base... on Why Scientists Are Still Using FORTRAN in 2014 · · Score: 1

    Fortran doesn't restrict multiple threads accessing the same array (see OpenMP), instead it restricts how pointers may be used. A frequent problem with program optimization is that if two or more pointers address the same location, it is aliased.

    This wrecks havoc as the compiler can no longer assume some optimizations are safe.

    Otherwise your post is mostly correct.

  5. Re:For those, like me, reading this and saying wtf on Bitcoin Blockchain Forked By Backward-Compatibility Issue · · Score: 5, Insightful

    The Weimar republic and Zimbabwe suffered massive inflation, not deflation.

  6. Re:Isn't this part of what VLIW has already tried? on Auto-threading Compiler Could Restore Moore's Law Gains · · Score: 1

    Afaik, the problem with VLIW processors in general is that they attempt to exploit instruction-level parallelism.

    This is an entirely different beast to what's presented in the paper.

    Instruction-level parallelism occurs when there are instructions within a (fixed) window of a code stream where there are no dependencies between two or more instructions.

    The VLIW paradigm is have bundles of instructions which contain all instructions that can be executed simultaneously. This shifts complexity from the hardware[1] to the compiler.

    Unfortunately, ILP can be very difficult to extract from arbitrary code, though cases exist where it's trivial.

    [1] Latter RISC chips and today's non-mobile CPUs take advantage of ILP through the use of multi-issue out of order execution. Out-of-order execution typically defers execution of any given instruction until all its dependencies have been fulfilled i.e. memory/cache accesses have occurred, previous results are available, etc. By making these units multi-issue the CPU dynamically exploits ILP to the availability of hardware, no recompilation required (though it may help).

    These hardware techniques are slowly coming to the mobile arena as they are relatively expensive transistor wise.

  7. Re:What risk? on Study Finds Unvaccinated Students Putting Other Students At Risk · · Score: 1

    Vaccines do not guarantee immunity, but are very, very likely to.

  8. Re:Just ONE word to nullify what they say on NASA To Future Lunar Explorers: Don't Mess With Our Moon Stuff · · Score: 1

    Actually, they were ordered to return the recovered salvage by a US federal court. The court decided Spanish government had a sovereign claim over the shipwreck of the Nuestra Señora de las Mercedes.

  9. Re:This is a stupid article on Why You Can't Dump Java (Even Though You Want To) · · Score: 1

    > Maybe Oracle can actually expand Java. Oracle owns silicon, so why not make a processor that is designed from the ground up for Java bytecode? Perhaps even build it into the SPARC architecture . ARM tried it with Jazelle in earlier cores which they've replaced with the ThumbEE and successor. JIT compilers (and in ARM's case simpler+compact instructions) seem to have been more economical than implementing a (partial) second instruction set in a processor and requiring to be at least as fast the JIT competition.

  10. Re:This is what's wrong with private healthcare. on How Doctors Die · · Score: 2

    Really?

    http://www.irishdentist.ie/news/news_detail.php?id=3969

    Mind you this was a walk-in procedure, not an impacted tooth or anything. And it definitely wasn't subisidized by the Irish government (that's where you get a discount for paying PRSI). Which appears to have been cut.

    Leaching indirectly off insurance companies? That'd be interesting given the VHI tend to refund costs of low priced stuff to the you directly afaik.

  11. Re:This is what's wrong with private healthcare. on How Doctors Die · · Score: 1

    A $1000 dollars for a wisdom tooth extraction? I had one extracted in Ireland as a walk-in patient. No insurance mentioned, no PRSI slips shown.

    60 Euro. And that included an X-Ray to say, "Yes, that tooth is pretty much irrecoverable".

    And I probably could have gotten it performed cheaper outside the capital.

  12. Thanks. on Rob "CmdrTaco" Malda Resigns From Slashdot · · Score: 1

    Thanks and good luck on new ventures.

  13. Re:Alternatives on The Coming War Over the Future of Java · · Score: 1

    You can't utilize multiple processors with OCaml directly. There is some effort going towards building a multicore version but it's not being undertaken by INRIA.

  14. Re:Alternatives on The Coming War Over the Future of Java · · Score: 1

    I'd disagree on the use of OCaml for certain applications as there is no multi-core support. You might be able to hack something in using multiple processes, but it will probably be pretty ugly.

  15. Re:Shame Really... on Oracle To Monetize Java VM · · Score: 2, Informative

    http://www.microsoft.com/interop/cp/default.mspx

    Shame really that someone couldn't even do the research to see if such wild claims about MS are in any way true.

  16. Re:Hear, hear. on Yale Researchers Prove That ACID Is Scalable · · Score: 1
  17. Re:C# on Microsoft May Back Off of .NET Languages · · Score: 1

    http://en.wikipedia.org/wiki/Singularity_(operating_system)

    Sure, there's components written in assembly + C, C++. But it's quite possible to write the vast majority of an OS in a variant of C#. Also, have a look at C#'s "unsafe" extension which permits the normal C hackery.

  18. Re:ssto on US Air Force Launches Secret Flying Twinkie · · Score: 1

    SSTO is a dumb idea for bell shaped rocket engines due to their limitations. Aerospike and linear aerospikes can potentially offer SSTO capability.

    http://en.wikipedia.org/wiki/Aerospike_engine

  19. Re:The end of Moore's Law would be good on Moore's Law Will Die Without GPUs · · Score: 1

    > It would mean that development cycles slow down, algorithmics finally win over brute force and that software quality would have a chance to improve (after going downhill for a long time). Um, nope. Companies will simply sell bigger boxes to run their bloated code. > GPUs as CPUs? Ridiculous! Practically nobody can program them http://www.nvidia.com/object/cuda_apps_flash_new.html > and very few problems benefit from them. Media encoding/transcoding. Scientific code, minimum spanning trees can also be done a a GPU. If you mean by a 'few problems' that it doesn't run Word/Office/Java etc, then yes. Otherwise if it's a case that the algorithmics (sic) can be done in a data parallel fashion, then the problem might be able to done on a GPU.

  20. Re:Yessiree! on Android Ported To iPhone · · Score: 1

    Strange. Mine's "Positive" and i'm swimming in mod points. Even when I don't use them.

  21. Re:Might be particularly applicable to Java on Memory Management Technique Speeds Apps By 20% · · Score: 1

    Except any decent allocator should only need to cross the kernel threshold when expanding the heap -or- releasing "excess" for some value worth of free memory back to the OS.

  22. Re:Might be particularly applicable to Java on Memory Management Technique Speeds Apps By 20% · · Score: 1

    Sun's java still needs to perform it's own internal memory management for the main heap. The minor heap is bump allocated, and live data copied from that to the main heap.

  23. Re:20%?! on Memory Management Technique Speeds Apps By 20% · · Score: 1

    Only if your compiler/VM does escape analysis for stack allocation. Afaik, Sun's Hotspot and the JHC haskell compiler are capable of it, I don't know of any others.

  24. Re:Another JVM on Swiss Firm Claims Boost In Android App Performance · · Score: 1

    Google are currently implementing a JIT for Dalvik. I don't have any experience using it though, as I've been hacking on the garbage collector.

  25. Re:"Systems" language? on Go, Google's New Open Source Programming Language · · Score: 1

    Nitpick, but reference counting isn't the ony form of garbage collection out there. Reference counting is actaully fairly attractive as you get very incremental collection , not simply your application freezing dead while you examine the entire heap (as android does currently, and Go's current collector).

    Also, IBM's Recycler which they are proposing was designed by David Bacon. Some of his more recent work is on hard-real time collectors for Java.
    http://domino.research.ibm.com/comm/research_projects.nsf/pages/metronome.index.html

    Finally, using the MMU on a cpu to assist with garbage collection is generally a disaster. Your program needs to be able to inspect and modify it's own page tables, or you're using the memory fault mechanism to allow the collector to progress. The first is a security + OS nightmare, and the second tends to be very slow.