TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Minecraft server written in COBOL

344 pointsby notamy5 months ago

20 comments

notfried5 months ago
&gt; Well, there are quite a lot of rumors and stigma surrounding COBOL. This intrigued me to find out more about this language, which is best done with some sort of project, in my opinion. You heard right - I had no prior COBOL experience going into this.<p>I hope they&#x27;d write an article about any insights they gained. Like them, I hear of these rumors and stigma, and would be intrigued to learn what a new person to COBOL encountered while implementing this rather complex first project.
评论 #42514788 未加载
评论 #42517906 未加载
guytv5 months ago
This is Awesome.<p>For my high school graduation project, I wrote a full COBOL system to automate soccer betting odds. Long past its prime, but my school hadn’t quite caught up with the times.<p>It was hilariously out of place, but I loved every line of it. There’s something oddly satisfying about a language that whispers, “Remember punched cards?” as you type.
评论 #42546428 未加载
heavensteeth5 months ago
I&#x27;m sure this is some kind of fallacy, but I feel I quite often see ostensibly impressive small side projects like this written in simple plain languages like C (or here COBOL). Every similar, e.g., Rust project I see seems almost non-functional despite having 10x the SLOC.<p>My working theory is that simpler languages lend themselves to blueprinting ideas and getting something working even with an ugly messy codebase, whereas modern languages force you to write code that will last longer. Or maybe modern languages are just doing something wrong.
评论 #42517383 未加载
评论 #42517419 未加载
评论 #42520196 未加载
评论 #42517109 未加载
评论 #42516504 未加载
评论 #42517356 未加载
评论 #42516814 未加载
评论 #42516871 未加载
评论 #42517519 未加载
评论 #42516570 未加载
评论 #42518216 未加载
userbinator5 months ago
<a href="https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;meyfa&#x2F;CobolCraft&#x2F;main&#x2F;src&#x2F;server.cob" rel="nofollow">https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;meyfa&#x2F;CobolCraft&#x2F;main&#x2F;src&#x2F;...</a><p>It&#x27;s actually not too difficult to understand for anyone with a background in procedural languages, and reminds me somewhat about some game servers written in VB that I saw ~2 decades ago.
PerilousD5 months ago
I stopped using COBOL in 1978 and NEVER admitted to even knowing the language forever after. I&#x27;m making the sign of the cross and heading for a strong cup of coffee in the hope that I will never see this code :-)<p>(impressive that you did this)
owenthejumper5 months ago
Roast me but the code is very readable. Compare with some modern languages where you have to stare at it for minutes to understand what&#x27;s going on.
评论 #42515835 未加载
评论 #42520984 未加载
评论 #42515713 未加载
评论 #42515637 未加载
评论 #42516829 未加载
curious_cat_1635 months ago
I learned a bit of COBOL during high school... in a small town in Pakistan.<p>It was okay -- did a project that simulated some financial statements. I recall it being quirky but, to most humans (i.e. non-programmers), any programming language would be quite quirky so I don&#x27;t understand the stigma around it.<p>I also learned C around the same time and that one stuck. :-)
FrustratedMonky5 months ago
I&#x27;m always hearing that Cobol programmers get high salaries, because they are so rare.<p>Did this project generate any flood of offers for work?
评论 #42515342 未加载
评论 #42516015 未加载
评论 #42515338 未加载
purple-leafy5 months ago
COBOL actually looks like a very cool language ! Your code looks really well organised
cratermoon5 months ago
I love that there are unit tests.
zimpenfish5 months ago
Can&#x27;t tell if it supports redstone (which I would consider basic functionality in a Minecraft server) - isn&#x27;t called out in the README and the code only makes mention of redstone torches (which also function as a light source).
评论 #42515381 未加载
navbaker5 months ago
My kids are just getting into Minecraft on the switch and I am a bit confused by the options for hosting a server. I’d love to hop on and play with them on a self-hosted server, what’s the current best way to do that or is that level of cross-play between PC and Switch on a self-hosted solution even possible?<p>Edit: I don’t currently play, which is why I’m not familiar with what’s out there
评论 #42515916 未加载
评论 #42515946 未加载
评论 #42515928 未加载
评论 #42516057 未加载
评论 #42519230 未加载
评论 #42515918 未加载
Alcatros5525 months ago
Actually the writer of this Github Repo is wrong; Cobol has been exactly there to manipulate bits and bytes on the lowest level since forever and is very efficient at it.<p>Nevertheless, congrats to this achievement.
b800h5 months ago
What an idea. Absolutely unbelievable - I&#x27;ve written an API framework in COBOL, but this is something else. Very impressive bit of work.
philipov5 months ago
They should have called it COBOLstone
pigeons5 months ago
I upvoted this before I even looked at the link.
muzzelman5 months ago
Why does this look like an elaborate PL&#x2F;SQL?
评论 #42518128 未加载
ARandomerDude5 months ago
40 years from now, C-suites all over the world will be saying &quot;COBOL Minecraft servers are dead.&quot;
coolkil5 months ago
Lol, big question is would it work on zOS as well.
评论 #42514587 未加载
bitfilped5 months ago
Docker isn&#x27;t a platform portable experience fwiw
评论 #42515229 未加载
评论 #42518099 未加载