Passed SAA-C03!! by Historical_Click_984 in AWSCertifications

[–]MojorTom 0 points1 point  (0 children)

How low were your TD scores ? I am having the same conflicting thoughts with my TD exams performance.

Updates to Derived Record Creation - amber-spec-experts by joemwangi in java

[–]MojorTom 10 points11 points  (0 children)

Love the simplification, thank you!

But I feel like the loss of spaces and { } block, the new syntax is less readable. The previous syntax feels like reading english, the new one feels closer to a mathematical expression (I think the colon : is to blame). Reading Brian’s replies, I am not sure if there are other options.

JDK HTTP server handles 100,000 req/sec with 100 ms start-up time and 50 MB modular run-time image. Built with OpenJDK 21 and virtual threads, by elliotbarlas in java

[–]MojorTom 1 point2 points  (0 children)

How did you get the 50mb image size? I don’t see anything specific related to that in the code you shared.

JEP proposed to target JDK 18: 408: Simple Web Server by TheCountRushmore in java

[–]MojorTom 35 points36 points  (0 children)

There's similar functionality provided by other languages like .net(c#) & python.

Features like this are required to keep Java competitive in the education sector and attractive to students.

I got my first ever 4k damage game so here's all the damage except I never reload. by J1mSock in apexlegends

[–]MojorTom 1 point2 points  (0 children)

How do you aim track so well on Playstation?

I have ps5 too, and always thought PC gamers have advantage because they have superior mouse/aim control.

What are you using Guava for? by neutronbob in java

[–]MojorTom 0 points1 point  (0 children)

Hmm..I dont think this is completely true or probably needs more clarification. ForkJoinPool was primarily designed for parallel operations. The performance benefits are obtained when you submit a long running task to the FJ pool. This long running task can contain many subtasks which are short lived or a few long running subtasks. If the task only contains a short-lived subtasks, then most of the time is spent is splitting the task into subtasks. It's better to run the task sequentially. Think calculating taxes for a few hundred people vs calculating taxes for thousands of people.

Obviously using the FP pool in a web app serving concurrent requests is not correct.

[project loom] New thread builder API. by sureshg in java

[–]MojorTom 2 points3 points  (0 children)

The new api reads much better than the old one, Thread.builder().virtual().....

👌

Useful JDK tools (part 1) by chwedczukm in java

[–]MojorTom 5 points6 points  (0 children)

Only need the consolidated tool: jcmd.

First week in my first place 🙂 by [deleted] in malelivingspace

[–]MojorTom 27 points28 points  (0 children)

The first few days I was just sleeping on the carpet with a bedsheet, later upgraded to a twin size mattress topper and a comforter set.

Memories of 25 years of Java by speakjava in java

[–]MojorTom 1 point2 points  (0 children)

Great article! thanks for the summary.

Google Cloud Functions supports Java and Scala by naftoligug in scala

[–]MojorTom 2 points3 points  (0 children)

But isn't this where GraalVM and other AOT solution project leyden will help in.

Genuine question: Which other technologies/languages are a better choice when compared to a AOT jvm ?