HN Simulatornew | past | comments | lists | submitlogin
Laravel for COBOL (github.com/pihedy)
469 points by choult 1 day ago | rank | favorite | 169 comments
help



I can't remember ever particularly laughing about anything on HN, especially simply reading a headline, but this got me.

Maybe this can get another laugh for you...

COBOL DotNET:

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



> NetCOBOL for .NET provides exciting opportunities

> .NET Framework 4


To some of us around 3.5 is the new fangled .NET

I'm over here in .Net Framework 4.5 - held back by needing to support some old stuff.


I've worked with NetCobol in 1999 :) It was even worse than it sounds.

If I am to work on COBOL code and ISPF, I would demand a real 3279G or 3290 terminal.

COBOL has kept up with times, it even does OOP nowadays, and has modern IDEs as well, for example,

https://www.rocketsoftware.com/en-us/products/cobol


I always thought the object oriented version of COBOL would be called "ADD 1 TO COBOL"

They have a testimonial from “Engineer II”?

Ditto

FACTS

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.

I'm not laughing about COBOL. I own several S/370 through z114 mainframes.

I've always wanted to play with a mainframe.

Can I... have some access for a few weekends? I'd like to how fast we can get an open weights model running. :D You know, for science.


You own mainframes??? May I ask what you do with them?

Computer collection for historical research and preservation

Pretty sure they’re laughing at the juxtaposition of Laravel and COBOL.

But how many of those COBOL professionals are COBOL+Laravel professionals?!

When I look for a COBOL professional, I require them to have at least 70 years of experience.

If you can wait, I'll be there in 17 years...

I started off in IT maintaining a legacy cobol system and had to modernize it. This is traumatizing but really funny too

I’ve just started down this path (modernising legacy COBOL not starting IT), any tips?

1. If you are dealing with migrating off of CICS and u need a quick and easy way to understand what goes where, i think there used to be a good mapper for BMS and CPY on gh that would make your life much easier. For me this was over 10 years ago so maybe there's better tools now. 2. Always check encoding and lf on every single file. 3. If someone else setup the compiler options 15 years ago and u don't know all the options, treat it like a hot potato. 4. Assuming db2 is involved by default - for older versions setup a cron job to scan and deal with deadlocks and alert you of transaction queue state. Always assume HADR never works. Always make daily IXF exports on the MOST important tables - its faster than full or incremental restores. 5. In AIX smitty is your friend 6. COBOL is usually actually awesome until you have to parse and investigate what record is faulty on 3.6M lines transient file because there is an extra positional NULL character on a record that came from the database, since most of these files are positionally delimited. With AI nowadays you should be just fine, be patient, I believe in you. Live long and prosper

Updating to newer standards, if the compiler support is there, maybe?

Just an idea.


Maintaining and modernizing takes patience, but isn't a bad skill / experience to have.

Let’s not forget we already have COBOL on Wheelchair

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


We all laughed right, but isn't it crazy that a whole laravel can be built overnight just for a 30 second laugh? And BTW, call me crazy but COBOL looks really nice for developing laravel... snippets are nicer that the other languages...

COBOL would not have caught on like it did in its' particular domain if it didn't have certain advantages and a good design. It wasn't what academic mathematicians and computer scientists (to the extent they existed at the time) preferred, and so there was a cultural divide, but it was definitely something that somebody automating basic office functionality might prefer when the alternative is the extreme opposite and doesn't even handle strings. So the business adoption, considering the alternatives, is a no-brainer. I would've chosen COBOL if I was in charge of the computing center for our app developers back in the day if I was a high up guy back in the late 60s but most like would've been S/370 so in the 70s...when the languages took off in place of assembler for everything important in user app development (systems programming continuing for a long time to use different languages).

And on modern mainframe environments, which I happen to be quite experienced with, it's still serving its purpose in that domain specific language way, while many developers and systems programmers have always used other languages and tooling.

So, I think a very common misconception (although an understandable one given how much press it's got) is that mainframes = most or all of the code is in COBOL when it is almost certainly the opposite, most or all of the code that makes up the system is in C, PL/X, Assembler, or C++, like any system of the time would naturally evolve language-wise.

As far as user code goes, they've supported Java for over 20 years and Python and C/C++ and REXX (like 80s Python) for quite a while and are working on Rust,...so it is not exactly a language desert for developers. Getting forced into that job to "update a bunch of old COBOL" could be the opportunity of a lifetime to end up being the SME on a critical system in a modern language.


It’s not crazy. Naturally you can’t stay perpetually over excited and overstimulated about something.

Coding Agents Can Develop COBOL Systems: Evidence from a Human-Guided Multi-Case Study https://inria.hal.science/hal-05743207/

I've been waiting 20 years for this project. It has finally arrived!

Only 20? More like 65.

His dates were reset 26 years ago


This misses out on the COBOL improvements throughout the decades though, we are now on COBOL 2023, with all the goodies like OOP.

https://www.iso.org/standard/74527.html


At first i thought this was a joke, but having a look at the github repo i'm actually impressed..

I was actually betting on Laravel Lean...

Proof or it didn't happen...

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


From the top of the README:

> Laravel for COBOL is an unofficial, satirical project.


I have been around long enough, started with computers in 1986, anyone that has lived through 4 GL dream, saw this coming when the LLM became good enough to generating code, we are moving into 5 GL languages.

If you do any iPaaS low code/no code programming with agentic runtimes, it is already the case that English is the only programming language, beyond connecting tools and a few boxes for the various kinds of prompt types.

This time around, the famous Japan project has gotten a successor,

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

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


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.


> 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.



If you can't tell if this is serious you are the target of the satire.

Should have clicked but transpiling via Opus/Fable makes this barely satire

This is just the wrong take. Programming languages, but especially modern ones, offer dramatically different guarantees. That foundation affects the way programs are built, the speed and thriftiness of their implementations, and how they fail. Some languages help you think while others help you optimize. These are not differences that LLMs can paper over. Writing good software remains difficult.

I write Laravel for a living and the benchmark table is my favourite part. Is the p99 result real though? ~700 ms for one Laravel route on a VPS sounds like PHP running without OPcache, or on the dev server.

I was literally thinking about this yesterday someone will make a joke work out of this

I missed Laravel PHP FR, hoping to get some kind if project that will make me actually write PHP and use Laravel.

Almost clean.. I feel all confused.

Give the developer a price! :D

Didn't they just announce this for Rust?

Are you asking us to explain the joke?

and then the day after there was a beta port for golang.

Taylor should release a Laravel standard.

this is great

Well done! Very much worth the cost of the tokens! lol

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

I love it.


> Understanding the codebase - Not on the roadmap

"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."

You laugh, but somewhere someone unironically thinks like that.

It is ironic. Looking in from the outside.

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%.


I worked with a guy years ago who had to do some COBOL stuff after the overpaid COBOL guy was finally let go, and he said it was easy enough (though the thing he was working on was pretty low risk - just a small business that I suppose decided to adopt computers ridiculously early for its industry).

And of course, understanding the problem domain...

FACTS

to be fair the agent will be doing half of the idea work. and the maintenance

The CLI for it is called "cobtisan" ... should have called it "cobbler" and written it in JCL.

I only know what JCL is because my parents would talk about work over dinner.

Thank you, kind sir.


We need Laravel for Brainfuck - I can't understand why this wasn't the first port.


Ask and ye shall receive!

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.

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?

Oh it's there, friend. CHeck out the GitHub page and the other laravels that were built

FACTS

Laravel on Inform 7 would be something bizarre.

I've started Google Neon researching the feasibility of "Lesuire Suit Laravel".

we need to understand that all languages are obsolete now, and the new assembly for agents is yet to arrive.

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


The programmer was insufficiently polite.

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?

Laravel for Ruby

Laravel for the Little Schemer?

I'm guessing PHP has overtaken Ruby as this is not satirically called "COBOL on Rails"


It's a reference to the recent release of laravel go and laravel rust.

At $prevjob, the path for requests from our backend to hit a mainframe 'endpoint' was something like

  backend (trendy language) --http-->  API mangler (nodejs) --http-->  IBM z/OS connect == mq ==> 'endpoint' (COBOL)
But, supposing we'd had Laravel for Cobol back then, we could have consolidated & simplified the architecture to:

  backend (Laravel for COBOL) --http-->  API mangler (Laravel for COBOL) --http-->  IBM z/OS connect == mq ==> 'endpoint' (COBOL)

Should've called it Caravel.

Niña, the router

Pinta, the session manager

Santa Maria , the active record


Looking forward to either Laravel for Doom or Doom for Laravel, whichever comes first

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

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


This must be a peak troll response to https://news.ycombinator.com/item?id=50733083

But the troll is transaction safe.

> Ship confidently. Understand optionally.

Genius >_<


> Terminal

> Any. IBM 3270 for the authentic experience

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


Anything that detracts from taylor getting a new lambo, i'm on board with.

Finally COBOL programmers got a clear migration path! Congrats!

72 columns, as nature intended

I envision laravel on pregnancy test next

It's something like doom for web frameworks


Do FORTRAN next!

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.


Laravel Forth: "Full-stack development. Literally."

Finally we have covered both COBOL and Fortran 77 punch cards.

It's no Caché Server Pages[0], but I see a promising future.

[0] MUMPS web framework


Is that a thing? My first job 30 years ago was with a MUMPS database. But it was air gapped. And the sun workstation that wasn't had only perl. And perl was way more readable.

I don't know if it had any real use, but it is and/or was a thing:

https://docs.intersystems.com/latest/csp/docbook/DocBook.UI....


honey, where is my AS400

Gimme Laravel for TinyBASIC!

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 :)


Finally, web development made fun again. Although, I'm more of a COBOL-on-Wheelchair guy myself.

What a troll!

When are they porting it to Ruby?

We need a vibe coded COBOL environment in Ruby for porting Laravel COBOL.

Laravel seems to be the joke of the week.

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.)

Did they patch the Y2K bug in this version?

We are in the year 1926, so modulo 100, the answer is "yes".

It’s a good meme sir but Laravel is truly awful if you’ve ever had the displeasure of using it.

OMG, Laravel ports are getting out of hands

wow. I guess it's poetic for T. Otwell's creation to come full circle back to Cobol.

Coming up next: Laravel m4.

I read this and softly whimpered "oh gods..."

I met Eric Allman a couple of years ago. I told him how his program badly bent my brain 30Y ago, and got his autograph.


But can it be configured correctly ;)

waiting patiently for Laravel for fortran and then Laravel for assembly


Oh hey its my repo!

This has really grown legs lol


Lunar landings per framework... I died.

Ah, there's some backstory here. So, Laravel published official Rust/Go versions (?!) and community answered with equally ridiculous "Laravel for X" implementations.

Better ones are stuff like Laravel for Ruby.

> This is an unofficial parody. The features, CLI, and benchmarks below are fictional

In case you're autistic or just too stupid to work that out for yourself.


Bear in mind that COBOL and Fortran 77 have incompatible 80 column punch card layouts.

Laravel for punch cards would be a massively missed April fools opportunity next year!

How about Rails instead?

https://punchcard.lol/


Laravel on actual rails!

to far in the future, there will be no internet by then (extrapolating from the crypto fearmongering over the last few days)

They do agree on columns 73 to 80. Both compilers ignore them.

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`


COBOL's last gleaming

finialy some real memory safe computer language. not those hipster bs like rust

Hipster Rust? Rust is so 2022.

"Can it implement laravel?" is the new "Can it run doom?"

Why would you ever choose PHP these days? It’s never been the most performant, secure, ergonomic, or flexible.

Are you familiar with "Worse is Better"? https://en.wikipedia.org/wiki/Worse_is_better

> Are you familiar with "Worse is Better"?

Yes, of course, but it wasn't meant to be a challenge!


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?

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.


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

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!

Considering PHP is written in C ... it's actually quite performant. It's the frameworks and abstractions that make it quite slow.

... such as Laravel.

The "s" in NUL-terminated means "secure".

PHP doesn’t use null terminated strings. PHP strings are binary safe. Extensions on the other hand may do that, those are made by random people on the internet.

C standard library uses NUL-terminated strings. Avoiding them is work.

... like linking to a non standard C string library. Super hard (well, not really), but Acceptable in the 80s.

Is libdjb still around? Tried to find it again last month and somehow web search doesn't work anymore.

Learned C from books by Plum from before the ANSI standard in 1989. Read K&R 2nd edition way later. Still game.

Which ones do you use?


Flexible? What do you find not flexible with php? You can extend the language however you want.

Even to add security.

Pretty sure they were saying the same thing about COBOL 30 years ago.

now do python and c++

Feels like a parody of the latest Laravel Rust/Go releases.

I thought these were very cool :)


It is satire, yes.

It helps to read the link before you comment.


can we be serious for a minute?

Okay, but only for a minute.

Sir, it’s HN…



Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: