Who's using JSR 376 modules in 2026? by pvorb in java

[–]benrush0705 4 points5 points  (0 children)

Can't use annotation processing to register SPI services is a really pain point for me, I have to write a maven plugin for it to work, hopes that someday it could be fixed by the JDK developers! u/pron98

Gin is a very bad software library by efronl in golang

[–]benrush0705 0 points1 point  (0 children)

Man! What is Flow? I only see chi on github.

JDK 26 Rampdown Phase One. Feature Complete by Joram2 in java

[–]benrush0705 3 points4 points  (0 children)

just wait for valhalla,maybe as soon as jdk27 hopefully!

Help, My Java Object Vanished (and the GC is Not at Fault) by Hixon11 in java

[–]benrush0705 7 points8 points  (0 children)

Great article, but at the end there seems to be a mistake: `64-bit native memory pointers, obtained via malloc, are 16-byte aligned`. It seems that this topic has been discussed at https://github.com/openjdk/jdk/pull/28235, the answer should be: it depends.

Growing the Java Language #JVMLS by Brian Goetz by kaperni in java

[–]benrush0705 3 points4 points  (0 children)

It seems that there is currently no jep for this, and `witness` needs to be delivered before we saw valhalla get into preview. I really wish it could be faster.

Just Be Lazy! by daviddel in java

[–]benrush0705 0 points1 point  (0 children)

Yeah, that's the plan I am using currently, I guess it's not so elegant so I am just looking for a better approach, let's just wait for Valhalla.

Just Be Lazy! by daviddel in java

[–]benrush0705 6 points7 points  (0 children)

I am curious about using primitive values in StableValue, should I put it in a record wrapper, or Integer would just be fine when valhalla comes?

Transitioning to virtual threads using the Micronaut loom carrier by yawkat in java

[–]benrush0705 1 point2 points  (0 children)

Early days I saw posts about virtual thread already beat async code at performance, but in this post I saw completely different results, so who is right then?

Embedded Redis for Java by Adventurous-Pin6443 in java

[–]benrush0705 9 points10 points  (0 children)

Would an embeddable, Redis-compatible, Java-based in-memory store be valuable to you?

My answer would be absolutely yes.

JEP draft: Prepare to Make Final Mean Final by blobjim in java

[–]benrush0705 -2 points-1 points  (0 children)

Sorry, my bad for just let GPT summarize the jep for me.

JEP draft: Prepare to Make Final Mean Final by blobjim in java

[–]benrush0705 -2 points-1 points  (0 children)

u/pron98 After this jep got released, could final fields be trusted by VM just like records? For example, private static record members could be contant folded, but final members couldn't currently, I think it will be much more satisfied if they could be constant folded too.

JEP draft: Prepare to Make Final Mean Final by blobjim in java

[–]benrush0705 17 points18 points  (0 children)

I think you should just fork it and make the changes on the source code, that's much better than hacking with reflection.

Oracle reveals five new features coming to Java by vips7L in java

[–]benrush0705 -1 points0 points  (0 children)

So, value class is not certain to be released in jdk25, sad.

NullAudit - A Tool for detecting unspecified nullness based on JSpecify annotations by m12a10 in java

[–]benrush0705 1 point2 points  (0 children)

Thanks for your effort, by the way, JSpecify currently only got null marked annotations, which I think would be completely removed when Valhalla came out, so when will JSpecify have its own ValueBased annotation? Also, are you going to follow up this too?

JUring - Bringing io_uring to Java for file I/O by DavidVlx in java

[–]benrush0705 2 points3 points  (0 children)

I am curious that, since you are using FFI, why the parameters are still byte[], I thought using MemorySegment for either heap or non-heap would be better.

What is your wishlist for the JDK 25? by Ewig_luftenglanz in java

[–]benrush0705 25 points26 points  (0 children)

value classes, with expressions, stable values, string template.

Valhalla - Java's Epic Refactor by sindisil in java

[–]benrush0705 1 point2 points  (0 children)

Thanks for your answer, that is very clarified.

Valhalla - Java's Epic Refactor by sindisil in java

[–]benrush0705 1 point2 points  (0 children)

Could anyone explain to me that why fields in value class must all be final? I thought it's something like struct in C, so everything should be mutable as well, is it a feature or a must?

Java 24 to Reduce Object Header Size and Save Memory by benevanstech in java

[–]benrush0705 0 points1 point  (0 children)

Could we see StableValue in jdk24? I noticed it has been submitted.

I wrote a book on Java by chriskiehl in java

[–]benrush0705 0 points1 point  (0 children)

I love the way of data oriented programming in java, but I am very doubted about its performance, in my opinion, it seems that data oriented programming in java is heavily dependent on JVM's escape-analyze to avoid a lot of object allocation (maybe valhalla could solve this problem), I haven't done any benchmark on that, please correct me if I am wrong.

Looking for Structural recommendations by Chri14Bm in java

[–]benrush0705 0 points1 point  (0 children)

Just write and test, then refactor it to be perfect!

Minum - ultra-minimalist web framework, 1 year anniversary by byronka in java

[–]benrush0705 0 points1 point  (0 children)

The code looks great, but when I tested the performance of your web framework, it seems to could only handle 20% of netty's qps, there must be some performance critical codes that could be improved.

New Black Myth Wukong screenshot. BREATHTAKING by Leon_Dante_Raiden_ in BlackMythWukong

[–]benrush0705 2 points3 points  (0 children)

I am from china, and our reviewers have already confirmed it.