News for hackers. Stuff that matters.
Re:Half a million lines of Go by Supermancho on Sunday May 16, 2021 @09:14PM (#27179027)
I wrote 5000 lines of java for a simple multi-user chat room server. I had a separate Java client. I replaced the server with half a page (~200 lines of Erlang) as my first attempt at using Erlang with the exact same functionality.

I still write copious amounts of Java for work and Java is still horrid.

Re:Half a million lines of Go by winrid on Monday May 17, 2021 @01:00AM (#27180201)
Curious, got a link to source?

Using an existing websocket library, that chat client, with multithreading, should be a handful of lines in Java. Even writing the raw socket handling yourself, with multithreading, should only be a few classes and maybe 500 lines...