r/java • • Dec 23 '20

I created a Visualization of 20 Sorting Algorithms as a Christmas Tree with Java. Merry Xmas :)

Thumbnail
youtu.be
295 Upvotes

r/java • • Mar 19 '24

Java 22 officially released

Thumbnail mail.openjdk.org
294 Upvotes

r/java • • Mar 28 '23

IntelliJ IDEA 2023.1 Is Out!

Thumbnail
blog.jetbrains.com
294 Upvotes

r/java • • Sep 21 '17

Java 9 Released

Thumbnail mail.openjdk.java.net
294 Upvotes

r/java • • Apr 20 '21

Java is criminally underhyped

Thumbnail jackson.sh
291 Upvotes

r/java • • Jan 15 '20

If you are using Gitlab and Intellij IDE, now you can do code review right in your IDE 😋

Thumbnail
plugins.jetbrains.com
291 Upvotes

r/java • • Sep 30 '20

GitHub Welcomes the OpenJDK Project!

Thumbnail
github.blog
290 Upvotes

r/java • • Sep 23 '24 This Take My Silver

I wrote a book on Java

289 Upvotes

Howdy everyone!

I wrote a book called Data Oriented Programming in Java. It's now in Early Access on Manning's site here: https://mng.bz/lr0j

This book is a distillation of everything I’ve learned about what effective development looks like in Java (so far!). It's about how to organize programs around data "as plain data" and the surprisingly benefits that emerge when we do. Programs that are built around the data they manage tend to be simpler, smaller, and significantly easier understand.

Java has changed radically over the last several years. It has picked up all kinds of new language features which support data oriented programming (records, pattern matching, with expressions, sum and product types). However, this is not a book about tools. No amount of studying a screw-driver will teach you how to build a house. This book focuses on house building. We'll pick out a plot of land, lay a foundation, and build upon it house that can weather any storm.

DoP is based around a very simple idea, and one people have been rediscovering since the dawn of computing, "representation is the essence of programming." When we do a really good job of capturing the data in our domain, the rest of the system tends to fall into place in a way which can feel like it’s writing itself.

That's my elevator pitch! The book is currently in early access. I hope you check it out. I'd love to hear your feedback!

You can get 50% off (thru October 9th) with code mlkiehl https://mng.bz/lr0j

BTW, if you want to get a feel for the book's contents, I tried to make the its companion repository strong enough to stand on its own. You can check it out here: https://github.com/chriskiehl/Data-Oriented-Programming-In-Java-Book

That has all the listings paired with heavy annotations explaining why we're doing things the way we are and what problems we're trying to solve. Hopefully you find it useful!


r/java • • Dec 21 '19

This has to be the most intimidating list of required skills I ever seen

Post image
288 Upvotes

r/java • • Jun 15 '17

Why reverse loops are not faster

Thumbnail
arnaudroger.github.io
288 Upvotes

r/java • • Apr 12 '22

IntelliJ IDEA 2022.1 has been released

Thumbnail
blog.jetbrains.com
287 Upvotes

r/java • • Jun 29 '22

Top 8 Most Demanded Programming Languages - By job postings

Post image
286 Upvotes

r/java • • Jun 08 '22

Conway's Game of Life Implemented With Communicating Sequential Processes (CSP) and Project Loom Virtual Threads. 50,000 Cells as V-Threads Communicating Via Channels. https://github.com/ebarlas/game-of-life-csp

286 Upvotes

r/java • • Jul 06 '17

Apology to Java (fanboy rant).

286 Upvotes

Java has turned out to be one of the most useful languages i use. It's a brilliant tool which strikes a perfect balance between high and low level. You want to grab a webpage? Easy and built-in, 10 lines of code. Draw some 2d graphics without OS-specific libraries or third party? Various built-in options. The inherent issues around a lack of low level memory management is handled very elegantly. Garbage collection seems seamless.

C++ is my language of choice for the most part, always will be i suspect, but Java has shown me that it has a huge array of potential applications and should almost always be considered before undertaking a project.

I say this is an apology because i used to run Java down. Previous to me using it proper i believed it was slow, lazy and useful for only trivial applications. Now i know how much work has been put into the JVM and just how efficient it is.

Sorry Java. You're pretty good.


r/java • • Aug 17 '26

Where and how did Java lose in the game dev space?

285 Upvotes

Nearly a decade ago, Java was quite the popular choice for Game development. We had libGDX as the most optimal game framework, along with LWJGL (when low level was needed) and JMonkeyEngine was a fairly good option too. Now no one even talks about Java for game development, even for educational purposes

However over the course of time they all disappeared. Everyone slowly switched to game engines and C#

The arguement of “JVM slow, Garbage collector overhead” doesnt fit either because C# is also a GC language. Where did Java fail?


r/java • • Sep 06 '25

With all the AI website slop going around, here are some Java desktop applications I created at work!

Post image
285 Upvotes

r/java • • Nov 26 '20

Java libraries I like

Thumbnail
sizovs.net
285 Upvotes

r/java • • Jan 08 '19

GitHub announces free private repositories

Thumbnail
blog.github.com
285 Upvotes

r/java • • Nov 30 '17

IntelliJ IDEA 2017.3 released

Thumbnail
jetbrains.com
285 Upvotes

r/java • • Mar 21 '13

Oracle Corporation: Stop bundling Ask Toolbar with the Java installer

Thumbnail
change.org
285 Upvotes

r/java • • Dec 16 '21

Log4j MEGATHREAD

284 Upvotes

Upon special request of /u/bluegoliath, we are opening a megathread.

From now on, all information, questions, communication about the discovered Log4j vulnerabilities has to be inside this thread.

Posts covering this topic outside the Megathread will be removed.


r/java • • Oct 29 '21

Hint (to myself and other poor souls): Don't use java.net.URLs as keys in a Map!

284 Upvotes

I've stumbled on this before, but I managed to forget.

The problem is, that it's hashCode() method will try to resolve its domain name, which is slow and blocking operation. Innocently looking code can slow down your application to a crawl.


r/java • • May 16 '21

Can I get some reasons to use Java instead of Kotlin?

284 Upvotes

I'm thinking about using Kotlin + Spring Boot for my next project, but the level of love for Kotlin and bashing on Java makes me feel a culty vibe. I'd just like to hear some counter points.


r/java • • Apr 07 '21

IntelliJ IDEA 2021.1 is out!

Thumbnail
blog.jetbrains.com
280 Upvotes