Would be sweet if I can have a static #HTML / #CSS website that uses #HTMX for interaction with a backend written in Kotlin and compiled to #wasm running on an edge location using #wasi .
In java, is there a simple, idiomatic, standard-library built-in way to iterate a Stream n elements at a time? E.g., in pairs, using a BiConsumer or similar two-argument Function?
#Java
Si vous cherchez un JRE/JDK pour une plateforme précise sans avoir à vous faire chier avec le site immensément casse-gonades d'Oracle, vous pouvez télécharger ici les OpenJDK.
Il y a également les anciennes versions de Java jusqu'à Java 8. https://adoptium.net/fr/temurin/releases/
It's fascinating to me looking at beginning language guides and thinking "what does this say about the culture of the language"
When I was delving into #OCaml it was (with affection) "here's hello world and here's a dense academic paper on implementing event systems in OCaml 5!"
#Java guides used to be centered on the assumption that you were a web programmer looking to do applets, even long after that assumption died.
#RustLang generally seems to assume a background in programming w/ a CLI.
I'm running a fairly small #Java service, and recently switch it over to Generational ZGC. Turns out ZGC scales down quite well. After the heuristics settled, max heap is now kept below 300 MiB, which is less than what we got with G1GC. Pause times are also much lower, with sum total pause per minute occasionally reaching 1 ms, but is usually sub-ms. I can see why they want to make this the default in Java 23.
Three weeks ago, the quarterly (security and stability) updates to various Java source code repositories were released. This means, new packages for OpenJDK versions 8, 11 and 17 are now in my Slackware repository. It took a while but hey, here they are.
For OpenJDK 8 I still use icedtea to compile the Java sources because it is convenient. The more modern