fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.9K
active users

#graalvm

2 posts2 participants0 posts today

🚀 New Release: API-Doc-Crafter just got sharper. Cleaner. Meaner.
Giving my little OpenAPI merging monster some upgrades.

It all started with a simple idea: merge OpenAPI specs from multiple repos.
Now? It transforms outdated Swagger specs to OpenAPI 3+, generates HTML pages with full navigation, and allows customization via config or env.

✨ SecurityRequirement deduplication - because why merge APIs if you can't also merge logic?

🧠 Custom metadata enrichment - inject your info, license, contact, and docs straight from config. No more excuses.

🔁 Better parser fallback - now tries more ways to read broken specs than your average intern in panic mode.

🎭 Variable substitution in outputs - ${variables} be gone. Use env or config, stay DRY, stay sane.

🧪 Tests expanded. HTML, JSON, YAML outputs covered like a nuclear bunker.

🧰 Powered by GraalVM, no reflection, blazing fast.
🐳 Native Docker builds.
🧼 Reflection config surgically trimmed. Less bloat. More edge.

Project: github.com/YunaBraska/api-doc-
Happy crafting. And remember: if your docs aren't automated, they're probably lies.

Java Is Becoming a Monster (And I Love It)
I used to think Java was done. Stale. Verbose. A relic.
But now? It mutated. It spawns 5000 virtual threads like it’s nothing.

I just built a REST service:
✅ Runs on virtual threads
✅ Functional pipelines
✅ Only a few MB RAM
✅ No thread-pools
✅ No leaks
✅ Pure JVM

This isn't Java 8 anymore.

✨ No Groovy. No Kotlin. No detours.
Java is now useful and gets Beautiful.

And then there’s GraalVM:
If you skip reflection and runtime init, you get:
⚡ Native executables
⚡ Instant startup
⚡ Tiny memory
⚡ No runtime surprises

Game. Changed.

But OSS frameworks?
Still look frozen in 2015.
Heavy, reflective, runtime-hacked monsters.

So I built my own tools:

🔥 TypeMap
→ Zero-reflection json/xlm reader & type converter
→ GraalVM native
→ Fast. Simple. Functional.
github.com/YunaBraska/type-map

⚔️ Nano
→ Anti-framework
→ Static main, no DI magic
→ Pure, clean design
github.com/NanoNative/nano

🧪 Nano example app
➡️ One single static main file
github.com/YunaBraska/nano-gra

🛠 API-Doc-Crafter
➡️ Native CLI doc tool
github.com/YunaBraska/api-doc-

🧭 My Java Functional Guidelines
devabyss.hashnode.dev/java-fun

Java isn't just catching up.
It’s setting the pace now.

The only question is:
Can frameworks and libraries keep up?

The program of #prog25 now features two amazing keynotes!

Molly Wright Steenson, who is well versed in #design and #architecture as well as #AI technology, will give a talk on "Architecture and Generativity".

Thomas Wuerthinger from Oracle Labs will share some of his experience as #GraalVM project lead in his talk: "What We Tried and Didn't Work for GraalVM".

To hear the keynotes in Prague this June, register for the conference here: 2025.programming-conference.or

Tried #GraalVM CE 24 using the new SkipFlow¹ feature. In a local test, reduced the native image binary size from 77990984 to 48106568 bytes!
____
¹ arxiv.org/abs/2501.19150

arXiv.orgSkipFlow: Improving the Precision of Points-to Analysis using Primitive Values and Predicate EdgesA typical points-to analysis such as Andersen's or Steensgaard's may lose precision because it ignores the branching structure of the analyzed program. Moreover, points-to analysis typically focuses on objects only, not considering instructions manipulating primitive values. We argue that such an approach leads to an unnecessary precision loss, for example, when primitive constants true and false flow out of method calls. We propose a novel lightweight points-to analysis called SkipFlow that interprocedurally tracks the flow of both primitives and objects, and explicitly captures the branching structure of the code using predicate edges. At the same time, however, SkipFlow is as lightweight and scalable as possible, unlike a traditional flow-sensitive analysis. We apply SkipFlow to GraalVM Native Image, a closed-world solution to building standalone binaries for Java applications. We evaluate the implementation using a set of microservice applications as well as well-known benchmark suites. We show that SkipFlow reduces the size of the application in terms of reachable methods by 9% on average without significantly increasing the analysis time.

🚀 Java 24 is here! 🦾

Modern Java has outpaced frameworks, waiting for them to catch up. With GraalVM, Virtual Threads, Native Compilation, and Functional Programming, do we even need frameworks anymore? 🤔

🔹 Java 24 optimizations I love:
✅ JEP 450 - Compact Object Headers for memory efficiency
✅ JEP 488 - Primitive types acting like objects

⚠️ No more 32-bit x86 support!

Java releases features only when they are ready. No half-baked experiments. Can’t wait for future operators like ?, ??, !., and ?..

Java is evolving fast. Are you keeping up? 🚀

🚀 Behold the jaw-dropping revelation: #GraalVM for JDK 24, released with the thrilling precision of a #synchronized swimmer! 🤡 Dive into 11 minutes of riveting #excitement as they unleash the same-old, brand-new, machine-learning-whatever onto the unsuspecting masses. 📦 #Download now, or don't.
medium.com/graalvm/welcome-gra #JDK24 #release #swimming #machinelearning #HackerNews #ngated

graalvm · Welcome, GraalVM for JDK 24!🚀 - graalvm - MediumBy Alina Yurenko