Unofficial Hacker News companion — get notified on comment replies, and more.

Laravel for COBOL (opens external site)

289 points by choult 3 hours ago github.com 101 comments (opens Hacker News) Vote (opens Hacker News)

Comments (101)

  1. > You focus on your ideas. Your agent focuses on the implementation. Someone else can focus on maintaining it.

    I love it.

    Replies (2)
    1. > Understanding the codebase - Not on the roadmap
      Replies (2)
      1. "We believe that developers should never be limited by their choice of programming language, their understanding of the underlying technology, or the long-term maintainability of their applications."
        Replies (1)
        1. You laugh, but somewhere someone unironically thinks like that.
      2. I started my career as OPS engineer supporting a COBOL application on IBM mainframe.

        Just by reading the code it was trivial to figure out 90% of what a program did. The weird “grammar” and surrounding tooling, middleware, OS and hardware made it so that you needed 20 overpaid dinosaurs telling campfire tales from the trenches of yore for the other 10%.

        Replies (1)
        1. And of course, understanding the problem domain...
    2. to be fair the agent will be doing half of the idea work. and the maintenance
  2. wow. I guess it's poetic for T. Otwell's creation to come full circle back to Cobol.
  3. The CLI for it is called "cobtisan" ... should have called it "cobbler" and written it in JCL.
  4. waiting patiently for Laravel for fortran and then Laravel for assembly
    Replies (2)
    1. Bear in mind that COBOL and Fortran 77 have incompatible 80 column punch card layouts.
      Replies (2)
      1. Laravel for punch cards would be a massively missed April fools opportunity next year!
        Replies (2)
        1. to far in the future, there will be no internet by then (extrapolating from the crypto fearmongering over the last few days)
        2. How about Rails instead?

          https://punchcard.lol/

          Replies (1)
          1. Laravel on actual rails!
      2. They do agree on columns 73 to 80. Both compilers ignore them.
        Replies (1)
        1. Column 7 will pose real issues.

          Also, there was a story of red string taped to a CRT to mark off column 54, because some COBOL environments silently dropped code in columns 54 through 72.

          Best `colorcolumn` setting I ever added to `.vimrc`

    2. Replies (3)
      1. Oh hey its my repo!

        This has really grown legs lol

      2. Lunar landings per framework... I died.
      3. Ah, there's some backstory here. So, Laravel published official Rust/Go versions (?!) and community answered with equally ridiculous "Laravel for X" implementations.
        Replies (1)
        1. Better ones are stuff like Laravel for Ruby.
  5. After Ruby on Rails broke onto the scene there was no end of rewrites and similar projects like Coldfusion on Wheels and Cobol on Cogs.

    This feels similar :)

  6. COBOL's last gleaming
  7. can we be serious for a minute?
    Replies (2)
    1. Sir, it’s HN…
    2. Okay, but only for a minute.
  8. Why would you ever choose PHP these days? It’s never been the most performant, secure, ergonomic, or flexible.
    Replies (5)
    1. Pretty sure they were saying the same thing about COBOL 30 years ago.
    2. Flexible? What do you find not flexible with php? You can extend the language however you want.
      Replies (1)
      1. Even to add security.
    3. Because you have a team that's experienced with it and everything else the company has is also php. The same reason as with everything really
      Replies (1)
      1. or the rails web studio got outbid by a bottom feeding php/laravel studio by a very wide margin and your boss went with it no matter how hard you resisted!
    4. Are you familiar with "Worse is Better"? https://en.wikipedia.org/wiki/Worse_is_better
      Replies (1)
      1. In a young industry with shifting standards, I'd agree, but nobody is hacking together sites on the fly anymore. If time really is the most important factor, then you'd just vibe code it and at that point, why pick Laravel?
        Replies (1)
        1. Your initial comment was asking about PHP, which I think follows the "Worse is Better" model much better. Laravel is an obvious successor to Rails and is a great toolset for rapid development and stands shoulder to shoulder with Rails or any other web development framework.

          But I don't understand what you mean about "young industry". Web dev is constantly evolving and no one has been hacking together sites on the fly in decades. Tools like Rails and Laravel exist because they provide really sensible defaults and great tools for routing, API, and give a decent MVC implementation out of the box. These building blocks help humans and agents to work at a level of abstraction that helps regardless of who's doing the work.

          But Laravel is not really that much different to any other framework other than being dead easy to deploy (thanks, PHP) and probably one of the most popular which makes it an easy target for critique and satire.

    5. Considering PHP is written in C ... it's actually quite performant. It's the frameworks and abstractions that make it quite slow.
  9. Should've called it Caravel.
    Replies (1)
    1. Niña, the router

      Pinta, the session manager

      Santa Maria , the active record

  10. finialy some real memory safe computer language. not those hipster bs like rust
    Replies (1)
    1. Hipster Rust? Rust is so 2022.
  11. "Can it implement laravel?" is the new "Can it run doom?"
  12. Do FORTRAN next!
    Replies (1)
    1. https://github.com/wearetherobots/laravel-fortran

      :D

      There’s also a TI-83 version. I don’t know whoever did this but they are absolute heroes.

      Replies (2)
      1. Laravel Forth: "Full-stack development. Literally."
      2. Finally we have covered both COBOL and Fortran 77 punch cards.
  13. We need Laravel for Brainfuck - I can't understand why this wasn't the first port.
    Replies (3)
    1. Replies (1)
      1. Ask and ye shall receive!
        Replies (1)
        1. i hope that it is through this kind of tinkering that we eventually discover that LLMs are unexpectedly good at maintaining dense, unreadable codebases better than those optimized for human consumption, permanently bifurcating LLM-owned codebases from human-owned ones and becoming oracles that divine structure & intent from the underlying gobbledygook.
          Replies (1)
          1. Dunno, all Claude does is pepper my code with Uncle Bobisms and things only Clean Architecture zealots would deem acceptable. Maybe this is Anthropic trying to stay relevant - produce code only their brainfucked agents understand?
    2. we need to understand that all languages are obsolete now, and the new assembly for agents is yet to arrive.
    3. I'm bit surprised that Laravel for INTERCAL wasn't yet suggested. Not that I'd be looking to use it if someone did it.

      https://en.wikipedia.org/wiki/INTERCAL

      Replies (1)
      1. The programmer was insufficiently polite.
  14. I started off in IT maintaining a legacy cobol system and had to modernize it. This is traumatizing but really funny too
  15. Feels like a parody of the latest Laravel Rust/Go releases.

    I thought these were very cool :)

  16. Finally, web development made fun again. Although, I'm more of a COBOL-on-Wheelchair guy myself.
  17. When are they porting it to Ruby?
    Replies (1)
    1. We need a vibe coded COBOL environment in Ruby for porting Laravel COBOL.
  18. Anything that detracts from taylor getting a new lambo, i'm on board with.
  19. OMG, Laravel ports are getting out of hands
  20. I've been waiting 20 years for this project. It has finally arrived!
    Replies (1)
    1. Only 20? More like 65.
  21. I'm guessing PHP has overtaken Ruby as this is not satirically called "COBOL on Rails"
    Replies (1)
    1. There was a COBOL on Cogs. http://www.coboloncogs.org/INDEX.HTM
  22. honey, where is my AS400
  23. Looking forward to either Laravel for Doom or Doom for Laravel, whichever comes first
  24. This must be a peak troll response to https://news.ycombinator.com/item?id=50733083
    Replies (1)
    1. But the troll is transaction safe.
  25. What a troll!
  26. Not sure if this is a joke or serious...

    But I kind of agree with Taylor Otwell's tweet "languages are becoming an implementation detail" [1].

    I see the big winners for this new era AI coders, vibe-coders, non-devs, whatever, will be integrated platforms.

    Like basically I am looking at it like:

    - System Prompt : Laravel :: Skills : Laravel Cloud

    Not sure if that's what he meant, but it seems to make sense people will just point a bot somewhere and keep it all safely contained in one spot (with smart opinionated convention).

    Just not sweat the small details and then let it actually build the app as Laravel minded folks would just with your requirements.

    [1]: https://x.com/taylorotwell/status/2127833915755000011

    Replies (3)
    1. From the top of the README:

      > Laravel for COBOL is an unofficial, satirical project.

    2. Laravel is a confusing bunch of sub projects.

      But they do try to help the AI programer use it.

      https://laravel.com/php/ai/boost

      I’m not sure how much this custom mcp server helps, but it probably can’t hurt.

      Replies (1)
      1. > Laravel is a confusing bunch of sub projects

        Skill issue. You have the framework and then in the footer of the website you see other parts of the ecosystem, the end.

    3. If you can't tell if this is serious you are the target of the satire.
      Replies (1)
      1. Should have clicked but transpiling via Opus/Fable makes this barely satire
  27. > Terminal

    > Any. IBM 3270 for the authentic experience

    Lies, it does not support 3270 data streams, just a protocol (?) intended for hypertext (???)

  28. I was actually betting on Laravel Lean...
    Replies (2)
    1. Proof or it didn't happen...
    2. [delayed]
  29. Laravel seems to be the joke of the week.
    Replies (1)
    1. With NPM hitting one trillion monthly downloads we need Laravel for JS. (Then with a Javascript run-time shoehorned into Ruby, we can have Laravel for JS for Ruby.)
  30. It's no Caché Server Pages[0], but I see a promising future.

    [0] MUMPS web framework

  31. I just need to point out that I totally called it yesterday!

    https://x.com/donatj/status/2128197876962722179

  32. Coding Agents Can Develop COBOL Systems: Evidence from a Human-Guided Multi-Case Study https://inria.hal.science/hal-05743207/
  33. Did they patch the Y2K bug in this version?
  34. Love this satire. Laravel for COBOL is completely ridiculous, and yet only slightly more absurd than Laravel for Rust or Go. What is next? Laravel for VB.Net WebForms?
  35. Almost clean.. I feel all confused.
  36. Let’s not forget we already have COBOL on Wheelchair

    https://github.com/azac/cobol-on-wheelchair

  37. I can't remember ever particularly laughing about anything on HN, especially simply reading a headline, but this got me.
    Replies (2)
    1. This says more about the types, scale, and purposes of the systems you have worked with more than anything else. COBOL professionals will be eating well for years to come my friend.
      Replies (3)
      1. I'm not laughing about COBOL. I own several S/370 through z114 mainframes.
        Replies (1)
        1. You own mainframes??? May I ask what you do with them?
          Replies (1)
          1. Computer collection for historical research and preservation
      2. Pretty sure they’re laughing at the juxtaposition of Laravel and COBOL.
      3. But how many of those COBOL professionals are COBOL+Laravel professionals?!
    2. Maybe this can get another laugh for you...

      COBOL DotNET:

      https://marketplace.visualstudio.com/items?itemName=GTSoftwa...

  38. Didn't they just announce this for Rust?
    Replies (1)
    1. and then the day after there was a beta port for golang.
  39. Coming up next: Laravel m4.
  40. now do python and c++