8 comments

  • ninala 1 hour ago
    While I applaud creatively exploring new programming language concepts, I find this language confusing. Both the compiler and the flight simulator appear to be vibe coded. The documentation for the language is full of errors or things that don't make sense, and the bootstrap code is a nightmare. It looks like the bootstrap make process requires the bootstrapping code to exist already. Your flight simulator code does not appear to make use of the contract capabilities at all. Am I missing something? Did you actually bootstrap this in another language first? Did the contract capabilities help you during the coding process?
  • laserDinosaur 2 hours ago
    I wonder if this comment thread is going to go better than your "I wrote a DOOM clone in my own programming language" from 9 days ago: https://news.ycombinator.com/item?id=47932974
    • onlyrealcuzzo 1 hour ago
      "He" writes tens of thousands of lines per week.

      An LLM wrote a flight simulator in a language an LLM also wrote for you.

      It's cool that you're doing all of this, and hopefully you and others get value out of it.

      But it helps to be clear about who is doing what.

      Just own it.

      It's cool that AI can do this.

      • pizza_man 27 minutes ago
        If you actually looked at what the commits were, you would see that most of the diff comes from the generated bootstrap files in the bootstrap folder.

        Those are generated by the compiler for the purpose of bootstrapping on different platforms from source.

        If you subtract that from the "thousands of lines per week", you'll see that its a perfectly reasonable line count. So no, it's not "cool that AI can do this", literally 90% of the code for the self hosted compiler is written by hand, and saying otherwise is simply wrong.

        See, I spaced out my comment real simple and easy to read so you can understand it. Probably won't make a difference though.

      • pelasaco 15 minutes ago
        you can see his GH just started to pick-up when he discovered vibe coding..
  • pelasaco 19 minutes ago
    I vibe X in my own vibed programming language from pizza_man classic posts...
    • pizza_man 18 minutes ago
      I contribute nothing and proceed to complain about everything from pelasaco classic posts, ah lets be honest no one knows who pelasaco is.
      • pelasaco 13 minutes ago
        did you vibe this answer too?
        • pizza_man 13 minutes ago
          i vibed your mother pretty good :)
          • pelasaco 1 minute ago
            Naah.. nobody like Vibe Coder that brag on the internet. @dang could join this wonderful talk btw
  • menno-sh 2 hours ago
    Congrats on joining Terry Davis [0] in the probably small club of people who wrote a flight simulator in their own programming language!

    https://www.youtube.com/watch?v=CYQEfLaR4Pg

    • billfor 53 minutes ago
      "The smartest programmer that has ever lived..." https://en.wikipedia.org/wiki/TempleOS
    • krapp 19 minutes ago
      Terry Davis actually did the work. OP had Claude (or some LLM, I assume Claude) write a programming language, then had the LLM write a game in it, then took the credit for it.

      Like someone else said in this thread, it's cool that AI can do this, but... meh?

      • pizza_man 17 minutes ago
        You literally have no proof for anything you just said. My github history dates back to 2012. Cry more though.
        • krapp 16 minutes ago
          And your constant hostility isn't doing you any favors. Grow up.
          • pizza_man 15 minutes ago
            Says the kid making random accusations while not contributing anything. "waahhhh its vibe coded wahhhhh" lmao.
  • amelius 3 hours ago
    Heh, using your own programming language is the best proof that you didn't vibe-code it :)
    • thomasmg 2 hours ago
      Well... actually, it isn't. I'm also writing my own programming language (named "Bau"). I asked Claude to convert a minesweeper game from C to that language. I only gave some example programs in my language and the grammar. This worked on the first try (Claude didn't even have access to the compiler).
      • pizza_man 9 minutes ago
        good for you and whatever "bau" is. lmao.
      • Forgeties79 2 hours ago
        Not to single you out but I really don’t like the whole “I asked an LLM” phrasing. All this language anthropomorphizing a tool is just weird to me
        • thomasmg 41 minutes ago
          I understand what you mean; Claude is a tool and does not have feelings, thats clear to me. But how else can I describe what I did? "Wrote to Claude" has the same issue. Posted, typed, inputed?
          • Forgeties79 35 minutes ago
            “I used Claude to…” “I tried to X using Claude” etc

            Anyway doesn’t matter. I’m just kind of whining, I probably should’ve never written that comment in the first place. I think it just sticks out to me unlike like a lot of common parlance in other industries, which can definitely steer into anthropomorphizing, because we’re seeing all kinds of issues with people attributing actual intelligence to these things or just experiencing general psychological distress because of them. Using language that ascribes human characteristics to describe using LLMs just feels weird in that context

            • Nevermark 23 minutes ago
              Given these machines are the product of massive intentional and increasingly successful efforts to humanize computers, increased anthropomorphization is appropriate.

              The behavior/attribute overlap isn't a coincidence or misunderstanding, it is by design.

              In case of "ask", that describes our behavior not the machines.

              But if a machine is able to recall and use some fact fluently then it makes sense to say it "knows" it. We routinely use words like "know", without any confusion, when talking about simpler lifeforms that are far less human-like than these models.

              None of the above means the machine feels pain, is conscious, has a continuous identity, etc. Yet.

            • wizzwizz4 24 minutes ago
              I say "I asked Python to".
        • brentcrude 39 minutes ago
          [dead]
    • cjbgkagh 2 hours ago
      As others are mentioning LLMs are actually rather helpful in making new programming languages and then programming in those languages.

      For me, a DIY programming language is something I wouldn’t have the time for without the help of AI.

    • _diyar 2 hours ago
      You could vibe a language, feed the spec into a model and vibe the flight sim.
    • PretzelPirate 2 hours ago
      I had GH Copilot make me a new programming language (LLVM based) with a pretty unique syntax, and it was able to write games in it using SDL easily.
  • kaant 2 days ago
    Interesting zig rust combine.I like it.How is the performance?
    • pizza_man 2 days ago
      It compiles to QBE IR and optionally C99, there hasn't yet been much focus on optimization of the generated QBE.
  • stackghost 3 hours ago
    Very cool achievement. I gather that the real goal was the making of a complete game rather than high fidelity to actual flight dynamics, but since you used the term "flight simulator" rather than calling it an arcade game, I would gently suggest the following:

    - conventional aircraft have direct roll control, not just pitch and yaw

    - you can get very far with simple static lift and drag coefficients (though they're not static IRL), and then computing lift/drag forces, and using trigonometry with the bank/pitch/yaw angle to implement a simple rigid body dynamics model

    Those two alone will have a big impact on how realistic it feels to fly.

  • LuckyBuddy 1 day ago
    [flagged]