An unofficial, read-only Hacker News reader. Join the beta →

The need for a formally verifiable mainstream programming language (opens external site)

311 points by todsacerdoti 20 hours ago | blainehansen.me | 299 comments on HN

View full thread · View on Hacker News

Comment thread (6)

  1. Yes, I have been using Specular (https://github.com/specular-org/Specular) and it has helped me find a zillion subtle bugs in my existing production codebase. The caveat is that even though formal methods are involved, I’m just finding bugs, not proving correctness.

    I see specular has been submitted to HN a few times but has gotten zero discussion, which is a shame. (For the record I am not affiliated with specular at all, not even as a contributor. Just a happy user).

    TFA opens by saying that LLMs are causing software quality to decline, but using Specular has convinced me the opposite is going to be true. If you use these tools properly your risk of shipping buggy code drops precipitously

    Replies (2)
    1. This looks great but running it on my code immediately triggered (my first) openAI "cybersecurity risk" response and REFUSED to do anything no matter how much I told it I'd switch to claude :)

      Can't really express in words how much that just pissed me off. I cannot wait for these fucking companies to get ruined by open models.

      Replies (1)
      1. Haven’t used OpenAI models myself, but when I’ve run into that with Claude in the past (not with specular) I was able to steer it by reminding it that we’re just looking for behavioral bugs, not doing cybersecurity work
        Replies (1)
        1. thanks for the tip, that seems to have got it going!
          Replies (1)
          1. nvm it died again, bullshit
    2. Yea, this is an area that I have experimented in a bit. I wonder if people have done total correctness.