kerfuffle, to Java
@kerfuffle@mastodon.online avatar

Who here knows a CDN that offers edge computing capability for the JVM / GraalVM?

AWS Lambda@Edge only supports JavaScript and Python.
Cloudflare only supports JavaScript.
Fastly supports WebAssembly.

#cdn #java #jvm #graalvm #edgecomputing

graalvm, to Java
alexelcu, to programming
@alexelcu@social.alexn.org avatar

PRO-TIP: can compile packages with 's native-image. And without --no-fallback, the compatibility issues (e.g., w/ reflection) are minimal.

Fast startup, reasonable binary size, good RAM use 💪

preslavrachev, (edited ) to Java
@preslavrachev@mastodon.social avatar

Probably, an unpopular opinion, but hear me out: Java needs developer tools that are lightweight and built with native performance in mind. The existing ecosystem is solid, but slow and inefficient.

We can start with a simple formatter built in Rust, which takes nanoseconds to format your codebase, and does it relentlessly, without relying on you giving it any configuration options at all. Think, gofmt, rustfmt, Ruff’s Black-compatible formatter, etc.

Is this … ?

preslavrachev,
@preslavrachev@mastodon.social avatar

@hawkesnest I don't mind seeing this implemented using 's native image capabilities. It will be the perfect of dogfooding - developing with the best of the JVM has to offer, and exporting to native for performance reasons.

I only fear that the Java community would fall back on the exisiting tooling, unless an outsie competitor comes to shake the status quo. That's why I suggested Rust. Plus, it is guaranteed to be even faster (and with a smaller mem footprint).

Ozzy, to cpp

in case you also wonder #1brc and compare #cpp vs #java I ran some code in my old laptop and numbers are fun to share.

cpp is from https://github.com/lehuyduc/1brc-simd and java from https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_royvanrijn.java

for java I used #GraalVM to generate a native binary image and results:

./run_cpp.sh
Using 8 threads

real 0m23.854s

and for java
./calculate_average_royvanrijn.sh

real 0m13.402s

looks like java winning here or am I reading wrong ?

Ozzy,

then I wonder about #rust and tried https://github.com/mtb0x1/1brc/tree/main result

real 0m17.630s

looks like still #java / #GraalVM winning. I was not expecting this. I am definitely looking at something wrong.

bonk, to Java German
@bonk@social.saarland avatar

Does anybody have experience with GraalVM Native Image on Raspberry Pi? Is it working flawlessly?

nurkiewicz, (edited ) to Java
@nurkiewicz@fosstodon.org avatar

The current leaderboard of The One Billion Row Challenge is a testimony of . 6 out of 10 best results run on it. https://github.com/gunnarmorling/1brc/blob/main/README.md#results

thomasvitale, to Java

Spring Boot 3.2 is officially here 🍃 Support for Virtual Threads, RestClient, JdbcClient, and improvements to certificate management, OCI image builds, and observability!

Say goodbye to Java 8 and Java 11. They served us well, but it's time to move on! Java 21 rocks! 🚀

thomaswue, to Java

JIT is for development and AOT is for deployment. Also, AOT for sure won’t be worse than JIT for peak performance.

some, to random

I've moved the dependency manager out of my utility sripts repo and into it's own repo, written from scratch.

It has a similar API to yarn and currently can add, update and remove dependencies in a very simple manner. I hope to use soon to package and distribute for some of the fast startup goodness.

https://github.com/somecho/depo

masukomi, to macos
@masukomi@connectified.com avatar

question

Does anyone know of a language OTHER than swift that lets you create native, modern MacOS GUI apps?

Requirements:

  • not Swift / SwiftUI
  • doesn't require me to code in xcode
  • could actually be distributed via app store
  • not HTML ... like actual native GUIs
  • works on arm macs

I don't really care about app store i just require no "hey install this esoteric & geeky thing if you want to run my app" ;)

bahmanm,

@masukomi I wonder if with native images could be what you're looking for?

joschi, to Java

Has anybody looked more closely into the new GraalVM Free Terms and Conditions (GFTC) license and can tell me what the caveats are? 🤔

rafael, to azure

If you are in Utrecht next week for , come to watch my presentation.


video/mp4

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines