An unofficial, read-only Hacker News reader.

I checked Clojure's core with Lean and found unreported bugs (opens external site)

238 points by encyclopedism 4 days ago | s.conao3.com | 85 comments on HN

View full thread · View on Hacker News

Comment thread (13)

  1. On the practical side, Clojure sits on top of JVM which is humongous and likely unverifiable. On the theory side, very exciting!
    Replies (3)
    1. Flash was also absolutely everywhere and humongous and likely unverifiable.

      -was-. JVM belongs in the same box.

      Replies (1)
      1. Java will probably be there during humanity's dying hour.
        Replies (2)
        1. It’s what the terminators will be running.
          Replies (1)
          1. 3 billion of them.
            Replies (1)
            1. Being disemboweled by a blue-ray player is going to be pretty embarrassing.
        2. And it will be Java 8.
    2. With enough token...who knows what is possible
    3. Even if it was verifiable, it would be a single implementation, folks keep forgetting Java is like C and C++, there are plenty of implementations to chose from, not even OpenJDK distros are all alike.
      Replies (1)
      1. Not so different for this to matter, except if you need NASA level verification.

        Most use OpenJDK upstream Java code and SDK and HotSpot jvm code. Even if you didn't also check vendor patches, the huge majority of code and behavior would still be covered by the verification, and this already covers the largest share of users.

        Replies (1)
        1. They use different JIT, GC and AOT compiler implementations, that alone is enough to change behaviour, well depending on which runtime behaviours one would like to validate as the right way.

          Then you have all the others that have nothing to do with OpenJDK, like PTC, Aicas, microEJ, and the myriad of embedded ones.

          Replies (1)
          1. >They use different JIT, GC and AOT compiler implementations, that alone is enough to change behaviour, well depending on which runtime behaviours one would like to validate as the right way.

            We're talking about verifying the codebase, not the binary or the compiler.

            Replies (1)
            1. The code isn't static.