Slashdot Mirror


User: Fergus+Henderson

Fergus+Henderson's activity in the archive.

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

Comments · 10

  1. Re:Here are the main differences on Portable .NET Reaches A Quarter Million Lines · · Score: 1
    There is a way to allocate "typed" memory through Boehm. If you always use the "right" allocation routines, no memory will be scanned which doesn't need to be.

    That statement is false. The Boehm collector always scans the stack conservatively; it is neither type-accurate nor liveness-accurate. So memory which is pointed to from the stack can be scanned unnecessarily.

  2. Mercury faster than C? on ICFP 2001 Task · · Score: 1
    Lots of tests aren't implemented for Mercury, which explains its low score.. but it isn't doing to well in the ones that are implemented, anyway.

    Doug forgot to enable the Mercury compiler's optimizations! He's fixed that now, so we now do a lot better than before.

    Nonetheless, I think the Mercury folks took a prize last year though, didn't they?

    We came fourth, which was good enough to rate a mention, but not good enough for a prize.

  3. Re:Mercury is uninformed on Mercury Researchers Explain Microsoft .NET · · Score: 1
    > If your code is entirely managed, you code is 'safe' AFAICT.

    No, that's wrong. Managed code is not necessarily safe. To be safe, the code must also be "verifiable". See my other article in this thread.

    AFAIK, for source code written in C++ with Microsoft's managed extensions, the IL code generated by the MSVC compiler will not be verifiable in general, so although you can write code which is managed, it won't be safe.

  4. Re:Mercury is uninformed on Mercury Researchers Explain Microsoft .NET · · Score: 2
    I'm one of the Mercury developers who was involved in porting Mercury to .net. "Chokolad" is basically correct on this point.

    There's two separate concepts involved here:

    • managed code
    • safe (verified) code

    "Managed code" provides information to the run-time system that lets the run-time system trace the stack. Managed code is required for garbage collection, but managed code is not necessarily safe.

    Verified code is code which is managed and which in addition passes the runtime loader's verification checks. Verified code is safe.

    Microsoft's .net supports both of these: you can have code which is managed but not verifiable, or you can have code which is managed and verifiable. Code which is only managed but not verifiable is not safe, and so can't be run unless trusted. So for unverifiable code the security model is like the security model for Active-X controls (with all that that implies...). Code which is verifiable can be run in a sandbox like Java applets, and so it can be safe to run untrusted code in a sandbox as long as it is verifiable.

    AFAIK you are correct that Microsoft's managed C++ code will not be verifiable, and hence not safe. If you want to write code which is safe, then AFAIK you will need to use a different language, e.g. C# or Mercury.

  5. READ the licence: GPL clause 4 on KDE to RMS: That's Absurd. · · Score: 1
    From the GPL:



    4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically TERMINATE your rights under this License.


    So RMS is not "inventing special rules after the fact just to bash KDE", as the KDE authors wrote.
    That rule has been around as long as the GPL
    has existed. The KDE authors would do better to
    read the GPL rather than flaming RMS.

  6. Re:Java Virtual Machine is not tied solely to Java on Microsoft's New Language · · Score: 1
    That's absolutely right. There are implementations that target Java and/or the JVM for the following languages,
    • Lisp
    • Scheme
    • ML
    • Eiffel
    • Sather
    • Smalltalk
    • Ada
    • Pascal
    • Oberon
    • Python
    • COBOL
    just to mention some of the more well known ones, and in addition compilers to Java/JVM for the following languages
    • Haskell
    • Mercury
    are under development. All in all there are more than 130 different tools that compile to Java and/or the JVM. See the full list.
  7. Re:C--, Anyone? on Microsoft's New Language · · Score: 1

    Only one of the developers of C-- is at Microsoft Research. The others are at Harvard (Norman Ramsey), Glasgow (Fermin Reig), Oregon Graduate Institute (Thomas Nordin), and other universities. The only C-- implementation comes from OGI, not MS.

  8. GPL loophole -- wish it had been QPL'd on Escient (CDDB company) trying to monopolize market? · · Score: 1

    Under the GPL, they don't have to release
    source code unless they distribute it.


  9. Read the bill, not the summary on Virgina Criminalizes spam, ACLU against it · · Score: 1
    Here is what is made illegal:

    1.using the services of anelectronic mail service provider in contravention of the authority granted by or in violation of the policies set by the electronic mail service provider;
    2.falsifying e-mail transmission information in connection with the transmission of unsolicited bulk e-mail;
    3.selling or distributing software which makes possible the transmission of false e-mail with the intent to facilitate the transmission of false e-mail.

    That is not exactly what is made illegal. That is just the summary. What is in fact made illegal is more precise than that. For example, the new wording which disallows point 1 above is restricted to the case when you are sending unsolicited bulk email.
  10. "Fair use" is only for commentary on Emulation Legality · · Score: 1

    No, even copying the WHOLE of a copyrighted work
    for purposes OTHER than commentary can sometimes
    be "fair use".

    You should read the judgement in the Sega vs Accolade
    case that was linked to in the article,
    in particular paragraphs 29 onwards
    (the second half).