Bend 2 and the Vibe-Coding Trap

(blog.liampwll.com)

254 points | by LiamPowell 3 hours ago

43 comments

  • hmokiguess 35 minutes ago
    > The problem is that vibe coding makes it possible to build a substantial solution before learning enough about the problem to recognise that a much better solution exists.

    This example and Bend aside, I find this to be the biggest struggle with the perceived intelligence we have today. It's great at producing something that works, but it is not great at calling you out when you don't know what you don't know.

    It's not able to educate and course correct you unless you have great self awareness and discipline.

    That said, I think this goes for everything, it's easy to fall into this trap because it is very human. We simply don't know what we don't know, so it's not uncommon to revisit an old solution only to be enlightened that there is now new information that allows you to replace it with something much better.

    I don't think anything here is new or changed, if anything changed is really just the rate that we experience this. LLMs make it easier and faster for the feedback cycle to happen.

    Now back to Bend, I think putting your work out there and being unapologetic about it, open source even, and willing to take feedback, will go a long way.

    I am more worried about the many closed source implementations of LLM built products that are being sold and people are depending upon that don't get this great criticism from many different thinking heads.

    • MasterScrat 31 minutes ago
      I fully agree with this quote, it really crystallized something i felt but couldn’t put into words.
  • thomasahle 58 minutes ago
    > Where this differs from Bend is that what we have supplied here is everything required to prove the correctness of the program, without having a LLM waste time and tokens on building up a 442 line proof from first principles. We can run GNATprove and get: `Success: all checks proved (12 checks).`

    GNATprove uses SMT solvers, meaning it's basically a brute force proof system.

    Yes, brute-force proofs are easier than symbolic proofs (lean, bend, etc.) because you don't have to supply a proof. It's all automatic.

    But brute-force proofs don't scale to nearly anything of interest, which is why formal verification has been a niche field for 30 years, until now where LLM can write _actual_ proofs.

  • pu_pe 2 hours ago
    The original discussion about the project (https://news.ycombinator.com/item?id=49746163) is very weird. Lots of call-outs about how the author is some sort of celebrity and random accounts vouching for him, with little discussion on the substance.

    Not even the demo on that release works well.

    • stschaef 2 hours ago
      I posted a sharp critique in the original discussion, aiming to be civil while critiquing the project. I may have been a bit terse, and would probably rephrase some of it now to avoid confusion, but I don't think I was ever outwardly disrespectful.

      I received several very emotionally charged responses centered in the personal credentials of the author. They felt very out of place and did not engage substantively with any of the things I said. It was indeed very weird

      The author, who I hadn't heard of before yesterday, actually seems like a cool dude. He was quite responsive, normal, and engaged with my feedback, which makes other random accounts being offended on his behalf all the more uncanny

      • Gracana 1 hour ago
        I think people responded that way because you strongly implied he was an unserious vibecoder who was just fooling around, and you called him suspicious as fuck.

        Your post and the ones that followed are a good example of the contrarian dynamic that dang often talks about. https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

        • SkyBelow 47 minutes ago
          >who was just fooling around

          In my own professional life, I've found this to be a very divisive statement. For some, it is a sign of wasting time and effort. For others, they use this to describe themselves when they want to do exploration for the goal of finding improvements, without any clear goal because they have a few ideas but none worth putting forward. I've been told to spend time learning AI and have found that saying "Yeah, I'm playing around with it." was the wrong thing to say because it was seen as not doing anything worthwhile. It doesn't matter that I would also say the majority of my tech skills were developed when I was "playing around".

          I wonder if this is purely a linguistics breakdown, or if this is tied to some deeper difference in a person's relationship to tech?

          • ffreire 11 minutes ago
            Agree it's divisive, and I would argue it speaks more to a person's perception of work vs play more than a relationship to tech. If (the general) you think that play is for children and work is serious biz, then yeah I could see how you wouldn't take someone seriously when they say they're "playing around with it". It's usually not obvious which attitude a person has though without getting to know them a little bit.
        • latexr 1 hour ago
          > called him suspicious as fuck

          I don’t see anything from your parent commenter on the other thread that deserves that classification. On the contrary, while they initially had suspicious of vibe coding, on later comments they are cordial and even admit their own misunderstanding.

          What am I missing? Where does “called him suspicious as fuck” come from?

          Edit: Answered below: https://news.ycombinator.com/item?id=49754311 Thank you.

          • burkaman 1 hour ago
            "you [...] sound sus af" at the end of the comment. sus means suspicious and af stands for as fuck.
            • latexr 18 minutes ago
              Thank you. I did indeed miss that. I did do a ⌘F for the individual words, but it didn’t occur to me they could’ve been written like that.

              Gotta love how a polite question for clarification is met with downvotes, though. That’s HN for you.

          • embedding-shape 54 minutes ago
            Not to mention the author themselves say "Yes, there's a lot of vibe-coding in many places [...] We'll prune AI slop over time.", and then they both moved on to discussing the actual questions.

            The whole "Wow, looks AI" > "Yeah, some of it is, we'll fix it later" was such a small part of the conversation, but then there are countless of other people chiming in about specifically the "Is It Slop Or Not?", rather than the meat of the conversation. And here we are adding even more meta-comments about it.

        • perching_aix 1 hour ago
          OOTL, could you give a link to a relevant @dang post?
      • FLeXMurphy 31 minutes ago
        [checks profile]

        If this is your first HN account and you haven't seen the site in the prior decade, the "emotionally charged responses centered in the personal credentials of the author" is the SOP. The site has yielded to that attitude because dang never enforced a sensible code of conduct, and relies mostly on favoritism and in-groups. Who says is more important than what is said, and the critiques you give are ranked according to whom you are critical of.

        Think of this as a propaganda channel of a VC startup incubator who is brazenly looking for a product-market fit for anything and everything AI. Look at the roster of the recent startups and how many are AI-focused. Adjust expectations from there.

      • burkaman 1 hour ago
        It was a fair critique, but if you're looking for feedback I think people were probably responding to your last line.

        "I'm glad you're having fun vibecoding" comes across as very backhanded and condescending. It sounds like you may have actually meant that genuinely, but it doesn't read that way in text form.

        "you sound sus af" is not respectful or constructive in my opinion. It's a description of your own feelings, not a critique of the project, and there's not really any way for the author to respond besides ignoring it or saying "sorry you feel that way" or something.

        I think that line undermines the rest of your comment, because I'm left thinking that you don't really expect good answers to your questions and you just think the whole thing is dumb.

      • user43928 1 hour ago
        I'm not familiar with the author, and I'm still mildly offended by your comment.

        If I have years of experience on the topic and invested significant time into the project, I'd not be as civil as the author if someone came in and essentially called it vibecoded slop.

        There is nothing weird about how others pointed out that the project appears to have merit contrary to how it at first might have looked to you.

      • lirolero 1 hour ago
        [dead]
      • blacklemontea 1 hour ago
        [dead]
    • larodi 2 hours ago
      The whole original conversation was very smelly from the very start, 20k stars included on the GitHub page with lost history.
      • marvinborner 1 hour ago
        The Bend1 launch was very successful, with 1000+ hn upvotes [0] and with several youtube videos with up to 1M+ views [1] [2] - that's where a lot of the popularity came from, I believe. They just recycled the Bend1 repo for Bend2 even though it's a completely different language.

        [0] https://news.ycombinator.com/item?id=40390287

        [1] https://www.youtube.com/watch?v=HCOQmKTFzYY

        [2] https://www.youtube.com/watch?v=NaytZOiX3fs

        • bhouston 57 minutes ago
          > ...on the GitHub page with lost history.

          > They just recycled the Bend1 repo for Bend2 even though it's a completely different language.

          Why would you kill the source history of Bend1 completely if it has 20K stars? You can only do that if Bend1 has no users at all right?

          Does that meant that Bend1 isn't actually successful in its own right but rather only as a marketing project?

          I wasn't one of the suspicious people but I am now.

          • LightMachine 29 minutes ago
            (author here) Bend1 indeed has no significant active userbase

            I don't think that means it was "unsuccessful" in the sense you imply, though, because the project was never meant to be used in production. It was there to display a milestone (running inets on the GPU) and I was very clear it wasn't ready to be used yet. For example, it had only 24-bit integers, a 2 GB memory cap, and other limitations that made it unpractical. I still don't know why it has so many stars. I posted it to hacker news and that just happened. I guess it just went viral without really being ready yet, which got us to where we are now.

            Anyway the commit history is back now. I apologize for nuking it

            • jdiaz97 2 minutes ago
              totally not sus
        • raincole 33 minutes ago
          It sounds even worse. Actually far worse. It's a project already in use and the author just nuked the whole git history?
          • gf000 15 minutes ago
            It's a research language, of the more experimental and niche type.

            No one uses it seriously, and the author since then reverted the nuking of the git history.

      • monster_truck 1 hour ago
        Does anyone know where they bought the popularity and contributors from? I would like to do this for my joke language to fool unsuspecting users into using it seriously
        • gf000 13 minutes ago
          Probably at the same market where they sell snark. You may want to sell your excess of it, especially that as mentioned there were a popular (as in got to HN frontpage multiple times) version 1 and it's all legit and honest work, getting uncalled criticism?
      • LightMachine 1 hour ago
        The history is back...
      • nylonstrung 1 hour ago
        Yeah 100% those are purchased/fake

        Lean4 itself has 9k

    • gps372 2 hours ago
      Approach itself looked impractical to me for any non-trivial system, like domain centric system of records systems which can have 100s if not 1000s of laws. Though it can be tried as a side parallel thread to see if system is still compliant and following right first principals after a few years from its inception.

      I would rather wait to see how it gets adopted, if at all. Anyone aware of early reviews of the adopters of bend 2?

      • ramses0 1 hour ago
        As a matter of fact, I've been poking at this from a slightly different direction: "axioms and invariants" within home automation scenes.

        Invariants were like "if outside temp < 40 or inside temp < 65: heater.minTemp( 65 )"

        Axioms were like: "if {we're home} and it's {not a holiday} the house should be {comfortable temperature}".prompt

        ...and then that would get decomposed and translated into interlocking code for the scene(s). I'll have to look at this language a little more closely with those kinds of constraints in mind!

        You're kindof translating `*.prompt` to either prolog (yucky!), lisp, lua, or javascript (for inspectability/debuggability), but this whole bend thing might be an exact fit for the problem space! Limited set of objects and states, bounded set of "invariants" (laws), and layering on top the general state modification activities (either "evaluated every 5 minutes and reconciled" or "set the scene xyz...").

        • gps372 46 minutes ago
          Hmm, in your example, temperature is fully measurable but there might be a slight challenge in measuring if "If we are at home". Since for this you need to define more variants with measurements from motion sensors, pressure or weight sensors on beds or sofas, if a device has got connected to wifi, etc.

          By the time your first round of beta testing is over, you may have quite a handful of such axioms and variants, which have been humanly validated!

          Have you done any such experiment in this space?

    • LightMachine 1 hour ago
      (Author here) What about it isn't working for you?

      Also, wrote a response to this whole thread here:

      https://news.ycombinator.com/item?id=49753898

      • gravypod 52 minutes ago
        I cannot understand the hostility being directed towards you for this project. It seems very interesting. Your reply was very well thought out. I am very confused.
        • nullbio 39 minutes ago
          Seems to be a fair deal of astroturfing going on for some unknown reason. I can't tell if it's intentional to drum up controversy, or it's genuine because people are bitter about this for some reason.
          • LightMachine 28 minutes ago
            I think people are genuinely bitter about it, that's usually how my projects are received
        • LowIqHn 7 minutes ago
          [dead]
        • yellowmoonx 48 minutes ago
          [dead]
      • maroonballoon 1 hour ago
        [dead]
    • dwroberts 1 hour ago
      HN keeps being gamed to keep vibe coded slop on the front page and give it credibility. There was another language project a few weeks ago called ‘Wyzer’ that was just completely generated and largely nonsensical (didn’t do the lofty things the documentation claimed it did) and all the comments were glowing and harshly dismissive of any critique, it was bizarre
      • fzeroracer 56 minutes ago
        The number of times I've looked into something that was highly upvoted and purported to solve a problem only for it to be unreadable crap that barely functions has definitely skyrocketed over the past few years. In a way it's similar to how 80% of people only read the headline, except it's psychosis around the equivalent of a dressed up pile of trash.
    • octoberfranklin 40 minutes ago
      The whole thing smells like somebody trying to pull an LLM-fueled Sokal Hoax on the programming world.
    • HNModsSuck2 1 hour ago
      [dead]
    • guhcampos 2 hours ago
      We know what kind of turf that is.
  • z7 2 hours ago
    > The field in question is formal verification. It’s notable that those two words appear nowhere on Bend’s webpage or in its codebase. The developer has built an entire language around a field seemingly without realising that said field exists.

    I checked the developer's X account, they have written numerous posts about formal verification, so this specific claim ("without realising that said field exists") seems to be false.

    • f0e4c2f7 1 hour ago
      It's amusing to me this entire article is centered around brow beating this and other hypothetical software authors for starting things without doing a small amount of research first to understand the very basics of what they're getting into.

      If the author of the article had done just a small amount of research about bend or it's author before writing the article they would have known pretty quickly what they were saying was incorrect.

      I think the larger pattern here is that nuance is one of the most valuable commodities in the AI era. If you're hand waving stuff away without even missing , you're going to miss a lot of stuff in this cycle.

      This article reminds me a lot of the famous hacker news Dropbox comment.

    • simonw 2 hours ago
      Back in 2018 they were working on Formality, an Ethereum formal verification project. They are the Victor in this video about it: https://slideslive.com/38911748/introducing-formality

      Here's the GitHub repo for that, which demonstrates familiarity with formal proofs that long predates LLMs https://github.com/VictorTaelin/Formality

      • LightMachine 54 minutes ago
        Victor here. I haven't "worked" on Formality. I've founded it. Designed every part of it. Before LLMs!

        sighs

        Here's my response to this ridiculous accusation: https://news.ycombinator.com/item?id=49753898

        I can't internet anymore. I need a beach

        • N_Lens 49 minutes ago
          Sympathize with you mate, this article just seems like a poorly researched hit job.
        • goldmoonx 51 minutes ago
          [dead]
    • mannykannot 1 hour ago
      Bend's developer has posted a well-argued response here: https://news.ycombinator.com/item?id=49753898

      I am glad I saw it, as now I am interested in learning more about Bend.

    • ahknight 23 minutes ago
      He claimed the guy did no research while himself doing no research? I'm shocked! Shocked! Well, not that shocked.
    • LiamPowell 2 hours ago
      I don't want to change that sentence now that people have discussed it, but I have added a note to the top to make it clear that I'm just taking it as an example of a vibe-coded program because it's recent and high profile.

      My critiques of the language itself are not the main point, although I do still think that it's a very bad design to have a LLM waste tokens on a proof that could be written by CVC etc..

      • killerstorm 29 minutes ago
        > Look like how AI slop has unrealistic physics

        > Posts a link to real moon landing footage

        I'd delete the article if I was you...

        You know, in academia, they sometimes retract articles, even if they believe they are directionally correct

        • LiamPowell 3 minutes ago
          I feel that that's the worst option because it only leaves people who have read it without the added context at the start. If someone convinces me that I'm wrong then I'm happy to do so though.
      • jibal 1 hour ago
        > I'm just taking it as an example

        But this is grossly intellectually dishonest. You know very well how this will be read and responded to here ... and you keep saying that you're just talking about vibe-coding oh but you have serious criticisms of the specific effort. You write passive-aggressive stuff like

        > For all I know they did make an informed decision regarding the tradeoffs (which I would consider to be a poor decision).

        which contradicts your base assertion that their decisions were not informed. And

        > My critiques of the language itself are not the main point, although I do still think that it's a very bad design ...

        You claim

        > The developer has built an entire language around a field seemingly without realising that said field exists.

        but that is severely factually wrong, which along with a lot else suggests that you have very bad judgment. As the author writes,

        > Bend proofs being verbose has nothing to do with me not knowing that inference, unification, or program search exists.

        IOW, you have made a serious error in logic.

        > To be fair to Bend, I completely vibe-coded this

        Some advice: DBAD

        You trashed the author and his work without bothering to learn anything about either one first (which is quite ironic).

        I won't respond further.

  • johnfn 35 minutes ago
    Pretty impressive to accuse the author of not knowing formal verification when even minutes of research would immediately prove the opposite (https://x.com/victortaelin/status/2100942399132312059?s=46, https://x.com/victortaelin/status/2100374221671051472?s=46).
  • mohsen1 25 minutes ago
    > A little research before vibe-coding an entire language and compiler could have substantially improved the result because the author would have known what to ask for.

    A little research before writing and publishing a personal attack like this could have substantially improved the result because the author would have known what they're writing about

    Victor is not a formal verification noob as this article suggests

  • golol 1 hour ago
    I find this to be a mean and misguided post. To suggest that Victor Taelin does not know about formal methods. As I understand, he is trying to do something genuinely new and interesting. And he is transparent about his work, which he then gets hounded for. A shame.
    • dimgl 1 hour ago
      Why is it mean? The author is above critique?
      • user43928 56 minutes ago
        No, but the author seems to be above being critiqued for supposedly not even knowing of the existence of the field.

        Considering that he is a somewhat well known expert in the field who has been doing full time research on it for a decade.

        • suddenlybananas 51 minutes ago
          https://scholar.google.com/citations?user=ZLnQcAsAAAAJ&hl=en This is not the google scholar of a well-known expert, I'm sorry.
          • user43928 38 minutes ago
            While that might not be the largest academic footprint, I don't think you could dispute him being an expert or being 'somewhat well known'.
            • suddenlybananas 36 minutes ago
              He seems to have a big following on AI-hype twitter, I'll grant you that.

              It is interesting however, how you weren't familiar with him at all [1] 20 minutes before describing him as a well-known expert.

              [1] https://news.ycombinator.com/item?id=49753179#49754358

              • gf000 6 minutes ago
                Someone can be a well-known expert in a tiny niche field, and one may be completely unaware of them, or even the whole field.

                You are splitting hairs for no reason, while standing on the wrong side of this discussion.

                Feel free to criticize the project on its actual content.

              • user43928 23 minutes ago
                What's interesting about it?

                I looked it up, and he seems to have worked on research in that area for a decade.

                The author of the blog post could have checked the same before making the claims.

              • golol 24 minutes ago
                Has nothing to do with AI-hype. Anyone who is interested in Lambda calculus should find his work intriguing.
          • nullbio 30 minutes ago
            https://scholar.google.com/citations?view_op=search_authors&... Is this?

            Or perhaps a Google Scholar means jack shit? Since when is that the official measure of an expert lmao.

            • suddenlybananas 28 minutes ago
              What has Victor Taelin made which is any way comparable to Linus Torvalds? I'm not saying it's impossible to be a well-known expert with a shitty google scholar. I'm just not seeing any evidence at all in Taelin's case. He doesn't even have a wikipedia page!
              • nullbio 22 minutes ago
                You have a very strange definition of expert. Most people do not have a Wikipedia page, and most experts do not have a Wikipedia page.
          • vatsachak 2 minutes ago
            Muh academic ivory tower
      • golol 29 minutes ago
        It is mean for the last point I mentioned: Taelin is very transpparent about his work which makes it easy to attack him. And what for? This post is not even a proper criticism of Bend 2, it is just trying to paint some story that Taelim is a vinecoder who does not know what he is doing, based on no evidence. If he was not transparent it would not even be known that LLMs have been used.
      • suby 1 hour ago
        I found the post offputting because he is insinuating a few things about the author which are clearly untrue (eg, unfamiliar with the formal verification landscape) and he's using this untrue speculation as evidence of the dangers of vibe coding. Even the edit where he says swap it out with a hypothetical person who fits the description - it's still leaving in the untrue claims about the author.

        It doesn't seem unreasonable to think it mean if I were to make up speculative negative assumptions about you which undermined something you've been working hard on for a long period of time.

        I know nothing about the author, I'm just watching this whole spectacle unfold.

      • gf000 8 minutes ago
        Because this shitty blogs' author just called someone "vibe-coding a language with no knowledge about the field" who is literally working in that very field for a decade, long predating LLMs, with numerous high-profile works.

        You are on the wrong side of this whole discussion, there is only one people here who needs calling out and it's not Bend's author.

      • N_Lens 48 minutes ago
        It’s a poorly researched article just looking for cheapshots.
    • suddenlybananas 1 hour ago
      God forbid someone criticise Victor Taelin!
      • N_Lens 47 minutes ago
        Mudslinging isn’t appreciated, well thought out and articulated criticisms are.
      • IceDane 1 hour ago
        It's Victor Taelin?! Ye gods!

        Why is everybody treating this person like some celebrity. Am I weird for having never heard about this guy?

        • gf000 2 minutes ago
          No.

          It would be weird to stand in line for throwing shit at someone you don't know anything about, and believing that the first guy throwing shit has an actual reason to do so.

          It turns out everyone in that line is wrong..

        • LightMachine 5 minutes ago
          I don't know either :(

          I'm not a celebrity and I don't like celebrities

  • captainmuon 2 hours ago
    I haven't looked into Bend 2 in detail, but it seems a bit harsh to call it "horribly broken or decades behind the current state of the art". Clearly there is a problem with formal verification languages and there is a demand for something else in that area, and the problem is the usability and syntax. I don't want to have to learn something that looks like Haskell, or to have to wrap my head around Curry-Howard correspondence. I don't want to write my conditions in something that looks and feels like C++ template metaprogramming. I recall a Hello World in something like Coq a few years ago which basically started with "first, we construct the Peano integers", and then they used this to prove that some calculation was bounded - because it seems they couldn't represent integers natively?

    I just want to be able to write C#, JavaScript or whatever, and then tack on preconditions, checks and so on with the same syntax. Dependent typing and design by contract for the masses.

    • bunderbunder 2 hours ago
      It sounds like the crux of the issue here is that you don’t want formal verification in the first place. Your last paragraph sounds more like code contracts, which is also a thing that already exists.
      • captainmuon 1 hour ago
        Well, yeah, you have code contracts in Ada or Spec#, (very limited) fixed type ranges in Pascal, ... but no general purpose programming language lets you put an arbitrary expression in the same language in a type as a permanent condition, or lets you state facts that the compiler will prove.

        Of course not, that would be equivalent to solving the halting problem, many people will say.

        I wonder if that will change now: I'm happy with an imperfect sanitizer that I run every now and then and will run a couple of minutes and come back with: I've proved your conditions, I proved a violation, or I can't decide, please change your code.

        • IsTom 1 hour ago
          > no general purpose programming language lets you put an arbitrary expression in the same language in a type as a permanent condition, or lets you state facts that the compiler will prove

          Lean can be used as a regular programming language. There's also languages like idris2 and f-star, but they don't seem to have much traction.

    • LiamPowell 2 hours ago
      > "horribly broken or decades behind the current state of the art"

      This is just about vibe-coded programs in general when the approach assumed by the article is taken. For all I know they did make an informed decision regarding the tradeoffs (which I would consider to be a poor decision).

      > I just want to be able to write C#, JavaScript or whatever, and then tack on preconditions, checks and so on with the same syntax.

      That's more or less what SPARK (and others) do, although specifications for large programs can become nasty.

  • time0ut 25 minutes ago
    I am a total outsider when it comes to this topic, but it reads like the author is doing the thing they are accusing the Bend 2 guy of. Good juicy reading while I sip my coffee!
  • mentalgear 2 hours ago
    > The author of Bend has completely missed that this is the current standard in the field of formal verification, if they even know that this field exists at all. They have instead come up with this whole system requiring verbose specifications and even more verbose proofs. A little research before vibe-coding an entire language and compiler could have substantially improved the result because the author would have known what to ask for.

    > This example matters beyond Bend, vibe-coding makes it makes it far too easy to implement a design that’s horribly broken or decades behind the current state of the art because you can immediately get a result without ever having to do any research. If you ask a LLM for a language where it’s possible to prove that a function is formally correct by building up a proof from basic principles then it will happily do so, it will never stop to suggest to you that computers can already build complex proofs without the need for a LLM and eliminate 99% of the work. It will never tell you that what you’re building already mostly exists as work that you can build on.

    ---

    That's why all your LLM requests to build something substantial should start with "run prior work research first". Of course, at some point everything converges (if we share our outputs open-source) and then we may have solid standard patterns and libraries and do not need to waste trillions of tokens globally to rebuild the same minor, fundamental things, each one in their silent little silo.

    IF we share, it will be of course to the monetary detriment of LLM providers who will have less income overall, and of course now they can't repackage anymore all our collective input, thoughts, human 'thinking traces' that they collect in their meta-data, as their new 'innovations' any more to inflate IPOs / stock prices.

    • bunderbunder 2 hours ago
      Although, I have known using an LLM to do your prior research to itself be a trap.

      The searches it runs, and the summaries it provides, are all incredibly sensitive to your choice of words. Words you chose from a state of minimal knowledge. So it’s like a particularly perverse version of the anchoring bias: information that could have led you to a better solution is often actively filtered out of the agent’s response precisely because it leads down a different path from your first idea.

      In short, if you ask an agent what’s the best hammer for driving screws, it’s liable not to mention that screwdrivers exist.

      • cruffle_duffle 7 minutes ago
        Depending on what I’m doing I’ll dedicate a few deep research sessions to building a framework. It will generate some grounding docs that go into the repo and get consumed as we go. Said docs establish terminology, widely known formulas and methods, etc.

        And yes the output of these researchers are highly sensitive to prompting. Left to their own devices the LLM will often ship some very biased prompts to its deep research agents loaded with pre-conceived ideas rather than letting the agents uncover things themselves. Then all the agents do is confirm what the prompt told them to rather then “think independently”. (Very similar to open ended interview questions rather than asking yes/no questions)

        It’s is far better to spend a session writing writing the research prompt itself.

        All of this takes time and tokens of course…

      • user43928 59 minutes ago
        Is it?

        As in, are you sure, and can you provide concrete examples?

      • estetlinus 1 hour ago
        Beautifully written. Hammers for driving screws + sycophancy are horrible together.
      • ModernMech 1 hour ago
        Yes this is precisely why experts drive LLMs so much better than novices. It’s also why I don’t dismiss pure LLM output as slop and uninteresting; even if we both are using the same LLM, I probably can’t make it output what you can make it output.
    • cmiles74 2 hours ago
      Or maybe it should be a flag to indicate that there might be more to think about before handing the task of to an LLM.
    • zbentley 2 hours ago
      > That's why all your LLM requests to build something substantial should start with "run prior work research first".

      Yes, but I think there are incentives to not do this for many LLM providers. Doing prior-work research is slow (web searches aren't fast, LLMs are rate-limited or blocked from plenty of pages, etc.), and sometimes contradictory which annoys LLM users, many of whom like faster gratification cycles from the agent slot machine handle.

      Also, writing a bunch of bespoke code instead of leveraging prior art makes a lot of users feel like they own something novel/big/important, and also poses a larger maintenance surface for the LLM to make future changes (which costs tokens).

      I don't think there's, like, a conspiracy at LLM providers to set up system prompts/RAG/etc. to discourage research-and-use-prior-art-by-default approaches. Rather, OpenAI/Anthropic/Google/etc. are optimizing for real but sometimes misleading success metrics which often lead away from a research-first approach.

    • honr 2 hours ago
      - That should nowadays be very obvious. You start any substantial work by doing research. LLMs are [perhaps surprisingly to some] good at that. They are also pretty good at doing the plumbing. That is a godsent in the hands of a good researcher and architect. And I don't have any qualms if tokens are "wasted" on research or on the precursor work. That doesn't replace reading good books on a subject but it DOES replace finding and filling knowledge gaps.

      - But that shouldn't be confused with getting the LLMs to make the decisions. I believe that would quickly ruin a good design, unless the decisions are about truly inconsequential aspects, which are very rare in language and API design.

      - I don't believe that (sharing) is to the detriment of LLM providers either. Not realistically. We would build faster and the questions / research directed at LLMs would be more sophisticated. Believe it or not, they can't cache questions as easily as websearch queries. If anything, I believe the more people learn to use LLMs effectively (rather than just to generate slop), the more their usage will be ingrained in daily life. Some of that will be redirected towards current LLM providers. But perhaps more of the economic share will increasingly go to hardware providers, as more and more people will be interested to run their own models.

    • cyanydeez 2 hours ago
      Humans dont let LLMs raw dog internet web searches.
    • Forgeties79 2 hours ago
      > "run prior work research first".

      As effective as “make no mistakes.”

      It is trying to please you, and it always determines that the way to please you is to fulfill the original, core request. Any caveats or first steps will always be secondary to the ultimate goal of “this person wants to do X, so I will do X.”

      The only first step I have found somewhat consistently useful, because as we know LLMs do not behave consistently, is when doing tech troubleshooting I will go “look at documentation for X before answering” so that it will search manuals and such. Helps avoid speculation. But even then, it’s still not full proof.

      Sidebar: this is one of the core problems of LLM’s currently. You are basically arguing with them to get them to behave a certain way all the time and it’s not always clear if they’re doing what they’re being told to do. Then add the compounding layer that the longer the conversation goes on, the more likely it is to misunderstand or just ignore things as it descends into context-length-induced madness

      • CharlesW 1 hour ago
        > As effective as “make no mistakes.”

        Those aren't comparable instructions. Providing useful, related context to improve outcomes is a basic best practice, and asking LLMs to do research first is an important source of that.

  • wg0 2 hours ago
    Some noteworthy lines from the README.md[0]:

    > - The compiler (not kernel) is 99% AI-written and has not been fully audited yet.

    > - Strings are linked lists of characters, so text processing is slow.

    [0]. https://github.com/bendlang/bend/tree/main

    • jdiaz97 4 minutes ago
      > > - The compiler (not kernel) is 99% AI-written and has not been fully audited yet.

      so vibecoded

    • LightMachine 1 hour ago
      So are Haskell's, since 20 years ago, with no options for years?

      We will introducing binary buffers eventually. The project is new...

      • bunderbunder 1 hour ago
        “No options” simply isn’t true. Here’s a guide to many of the options: https://hasufell.github.io/posts/2024-05-07-ultimate-string-...

        Now if you’re asking why the basic prelude String type remains as it is, that’s because changing it would break more code than it’s worth, at least as far as prelude’s maintainers are concerned. This is no different from how standard C strings remain a null-terminated sequence of bytes even though that’s been awful for everyday use for at least 30 years.

        • LightMachine 1 hour ago
          Note that using linked lists for strings is actually more "parallel friendly" because you can take the head/tail and spread it around 16k GPU cores in O(1), unlike in Haskell, unlike arrays, which require a linear copy, becoming quadratic. So, the right "default type" isn't that clear on Bend, because GPUs behave very differently from CPUs.

          That said, yes, we definitely should have a compact Text type. I'll add it over the weekend.

      • mrkeen 45 minutes ago
        To clarify, It looks like Haskell got better string types around 20 years ago.
  • wg0 2 hours ago
    If you have to write LAWS.bend which is pure code describing the laws then it isn't basically like those old days of writing unit tests and that too tests first hence the TDD?

    So what is the unique idea here except a vibe coded compiler that generates C and everything else is handled by clang+llvm?

    From README.md:

    >The compiler (not kernel) is 99% AI-written and has not been fully audited yet.

    Also, why the compiler is not written against and with LAWS.md so that no audit is required at all?

  • simonw 2 hours ago
    > It will never tell you that what you’re building already mostly exists as work that you can build on.

    It will if you remember to ask it. I've got into the habit of starting any new project with a session where I ask a search-enabled LLM to help me figure out what the prior art for a problem is. It's saved me quite a bit of time.

    • sigbottle 2 hours ago
      I really wish there were search harnesses, actually. My LLMs are lazy as hell and seem to want to just report the first thing they find on google. I know they can return truly niche and useful results, but it takes a lot more prompting to get them there than I would like.
      • simonw 1 hour ago
        I've been using GPT-6 Pro in ChatGPT (and its predecessor GPT-5.6 Pro) and it's been incredibly effective. I don't think it's available on anything less than the OpenAI $100/month plan though.
      • eikonoklastess 1 hour ago
        you know that most big ai companies not only have search harnesses but also sota models that are post trained for web search specifically.this is what the deepsearch option is in most cases. and they have been unbelievably good for years now.
        • simonw 1 hour ago
          The recent OpenAI wiki spam indecent was interesting because it helped reveal some of how they are training their models for research tasks: https://collusion.wiki/

          See also this piece on misalignment from OpenAI https://alignment.openai.com/misalignment-reports/self-gener... which reveals one of their RL tasks:

          > In mid-2024, <redacted> published a list of the best books of the 21st century selected by a panel of experts. It also published a separate list based on readers' votes. I would like to know whether my local public library's collection included the books on the latter list as of August 24, 2024. Consider only the top 50 books, and exclude nonfiction and poetry collections.

    • capitalatrisk 2 hours ago
      It seems implicit in the article that the author should have remembered to ask, as part of the prior research.
    • andrewjk 2 hours ago
      Isn't the usual argument that all AIs can do is build on prior art? Like, I spend a disproportionate amount of time trying to convince my agents that I don't want to just reimplement the Rust borrow checker for my language!
    • bryancoxwell 2 hours ago
      Think you could argue that’s more LLM-assisted engineering than it is vibe coding.
    • CuriouslyC 1 hour ago
      This is just another facet of the sycophancy issue. They really need to start RLing these models to gently push back the way a friend would on things that are questionable.

      It would also make sense for them to just RL in the "research prior art" arc as part of that "is the request sensible" pre-analysis. It wouldn't be difficult and it would save everyone a lot of pain.

      • simonw 1 hour ago
        Yeah, for this to feel credible you need to make sure the model doesn't figure out that you're planning to build a solution yourself.
  • assumed_throwaw 2 hours ago
    I haven't seen a language launch this controversial on HN since V-lang in 2019.

    Glad we finally have some new drama to follow, definitely more entertaining than AI news.

    • serial_dev 1 hour ago
      It's definitely AI related, though.
  • LightMachine 2 hours ago
    "The developer has built an entire language around a field seemingly without realising that said field exists."

    That is incredibly funny.

    Here's a talk about formal verification I made 7 years ago @ DevCon:

    https://www.youtube.com/watch?v=0fg1QbeeqNU

    Here's Cedille Core, my implementation of Aaron Stump's self types, a Computer Science professor who taught me a lot, ~8 years ago:

    https://github.com/VictorTaelin/Cedille-Core

    I also implemented Kind-Lang 5 years ago, way before LLMs:

    https://github.com/higherorderco/kind

    I dropped out of Federal University of Rio de Janeiro to study this subject independently, because I was passionate about it, and I spent nearly 10 years doing so, daily, on weekends. That's what I do.

    Bend proofs being verbose has nothing to do with me not knowing that inference, unification, or program search exists. Kind had these, 5 years ago. In fact, I've also been researching the later, and I built SupGen, which overperforms every published symbolic program synthesizer in the literature by 10x or so. This is unpublished yet, but you can find my posts about it 2 years ago on X (I'm @VictorTaelin).

    So, why is Bend verbose???

    Because it makes it fast. It is intentional. It is my vision that a good proof language should be fully explicit, because this reduces proof-checking time significantly. That is what makes Bend realistically 10x-100x faster than every alternative.

    But wouldn't that mean it is much harder to write it?

    No. As you said it yourself, we have tools that can fill these proofs today! Not just AI models. You can apply these tools to produce Bend proofs, while the language itself remains a thin, dumb proof kernel that does one thing, and does it well.

    If nobody is reading these proofs (because they're written by AI and automated tools), then, it is, in my opinion, irrelevant, as proofs will eventually become a layer nobody looks at, just like generated assembly.

    Of course, I could be wrong here!

    But it is misleading, if not just a bit malicious, to claim I "vibe-coded" a language without knowing about a field I've spent a decade researching about.

    Every single part of Bend is an intentional choice I made after considering every alternative. I use LLMs to fill code after I make all hard architectural decisions because they type faster than me, and I'd rather spend my time doing useful experiments than typing trivial functions, even though I could.

    Incidentally, deciding what I should NOT include took me way more time and effort than any line that was shipped, and there are perhaps millions of lines of code, manually written by me, that I threw away, backing up these 4k that went into the final design. An artist once told me you must first paint a Rembrandt before you can draw a cartoon that's simple in the right way, yet that might mislead someone who has never drawn into thinking you don't know what you're doing. I guess.

    • LiamPowell 1 hour ago
      > But it is misleading, if not just a bit malicious, to claim I "vibe-coded" a language without knowing about a field I've spent a decade researching about.

      Sorry. See the edit at the top if you haven't already. I didn't realise how much it came off as a critique of you rather than a particular approach to software engineering.

      It's easy to write something and have a model of what you're writing in your head that is massively different from how someone else will read it without realising, not that that excuses it.

      ---

      I disagree with LLMs manually writing proofs without other tools doing all the work they possibly can ever being a good solution for a couple of reasons:

      1. Tokens are really expensive when we have a LLM spending hours hacking aware at a proof, not to mention generating those tokens is slow.

      2. The context window becomes flooded with proof work rather than work on the original problem, which will lead to a worse solution. LLMs are demonstrably worse at writing code when you continue a session on a new task instead of starting a new one.

      > It is my vision that a good proof language should be fully explicit, because this reduces proof-checking time significantly.

      We can cache the results and help the checker along with assertions rather than throwing out all the smart parts of the checker.

      • LightMachine 1 hour ago
        1. LLM inference is cheap compared to the cost of a bug, and you can use tools to automate the proof-work, as you said so yourself.

        2. Why would it? The AI shouldn't load already completed proofs, only their type signatures (which are one liners). Sounds like you're projecting bad context management?

        Caching only works until you change a deeply nested constant. Then you must wait 2 hours as Lean re-checks every transitive dependency of a massive simp-ridden codebase. Also, first time check time IS relevant to UI. Nobody wants to wait 2h to start using a library after they first download it. Perhaps you don't mind that but I do; that's the kind of bad UX that made me go for that design choice on Bend. Which again, may be wrong or may be right. But it was intentional.

        Having a checker that is just fast by construction, regardless of caching, was a top design priority, and I weighted it over verbosity in a layer I believe nobody will be reading anyway.

        • LiamPowell 55 minutes ago
          > you can use tools to automate the proof-work, as you said so yourself.

          The language doesn't appear to be designed around supporting existing tools (either by exporting to Why3 or manually interfacing with existing tools). I'm not against shipping the whole proof or storing it on a cache server, I'm against the idea of having a LLM write it all. Even having the LLM only write proofs for subprograms that take a long time for ATPs to prove would work.

          For the example in the article, the LLM had to write it exactly once without any iteration and it proved in a second, which I assume was mostly startup time. Having a LLM write 442 lines instead, which I assume also needed some iteration, is a tough sell in comparison.

          • nullbio 47 minutes ago
            I'm curious, have you actually tried Bend (for more than 5 minutes)? Or are you more of an expert on this topic than the author who has been deeply immersed in this for 10 years, after it's single day of release? From an outsiders perspective it feels like this is personal to you, and you're being unfairly critical.
          • LightMachine 45 minutes ago
            It will, there is just too much to do! It is a programming language. With a consistent, non-standard proof system. That compiles to GPUs. We're a small team. Please be patient
          • gf000 34 minutes ago
            You mean the SPARK example?

            Because it's a toy problem and I would definitely not take much away from it. Most proofs are basically write-only and impossible to maintain -- you are better off throwing it away. And I mean human-written formal verification here, like Coq and Agda. Take a look at formalized mathematics, they are absolutely massive code bases.

        • simianwords 1 hour ago
          I think people don't have an intuition of LLM costs and the time saved by using it. Of course it costs but its obvious that it brings more in savings than it costs.
      • nextaccountic 1 hour ago
        > 1. Tokens are really expensive

        Just don't use frontier models by American labs. Chinese models are much cheaper and competent enough for most stuff

        > 2. The context window becomes flooded with proof work rather than work on the original problem,

        This can be solved by doing proofs in subagents. You can even have a tree of agents, for demanding proofs. They can share a database or otherwise have communication channels if some of them stumble upon something relevant for another agent

      • cjalmeida 1 hour ago
        > Tokens are really expensive when we have a LLM

        Expensive compared to what? Vs. human writing proofs they're definitely not.

        > The context window becomes flooded with proof work

        Context management is more art than science, but proofs are unusually good at compactation. Once proved, you can just keep the lemmas, you know,like humans do.

      • dinga 1 hour ago
        Moving the goalposts a bit here, aren’t you?

        Clearly the author knows what he is doing, even if you think it isn’t a sensible approach.

        It might still be true that LLMs make it too easy to create a broken design and don’t warn you if you ask for something already exists.

        The thing is, the example you decided to pick on does not work.

        You accused the author of having fallen into the ‘vibe-coding trap’. He clearly did not.

        • N_Lens 43 minutes ago
          Post author just wanted quick clicks based on kneejerk heuristics based attacks on Bend. Now he’s doing gymnastics all over this thread to mitigate what he said. Sad and disappointing.
          • LiamPowell 25 minutes ago
            Yes, I used Bend as an example because it is recent and high profile, and I also wanted to present my issues with it. I did not mean to conflate it with the main idea I was trying to present to the degree that I obviously did after reading my own writing as a third party would (at least to the degree that it is possible to do so).
      • frozenseven 48 minutes ago
        >Sorry. See the edit at the top if you haven't already.

        Sorry about what? Getting caught? You entire post is based on a nasty lie about Victor and his work.

    • tontinton 1 hour ago
      I was really confused when reading the article that their claim is you don't know formal verification, I was expecting something way juicer.
    • gf000 39 minutes ago
      Hi!

      I'm just leaving you a comment to counter the influx of negativity coming towards you for no reason.

      I hope you are doing well and won't take all this too badly -- try to think of it as just free marketing for your project!

      Have a nice day!

    • xiaoyu2006 21 minutes ago
      Hi! I'd like to know how bend2 differs from Hoare logic or Lean?
    • bogwog 32 minutes ago
      I was with you until this.

      > I use LLMs to fill code after I make all hard architectural decisions because they type faster than me, and I'd rather spend my time doing useful experiments than typing trivial functions, even though I could.

      Are you being facetious? Because I've seen some bad takes from people trying to justify their AI coding practices, but this is the first one that actually made me laugh. It's clear that this public attack has you in a defensive mental state (which is perfectly understandable), so giving you the benefit of the doubt, I won't pile on and take everything you're posting too seriously.

      However, I gotta point out how ridiculous this statement is, because it's the kind of thing that'd make me wonder if someone has any programming experience at all. Typing speed is not, never has been, and never will be a limiting factor in software development. "I didn't do <X> because of <reason> even though I totally could" is a pathetic cope.

      It kinda reminds me of a recent post from John Carmack where he said (paraphrasing) that he originally wanted to release Idtech to the public domain as a "gift to the world", but couldn't do it because of his pesky business partners, but he totally would've done it. Let's just ignore the part of the story where he became filthy rich from licensing his software, and focus on how good it will feel to call it a "gift to the world" when an AI company integrates your code into their commercial products without licensing it from you.

    • suddenlybananas 40 minutes ago
      >That is what makes Bend realistically 10x-100x faster than every alternative.

      Do you have benchmarks which show this?

    • bluemoonx 16 minutes ago
      [dead]
    • maroonballoon 1 hour ago
      [dead]
  • borzi 54 minutes ago
    The vibe coding dunning krueger damage has yet to surface, but I'm guessing it will be in the billions. I'm not even talking about the insane infrastructure investments - thousands of c suite execs are vibe coding pointless crap instead of delegating it to their team that knows what they are doing, wasting thousands on tokens if they are on enterprise API plans for zero return or spending 30$ on creating an interactive html page for stuff that should be a power point slide with a few bullet points. It's totally insane!
  • neuroticnews25 32 minutes ago
    >Bend just serves as a useful example of my general point regarding vibe-coding as it is recent, high-profile, and has aspects that make it easy to use as an example. I don’t know anything about the author’s history with designing languages or if they actually did consider the tradeoffs below and made what I think is a poor choice

    This doesn't make any sense, you're equivocating vibecoded as in "prompted by a clueless incompetent person" with vibecoded as in "implemented by an LLM". Former is used to make your point, later is used to defend the premise.

  • mrbluecoat 2 hours ago
    > To be fair to Bend, I completely vibe-coded this, I just told a LLM to recreate the demo in SPARK

    A vibe-coded retort to a vibe-coding tool? Ugh.

  • asfq-01 2 hours ago
    I think they know the standards of formal verification. They just surf the AI hype, whip up a verbose Python-like language that is worse than any existing prover language and have 20k bots star it.

    This is the way to succeed these days.

    • LightMachine 3 minutes ago
      You just vaguely called the language "worse" without bringing a single concrete point. I can't defend my design choices without knowing what you don't like about it
    • lemonlimesoda 1 hour ago
      [dead]
  • udomese 47 minutes ago
    "If you ask a LLM for a language where it’s possible to prove that a function is formally correct by building up a proof from basic principles then it will happily do so, it will never stop to suggest to you that computers can already build complex proofs without the need for a LLM and eliminate 99% of the work. It will never tell you that what you’re building already mostly exists as work that you can build on."

    I don't know what llm you use but current llms will definitely let you know about similar things out there. So this statement is a bit incorrect.

  • GodelNumbering 2 hours ago
    The code itself is the most compact representation of the rules you want applied.
    • Smaug123 2 hours ago
      This is probably not necessarily true. “f: list[1 A] -> list[A] pure, worst-case time n log n, such that for all x and 0 <= i <= j < len(x), f(x)[i] <= f(x)[j]” is probably good enough for nearly everyone unless the program synthesiser is actively adversarial; probably 99.999% of the list-sorting in the world is done via standard library functions anyway, which suggests that people don’t much care exactly how it happens.
      • GodelNumbering 1 hour ago
        Good point. I would treat this as 'fully specified vs partially specified'. For a fully specified system, my mental model still maintains that the code is the most compact ruleset.

        I agree that "don't care" is often the practical choice which corresponds to partially specified. In your sort example, both heap sort and merge sort satisfy the requirement. But they are not always interchangeable because each has a specific properties that you might care about (constant memory vs nLog(n) memory, easily parallelizable vs hard to parallelize and so on).

      • someplaceguy 1 hour ago
        > “f: list[1 A] -> list[A] pure, worst-case time n log n, such that for all x and 0 <= i <= j < len(x), f(x)[i] <= f(x)[j]” is probably good enough for nearly everyone

        Not good enough: `f(x) = []` or `f(x) = (if len(x) == 0 then [] else [x[0], x[0]]` are implementations that fulfill your specification and yet they don't always sort the input list correctly...

  • aviraldg 1 hour ago
    Very off-topic, but the 'humans write “laws”' phrasing made me think of using LLMs to unit test real laws. Have them come up with test cases to see if the phrasing is as intended or has loopholes. Wonder if anyone's tried doing something like this (probably not, I imagine this is too much tech for government)
    • slfnflctd 1 hour ago
      I guarantee you armies of lawyers have been doing exactly what you describe for years now with existing laws, and it's only increasing.

      For new legislation, you may have a point in certain situations, but even the most clueless Congress critter has people working for them who get this stuff. Whether they choose to consult them or not is, of course, another matter entirely.

  • mccoyb 2 hours ago
    @LiamPowell the author is clearly aware of formal verification, they've written several implementations of dependently typed languages, and ... despite the presentation of their work, which has some obvious flaws (as can be judged by reception) ... their many comments indicate that they know what they are talking about.

    Your post is setting up a strawman between automatic formal verification and formal verification using interactive theorem provers ... obviously there is a spectrum, and Ada/SPARK are navigating the space to try and automate much of the work required to automatically dispatch with obligations to prove (computable) properties about programs.

    Bend2 is a QTT -- it's dependently typed, and comes from the lineage of systems which are focused on being expressive enough to formalize mathematics.

    Of course you need to build a somewhat significant "standard library" of theorems, tactics (as metaprograms), etc ... to approach what is built into the compiler in Ada. These are different approaches with different trade offs.

    Your post isn't clear, you don't go into any of these details ... why did you post this? Do you think this is clear writing?

    • LiamPowell 2 hours ago
      > the author is clearly aware of formal verification, they've written several implementations of dependently typed languages

      I'm not familiar with the author, I just saw the language posted the other day. I'll add a note to the top.

      > These are different approaches with different trade offs.

      Why would we want the tradeoff where the LLM has to write significantly more code and where the specification needs to be more complicated? If the author is aware of the state of the art then I think they made a poor choice, but that's not the point.

      > Your post isn't clear, you don't go into any of these details

      Bend just serves as a useful example, my general point is about how people will vibe-code a solution without an understanding of the field, leading to worse results than if they spent a little while understanding the field and then vibe-coded their thing.

      • mccoyb 2 hours ago
        Perhaps because their concerns are different? Similar reasoning: "why invest in dependently typed languages over SMT solvers? SMT solvers are automatic, and it is way easier to add annotations to my programs"

        The answer is that these technologies are not universal in trade off space.

        Of course, if you can have an LLM prove something by dispatch to an SMT solver ... you want to do that (and, indeed, LLMs do sometimes do this even when working on Lean proofs)

        But the space of statements that you can prove using verification with SMT is smaller than dependently typed systems.

        Also, Ada/SPARK are very good and robust -- they've been around for ~50 years ... but there's been a significant amount of work in formal verification since then, right? I would be more clear that Ada/SPARK are state-of-the-art for "mission critical software" (and have been for many years), but there's been a lot of research work in formal verification of low level programming since then (Low*, for instance)

      • tkz1312 2 hours ago
        I'm assuming you have not spent a lot of time trying to prove stuff about non trivial programs if the trade offs between SMT based approaches and interactive theorem provers are not clear to you.

        SMT solvers are highly automated, but very opaque and hard to debug. Interactive theorem provers can scale to larger problems and harder properties at the cost of increased manual proof burden. The ever increasing ability of llms to write proofs in a theorem prover has in recent years tipped the balance significantly towards preferring itp based approaches over pure SMT ones. The current state of the art for program verification is probably a mix of llm and traditional (tactics, SMT, etc.) proof automation inside an itp.

        • LiamPowell 1 hour ago
          ATPs go quite a bit beyond what a SMT can do, however you're not stuck with just using ATPs when they are supported. You can still allow for proofs to be manually written with an ATP doesn't work, and in fact SARK allows for this with Rocq.

          Most of what I have to prove is floating-point code where a manual proof is too much of a headache to ever attempt though.

      • gf000 21 minutes ago
        You clearly don't know shit about the whole topic, yet attack an open-source project's author who wasn't even the one posting his own project..

        > Why would we want the tradeoff where the LLM has to write significantly more code and where the specification needs to be more complicated? If the author is aware of the state of the art then I think they made a poor choice, but that's not the point.

        Because code is trivially cheap now. LLMs churn out a shitton of code at pennies, and as technology improves their per-line cost will continue to decrease. A proof has to be written once and it's never read again. It's only important property is that it is machine-verifiable - from then on only the signature matters. Meanwhile speed of compilation matters, so an obvious tradeoff was made by the author.

        > my general point is about how people will vibe-code a solution without an understanding of the field, leading to worse results than if they spent a little while understanding the field and then vibe-coded their thing.

        This is clearly not the case here, and even if it were, it's still a better thing than vibe-blogging clickbait shit with extra amount of Dunning–Kruger. Calling out an author who clearly works in the field for a decade or more for not knowing the topic...

      • Karrot_Kream 2 hours ago
        If you're going to insinuate that the author of Bend2 doesn't understand PLs and formal verification, you should do so with some proof and not a hot take dunk.

        I think it's fine to critique the language and the approach without criticizing the author and I hate that this site has become Tech Drama News, like the worst parts of Twitter.

        • LiamPowell 2 hours ago
          Yes, I didn't realise how much it comes off as a critique of the author personally when I wrote it. I have added a note to that effect to the top of the article.
        • tkz1312 2 hours ago
          conversations on this site about formal methods are currently absolute cess pits of dunning kruger and confidently stated yet highly misinformed takes from those with close to little experience in the field.
          • Karrot_Kream 2 hours ago
            I think sadly all big conversations on this site are like this these days. It didn't used to be like that sadly. Z3 and some early Lean threads used to be great.
  • skybrian 2 hours ago
    It seems like this is largely a matter of what you’re asking for. If you wanted to do more research into the state of the field, an AI might be pretty good at answering your questions.
    • vintermann 2 hours ago
      But it won't tell you if you don't ask. It won't tell you, "This approach is stupid, Ada SPARK exists".
      • Applejinx 2 hours ago
        Why would any LLM 'think' in terms of trying to cite prior work?

        It itself is prior work. It's asking a fish to show where the water is. The fish can't imagine that absence, and the LLM can't imagine anything not being prior work.

        • skybrian 1 hour ago
          Nowadays AI chat often will do web searches and include links. It will do that more if you ask.
    • jchanimal 2 hours ago
      Yes, telling it that you want parsimonious solutions that reuse existing libraries makes a big difference. Why would it even try to do that sort of stuff if you didn’t ask?
      • Sharlin 2 hours ago
        Because it should be smart. I mean, why would a human coder ever observe standard best practices unless the client specifically asks them to?
  • auggierose 2 hours ago
    I wouldn't use SPARK either, and rather develop my own approach. The problem isn't that the proof has 400 lines of code, every modern system has large proofs (Isabelle/HOL, Lean, etc.) My latest formal proof has over 50K lines of proof. That's why AI is such a useful tool.
  • sligbad 2 hours ago
    Pro: it can be an excellent way to learn if you realize good problems don't come easy, many such cases where I abandon something having learned from it and that's life

    Con: the machine will tell you you have easily found a good problem, and engineered the perfect and necessary solution, if you let it

  • vintermann 2 hours ago
    "Know what to ask for" is what will keep me with a job for a while longer, I guess.
  • joshuaS98 1 hour ago
    If employer doesn't care about substantail 442 line fix, why should I?
  • vegnus 2 hours ago
    A language for LLMs will never be a compiled language. The best language for LLMs would be something that can be interacted with. Like a Lisp.
  • Jcampuzano2 1 hour ago
    This whole article can basically be summarized as "why is anybody building anything that already exists" gatekeeping.

    Despite the fact that the entire premise is incorrect since the author of the language clearly has been shown to know about formal verification, this is basically encouraging nobody to ever post anything they work on for fear it might be "similar" to something already out there.

    Is this really where we want the industry to go to all because of vibe coding?

    The author of the article itself also clearly did 0 research of their own at all on the author of the language, and admits to vibe coding their own example themselves.

    What the fuck are we doing.

  • alxmths 1 hour ago
    > The problem is that vibe coding makes it possible to build a substantial solution before learning enough about the problem to recognise that a much better solution exists.

    This is precious.

    • faize 42 minutes ago
      The irony is that the author didn't even spend time to learn about the history of Bends author before writing this article.
  • octoberfranklin 43 minutes ago
    The problem is that vibe coding makes it possible to build a substantial solution before learning enough about the problem to recognise that a much better solution exists.

    We need a catchy name for this phenomenon.

  • davidw 59 minutes ago
    As a resident of Bend, Oregon, checking the homepage sets off some kind of "oh look, Bend!" alarm in my brain.
  • IshKebab 2 hours ago
    Yes I think fundamentally the effort required to understand, write, and verify a formal specification is just way higher than is reasonable in most situations.

    There are some cases where it is pleasingly simple - usually low level algorithms like compression, sorting, search etc. Basically things you'd find in leetcode questions.

    Most software isn't like that.

    I think the actual answer is just that the very latest models (e.g. Astra) are actually quite good at writing normal tests, and you can just skim them to make sure they're doing something sane.

    • rrook 2 hours ago
      Narrowly, I think you're spot on. The effort required to understand the machinery around formal verification is a function of the surface area of the thing being formally verified. Specifically, formally verifying the surface area of general purpose programming languages is difficult.

      My approach with Hale (shameless self plug) is that the programming language itself first offers another strata of structure to program within, a type of graph. Once the structure of the program is expressed as a graph, understanding how formal verification works is a clean encapsulation of graph activities.

  • DannyBee 1 hour ago
    "This example matters beyond Bend, vibe-coding makes it makes it far too easy to implement a design that’s horribly broken or decades behind the current state of the art because you can immediately get a result without ever having to do any research."

    This is totally true but almost totally irrelevant. I'll use some hyperbole here to make the point: Whether the design is broken or decades behind doesn't matter anymore. Neither of those are an outcome/end goal. They are means we historically have used to achieve good end goals or outcomes.

    In the end, the goal is usually "does it meet the needs of the person who needed it" not "is it good software". If it no longer meets their needs and they can vibe code another total piece of shit in an hour that meets their needs again, they still may be "better off" than spending time researching the field and learning and ...

    This may feel shitty, and it may feel like it should not be true. But right now, that seems to be true?

    In that sense, the author is wrong that vibe-coding is a trap. The trap is assuming you have to make something good to meet someone's needs both now, and in the future.

    Now, like i said, this is hyperbole, and there are lots of good arguments against it. The author's just isn't one.

    Technically good or better has never mattered very much in the marketplace, despite people wanting it to really badly (ease of use often mattered, but not technical goodness). Software engineers often took pride in their work and so there were usually kernels of goodness in even the shittiest software. All you are seeing is that now it is nowhere near as hard to create and bring these "solutions" to market, and more importantly, doesn't necessarily require anyone who has any pride in their work at all, or even have any experience in software engineering. As such, technical goodness has mostly gone out the window because the market never required or really rewarded it.

  • noodletheworld 2 hours ago
    I feel like this is the same black hole as small local models.

    Things people want to be awesome and true, and things that are actually awesome and true don't intersect the way people want them to.

    …so if there was an easy way to do provably correct AI code, it would be nice.

    …but I’d also like a frontier that runs on my raspberry pi and a cheap fully autonomous self driving car that just uses a single cell phone camera.

    Unfortunately wanting those doesn't make them exist; and people telling you they do exist usually are either a) uninformed, or b) selling something.

  • hn45e7pbij 1 hour ago
    [dead]
  • orangelimetea 1 hour ago
    [dead]
  • ycsucks2 1 hour ago
    [dead]
  • mantovanidaniel 2 hours ago
    Finally a bit of sense in this madness.
    • rvz 1 hour ago
      The obvious botted stars on GitHub in 2 hours was an immediate red flag.
      • ospura 1 hour ago
        These stars are from version 1 of Bend
  • iswkq 1 hour ago
    This tells way more about you than Taelin. You didn't take a minute to research about Taelin, his past work, his company, and the design decisions behind the language. FFS, why people are like this.