NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Laravel for COBOL (github.com)
kev009 3 days ago [-]
I can't remember ever particularly laughing about anything on HN, especially simply reading a headline, but this got me.
dv35z 3 days ago [-]
Maybe this can get another laugh for you...

COBOL DotNET:

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

pygy_ 3 days ago [-]
jamesfinlayson 2 days ago [-]
> NetCOBOL for .NET provides exciting opportunities

> .NET Framework 4

malfist 2 days ago [-]
To some of us around 3.5 is the new fangled .NET
jamesfinlayson 2 days ago [-]
I'm over here in .Net Framework 4.5 - held back by needing to support some old stuff.
pjmlp 2 days ago [-]
aforwardslash 3 days ago [-]
I've worked with NetCobol in 1999 :) It was even worse than it sounds.
rbanffy 2 days ago [-]
If I am to work on COBOL code and ISPF, I would demand a real 3279G or 3290 terminal.
pjmlp 2 days ago [-]
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

hans_castorp 2 days ago [-]
I always thought the object oriented version of COBOL would be called "ADD 1 TO COBOL"
refactor_master 2 days ago [-]
They have a testimonial from “Engineer II”?
pjjpo 2 days ago [-]
Ditto
fitsumbelay 2 days ago [-]
[flagged]
sgalbincea 3 days ago [-]
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.
kev009 3 days ago [-]
I'm not laughing about COBOL. I own several S/370 through z114 mainframes.
all2 2 days ago [-]
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.

asalahli 3 days ago [-]
You own mainframes??? May I ask what you do with them?
kev009 3 days ago [-]
Computer collection for historical research and preservation
plzrun 3 days ago [-]
Pretty sure they’re laughing at the juxtaposition of Laravel and COBOL.
Sharlin 3 days ago [-]
But how many of those COBOL professionals are COBOL+Laravel professionals?!
kmoser 2 days ago [-]
When I look for a COBOL professional, I require them to have at least 70 years of experience.
julian_t 2 days ago [-]
If you can wait, I'll be there in 17 years...
2 days ago [-]
nullata 3 days ago [-]
I started off in IT maintaining a legacy cobol system and had to modernize it. This is traumatizing but really funny too
mortar 2 days ago [-]
I’ve just started down this path (modernising legacy COBOL not starting IT), any tips?
nullata 2 days ago [-]
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
pjmlp 2 days ago [-]
Updating to newer standards, if the compiler support is there, maybe?

Just an idea.

jmspring 2 days ago [-]
Maintaining and modernizing takes patience, but isn't a bad skill / experience to have.
andrew-v 3 days ago [-]
Let’s not forget we already have COBOL on Wheelchair

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

macherm 3 days ago [-]
Coding Agents Can Develop COBOL Systems: Evidence from a Human-Guided Multi-Case Study https://inria.hal.science/hal-05743207/
rc_kas 3 days ago [-]
I've been waiting 20 years for this project. It has finally arrived!
tonyedgecombe 3 days ago [-]
Only 20? More like 65.
pluc 3 days ago [-]
His dates were reset 26 years ago
dapperdrake 2 days ago [-]
Lol
pmkary 2 days ago [-]
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...
retwakm4 2 days ago [-]
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.

pmkary 1 days ago [-]
It is really interesting, because I've been in this industry for at least 17 years or so by now and my exposure to COBOL was always the maintenance jokes and very basic boring code snippets that made me think it is a very basic version of a language that would be evolved into the modern ones. And so all of these deprived me of the chance to actually see its beauty. (and I had no reason to be drawn to it). So now I see these "satirical" snippets and I'm anything but laughing at them.

And the even more stranger part is that no one offered a commet like this in all these years...

geraneum 2 days ago [-]
It’s not crazy. Naturally you can’t stay perpetually over excited and overstimulated about something.
pmkary 1 days ago [-]
What I meant was something different. Previously to convey a joke you would write a few lines at most, then creating memes got easy and people began making more and more complicated jokes. It is crazy that the whole laravel was simply made just to be a satirical joke here. This is not a world I can navigate.
jetter 3 days ago [-]
I was actually betting on Laravel Lean...
3 days ago [-]
dapperdrake 3 days ago [-]
Proof or it didn't happen...
erdesigns 2 days ago [-]
At first i thought this was a joke, but having a look at the github repo i'm actually impressed..
pjmlp 2 days 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

TIPSIO 3 days ago [-]
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

AlecSchueler 3 days ago [-]
From the top of the README:

> Laravel for COBOL is an unofficial, satirical project.

acomjean 3 days ago [-]
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.

stef25 3 days ago [-]
> 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.

pjmlp 2 days ago [-]
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...

WD-42 3 days ago [-]
If you can't tell if this is serious you are the target of the satire.
TIPSIO 3 days ago [-]
Should have clicked but transpiling via Opus/Fable makes this barely satire
raddan 2 days ago [-]
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.
artiomleo 2 days ago [-]
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.
mmmuhd 3 days ago [-]
I missed Laravel PHP FR, hoping to get some kind if project that will make me actually write PHP and use Laravel.
pratzc07 2 days ago [-]
I was literally thinking about this yesterday someone will make a joke work out of this
jnpnj 3 days ago [-]
Almost clean.. I feel all confused.
evereverever 3 days ago [-]
Didn't they just announce this for Rust?
thephyber 2 days ago [-]
Are you asking us to explain the joke?
devNoise 3 days ago [-]
and then the day after there was a beta port for golang.
dalemhurley 3 days ago [-]
Taylor should release a Laravel standard.
fsmedberg 2 days ago [-]
Give the developer a price! :D
jv22222 2 days ago [-]
Well done! Very much worth the cost of the tokens! lol
afzaalm 2 days ago [-]
[dead]
fitsumbelay 2 days ago [-]
this is great
jszymborski 3 days ago [-]
> You focus on your ideas. Your agent focuses on the implementation. Someone else can focus on maintaining it.

I love it.

chilmers 3 days ago [-]
> Understanding the codebase - Not on the roadmap
utopiah 3 days ago [-]
"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."
wiseowise 3 days ago [-]
You laugh, but somewhere someone unironically thinks like that.
dapperdrake 2 days ago [-]
It is ironic. Looking in from the outside.
josefritzishere 3 days ago [-]
[dead]
leokennis 3 days ago [-]
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%.

jamesfinlayson 2 days ago [-]
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).
dapperdrake 3 days ago [-]
And of course, understanding the problem domain...
fitsumbelay 2 days ago [-]
[flagged]
deegles 3 days ago [-]
to be fair the agent will be doing half of the idea work. and the maintenance
chuckadams 3 days ago [-]
The CLI for it is called "cobtisan" ... should have called it "cobbler" and written it in JCL.
all2 2 days ago [-]
I only know what JCL is because my parents would talk about work over dinner.

Thank you, kind sir.

Roscius 3 days ago [-]
We need Laravel for Brainfuck - I can't understand why this wasn't the first port.
jerf 3 days ago [-]
Roscius 3 days ago [-]
Ask and ye shall receive!
staticshock 3 days ago [-]
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.
eptcyka 3 days ago [-]
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?
FranOntanaya 2 days ago [-]
Laravel on Inform 7 would be something bizarre.
e12e 2 days ago [-]
I've started Google Neon researching the feasibility of "Lesuire Suit Laravel".
larodi 3 days ago [-]
we need to understand that all languages are obsolete now, and the new assembly for agents is yet to arrive.
fitsumbelay 2 days ago [-]
Oh it's there, friend. CHeck out the GitHub page and the other laravels that were built
fitsumbelay 2 days ago [-]
[flagged]
mesrik 3 days ago [-]
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

dapperdrake 3 days ago [-]
The programmer was insufficiently polite.
pseudosavant 3 days ago [-]
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?
dapperdrake 2 days ago [-]
Laravel for Ruby
kyleee 2 days ago [-]
Laravel for the Little Schemer?
t1234s 3 days ago [-]
I'm guessing PHP has overtaken Ruby as this is not satirically called "COBOL on Rails"
PontifexMinimus 3 days ago [-]
There was a COBOL on Cogs. http://www.coboloncogs.org/INDEX.HTM
nix-zarathustra 2 days ago [-]
It's a reference to the recent release of laravel go and laravel rust.
orthoxerox 3 days ago [-]
Should've called it Caravel.
tonymet 3 days ago [-]
Niña, the router

Pinta, the session manager

Santa Maria , the active record

eithed 3 days ago [-]
Looking forward to either Laravel for Doom or Doom for Laravel, whichever comes first
troupo 3 days ago [-]
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 :)

pkphilip 19 hours ago [-]
I found the documentation hilarious :)

Like this one explaining how the routes are "Fluent"

<quote>Route middleware is fluent, if you squint:</quote>

Or like this one which explains how to setup eloquent models in controllers:

<quote>The PHP equivalent of the full controller is about fifteen lines long. Ours is 188. We consider this a feature.</quote>

donatj 3 days ago [-]
I just need to point out that I totally called it yesterday!

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

misterderpie 3 days ago [-]
This must be a peak troll response to https://news.ycombinator.com/item?id=50733083
dapperdrake 3 days ago [-]
But the troll is transaction safe.
shoo 2 days ago [-]
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)
emersonrsantos 3 days ago [-]
> Terminal

> Any. IBM 3270 for the authentic experience

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

the_real_cher 2 days ago [-]
72 columns, as nature intended
martinjc 3 days ago [-]
Anything that detracts from taylor getting a new lambo, i'm on board with.
herodoturtle 2 days ago [-]
> Ship confidently. Understand optionally.

Genius >_<

catigula 2 days ago [-]
It’s a good meme sir but Laravel is truly awful if you’ve ever had the displeasure of using it.
phplovesong 3 days ago [-]
Laravel seems to be the joke of the week.
dapperdrake 3 days ago [-]
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.)
cantalopes 3 days ago [-]
I envision laravel on pregnancy test next

It's something like doom for web frameworks

mring33621 3 days ago [-]
Do FORTRAN next!
kergonath 3 days ago [-]
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.

gpvos 3 days ago [-]
Laravel Forth: "Full-stack development. Literally."
dapperdrake 3 days ago [-]
Finally we have covered both COBOL and Fortran 77 punch cards.
roywiggins 3 days ago [-]
It's no Caché Server Pages[0], but I see a promising future.

[0] MUMPS web framework

pampa 2 days ago [-]
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.
roywiggins 2 days ago [-]
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....

0x23alfonso 3 days ago [-]
honey, where is my AS400
cryptos 2 days ago [-]
Finally COBOL programmers got a clear migration path! Congrats!
jimbob45 3 days ago [-]
Why would you ever choose PHP these days? It’s never been the most performant, secure, ergonomic, or flexible.
selfsimilar 3 days ago [-]
Are you familiar with "Worse is Better"? https://en.wikipedia.org/wiki/Worse_is_better
lproven 2 days ago [-]
> Are you familiar with "Worse is Better"?

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

jimbob45 3 days ago [-]
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?
selfsimilar 3 days ago [-]
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.

Perz1val 3 days ago [-]
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
pampa 3 days ago [-]
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!
withinboredom 3 days ago [-]
Considering PHP is written in C ... it's actually quite performant. It's the frameworks and abstractions that make it quite slow.
choult 3 days ago [-]
... such as Laravel.
dapperdrake 2 days ago [-]
The "s" in NUL-terminated means "secure".
withinboredom 2 days ago [-]
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.
dapperdrake 2 days ago [-]
C standard library uses NUL-terminated strings. Avoiding them is work.
withinboredom 16 hours ago [-]
PHP doesn’t use “strings” it uses zend_strings which are a struct containing an array of bytes/chars and a length. What it is terminated by doesn’t matter.
defrost 2 days ago [-]
... like linking to a non standard C string library. Super hard (well, not really), but Acceptable in the 80s.
dapperdrake 2 days ago [-]
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?

martinjc 3 days ago [-]
Flexible? What do you find not flexible with php? You can extend the language however you want.
dapperdrake 3 days ago [-]
Even to add security.
SolarNet 3 days ago [-]
Pretty sure they were saying the same thing about COBOL 30 years ago.
forgotpwd16 3 days ago [-]
Finally, web development made fun again. Although, I'm more of a COBOL-on-Wheelchair guy myself.
kirugan 3 days ago [-]
What a troll!
talideon 2 days ago [-]
Gimme Laravel for TinyBASIC!
iguana_shine 3 days ago [-]
When are they porting it to Ruby?
dapperdrake 3 days ago [-]
We need a vibe coded COBOL environment in Ruby for porting Laravel COBOL.
andrewshadura 3 days ago [-]
Coming up next: Laravel m4.
lproven 2 days ago [-]
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.

dapperdrake 2 days ago [-]
But can it be configured correctly ;)
waynecochran 3 days ago [-]
Did they patch the Y2K bug in this version?
dapperdrake 2 days ago [-]
We are in the year 1926, so modulo 100, the answer is "yes".
vpaulus 3 days ago [-]
OMG, Laravel ports are getting out of hands
tsuru 3 days ago [-]
wow. I guess it's poetic for T. Otwell's creation to come full circle back to Cobol.
fraywing 3 days ago [-]
waiting patiently for Laravel for fortran and then Laravel for assembly
jerf 3 days ago [-]
dava96 3 days ago [-]
Oh hey its my repo!

This has really grown legs lol

nprateem 3 days ago [-]
> 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.

jcmfernandes 3 days ago [-]
Lunar landings per framework... I died.
forgotpwd16 3 days ago [-]
Ah, there's some backstory here. So, Laravel published official Rust/Go versions (?!) and community answered with equally ridiculous "Laravel for X" implementations.
dapperdrake 3 days ago [-]
Better ones are stuff like Laravel for Ruby.
dapperdrake 3 days ago [-]
Bear in mind that COBOL and Fortran 77 have incompatible 80 column punch card layouts.
fortran77 3 days ago [-]
They do agree on columns 73 to 80. Both compilers ignore them.
dapperdrake 3 days ago [-]
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`

fraywing 3 days ago [-]
Laravel for punch cards would be a massively missed April fools opportunity next year!
tortilla 3 days ago [-]
How about Rails instead?

https://punchcard.lol/

gpvos 3 days ago [-]
Laravel on actual rails!
pampa 3 days ago [-]
to far in the future, there will be no internet by then (extrapolating from the crypto fearmongering over the last few days)
dkdbejwi383 3 days ago [-]
COBOL's last gleaming
Surac 3 days ago [-]
finialy some real memory safe computer language. not those hipster bs like rust
johnofthesea 3 days ago [-]
Hipster Rust? Rust is so 2022.
rpmisms 3 days ago [-]
"Can it implement laravel?" is the new "Can it run doom?"
3 days ago [-]
matt3210 3 days ago [-]
now do python and c++
heybax 3 days ago [-]
[dead]
daenadigital 3 days ago [-]
[dead]
sick_of_slop 3 days ago [-]
[dead]
biosboiii 3 days ago [-]
Feels like a parody of the latest Laravel Rust/Go releases.

I thought these were very cool :)

thephyber 2 days ago [-]
It is satire, yes.

It helps to read the link before you comment.

behnamoh 3 days ago [-]
can we be serious for a minute?
gpvos 3 days ago [-]
Okay, but only for a minute.
vpaulus 3 days ago [-]
Sir, it’s HN…
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 10:02:35 GMT+0000 (Coordinated Universal Time) with Vercel.