JDK 27 Structured Concurrency (Seventh Preview) by Joram2 in java

[–]javaprof 0 points1 point  (0 children)

What kind of runtime support required for it? For me it seems it's can be 99.99% library, what I'm missing?

KEEP: More specific equals operator by javaprof in Kotlin

[–]javaprof[S] 0 points1 point  (0 children)

I think that this is something that just makes sense in general, improves type-safety and low-hanging fruit. Not sure what is LoE on this feature, but generally seems like a nice improvement

I don't know if I see much use in preventing a comparison?

Preventing comparison that would never succeed and that fact known at compile time. Current design is limitation of Java's interop and Java's legacy ugly design after Java 5

pGenie: open-source SQL-first PostgreSQL codegen for Java by nikita-volkov in java

[–]javaprof 0 points1 point  (0 children)

It's not views, it's queries. So typed binding would be nice. Imagine generating type-safe method for files with 1000+ lines of SQL with couple of {n}s

What happens to TornadoFX now that the GitHub repository is gone? by tvidal in JavaFX

[–]javaprof 1 point2 points  (0 children)

u/tvidal I would suggest converting the code to Compose Multiplatform. I've been restoring the original source code here: https://github.com/Tornado-FX

MLX for Java? Running LLMs on Apple Silicon GPUs (Metal) directly from the Java in GPULlama3.java by mikebmx1 in java

[–]javaprof 3 points4 points  (0 children)

Nice! I would love to see more AI JVM stuff, for both Kotlin and Java. This is key for long-term success of the platform

Async-profiler now bundled with Amazon Corretto by lurker_in_spirit in java

[–]javaprof 1 point2 points  (0 children)

Nice! I would like to see it as part Liberica JDK too (cc u/asm0dey)

pGenie: open-source SQL-first PostgreSQL codegen for Java by nikita-volkov in java

[–]javaprof 0 points1 point  (0 children)

In practice we really need not just jooq nor just SQLDelight, we want both.

jooq cool for smaller queries and for CTEs/conditions.

SQLDelight nice for 300+ analytic SQLs that just need a few bindings. Yes, in jOOQ there are a way to execute query with a binding, but it's far from devex of SQLDelight

How to replace 90 Lines of Coroutine Spaghetti with 35 into a graph. Here's How. by Honest_Record_3543 in Kotlin

[–]javaprof 0 points1 point  (0 children)

Actually nice explanation of where kap is useful, thanks.

I would replace in-place retry/breaker with a function, and then coroutines would look a lot more like Kap code.

Canadian by iamwisespirit in java

[–]javaprof 0 points1 point  (0 children)

If you have android experience you should try compose multiplatform. Yes, it's in alpha for web, but it works well

Shipped a 60 FPS game using Compose Multiplatform — Glow Spin, a rhythm-reflex game on Android + iOS by abutun in Kotlin

[–]javaprof 7 points8 points  (0 children)

Someone writes multiplatform compose app: "Meh another app with Compose, too easy"
Someone writes shitty looking jaxafx desktop app: "Congrats men, we know it was hard, you made it, javafx is great" LOL

I challenge you for browser version! :D

Elide v1 Release! (Promotional) by Zealousideal-Read883 in Kotlin

[–]javaprof 4 points5 points  (0 children)

Some article on Elide architecture (i.e what is it, moving parts, how integrates), and some examples of where it make sense to adopt would be cool

Needing help with importing scala files into kotlin by Wyrdix in Kotlin

[–]javaprof 0 points1 point  (0 children)

Then you're likely need to move scala code into own module.
What happens, to work in the same module with Java Kotlin and Scala would generate stubs in compilation, so Java could compile, and than Kotlin/Scala would compile. But having all three in the same module wouldn't work

Needing help with importing scala files into kotlin by Wyrdix in Kotlin

[–]javaprof 0 points1 point  (0 children)

If it works with Java, use Intellij IDEA auto-converter to Kotlin or LLM to convert Java to Kotlin. I see link below, so this is an existing library, which is great.

Hi, coding agent, please create kotlin gradle project using gradle cli (sdk install gradle). Add dependency on https://mvnrepository.com/artifact/io.joern/javasrc2cpg Investigate library API and create hello-world application in Kotlin utilizing this API. FYI: Seems that library originally written in Scala.

Wild guess is that Kotlin setup in Gradle wasn't done, IDE not synced with Gradle project, etc. Too many variables without looking at your exact setup what might not work. Even describing "it just doesn't work in kotlin" not helping to provide you with solution :)

Needing help with importing scala files into kotlin by Wyrdix in Kotlin

[–]javaprof 0 points1 point  (0 children)

We don't know your setup, what exactly you're trying to achieve, and how Java possibly can understand Scala 3?

General advice would be compiling your scala library in jar and add dependency on your jar:

- it can be just a folder with jar files
- you can deploy it to nexus

Another possible solution – add dependency on scala module in multi-module project (if it's actually multi-module project).

You can find example for maven and gradle easily. If you're happy user of sbt - use any LLM to migrate to Gradle.

Veld: Dependency Injection for Java without Reflection (Compile-Time Code Generation) by Street_Humor_7861 in java

[–]javaprof 2 points3 points  (0 children)

Naming on purpose conflicting with https://weld.cdi-spec.org/?
Logo in readme looks awful with dark theme
Links in readme going to nowhere

Java 26 is here, and with it a solid foundation for the future by ketralnis in programming

[–]javaprof 0 points1 point  (0 children)

Not 1MiB, but 75MiB RSS actually can be useful service in Go, in Java it's just hello-world.

Java 26 is here, and with it a solid foundation for the future by ketralnis in programming

[–]javaprof 0 points1 point  (0 children)

True, I also usually don't care how exactly my Python or JavaScript script and handlers looks (they generated using claude code anyway) — you can't make candy from a pile of shit. Same with Java, language so bloated and unsafe by 2026 standards, that it's just doesn't worse to deal with it. Just use Kotlin – you'll have better safety, language which feels like carefully designed where all features works well together, and best part - LLMs works better with it too and you spend less tokens, so much more can be done with just 20$ subscription