Elektrine lite

Feed

  • this is my "pat me" face ​:MizukiLovely:​

  • ​:feater_waaaaant:​

  • ​:MizukiTransFlag2:​

  • dollphin

  • need happy thoughts

  • infinite meows

  • grrrrrr

  • my heart sings a chorus out of tune

  • had a dream of being a magical girl fighting syndrome

  • bg3 i tested talking to dhourn using the default male drow appearance with female identity and he properly addressed her as mistress and handed over his research implying dnd drow society is not transphobic

  • what if the sun goes far away

  • 👚​:MizukiWink:​🧙‍♂️ミ💸

  • Today begins Innotrans, the rail industry's trade fair in Berlin. But yesterday there was a specially organized train from Brussels with policy makers, journalists, and industry representatives … and we were on it!

  • Challenge C: Find the cheapest way from Bruxelles to Chamonix Mont-Blanc by train. You (1 adult) work in the cabinet of European Commissioner for Transport Tzitzikostas and want to depart from Brussels to go to your skiing holiday in Chamonix Mont-Blanc, France on February 27, 2027 (5 months from now). You have no passes or reduction cards of any sort. And you do not like night trains. For the sake of this exercise only consider a single ticket to Chamonix. https://eupolicy.social/@erpu/117314...

  • RE: https://eupolicy.social/@erpu/117343452618450818 My new "favorite" challenge: trying to buy a Prague-Munich ticket on the direct EuroCity. 👉 With SBB: 106€ 👉 With DB: 55€ 👉 With CD: 24€ Details below 👇 @stefanlindbohm@mastodon.social

  • Who would have thought—a documentary about Java. Pretty cool. Watch it at https://www.youtube.com/watch?v=ZqGSg4b_cZA

  • Valhalla has arrived in mainline Java (build 28-ea+10-569): https://jdk.java.net/28/ $ cat Points.java value record Point(double x, double y) { public Point moveBy(double dx, double dy) { return new Point(x + dx, y + dy); } } void main() { var p = new Point(0, 0); for (int i = 0; i < 100_000_000; i++) { p = p.moveBy(Math.random() - 0.5, Math.random() - 0.5); } IO.println(p); } $ java --enable-preview Points.java

  • 1/2 Now that Valhalla is in mainline (https://jdk.java.net/28/), let's see what it can do: $ cat Ids.java value record Id(int value) {} public class Ids { void main() throws Exception { var ids = new Id[100_000_000]; for (int i = 0; i < ids.length; i++) ids[i] = new Id(i); IO.println(ids); Thread.sleep(10000); } } $ javac --enable-preview --source 28 Ids.java $ java --enable-preview Ids && (jcmd Ids GC.class_histogram | he...

  • 2/2 Here the histogram: num #instances #bytes class name (module) ------------------------------------------------------- 1: 1 800000016 [LId; 2: 8841 356272 [B (java.base@28-ea) 3: 1732 229232 java.lang.Class (java.base@28-ea) * No individual Id objects * A flat array of Id objects * Why 8 bytes per element? * Each Id is 4 bytes * Another byte for a nullness indicator * And 3 bytes padding Valhalla has arrived

  • My trip report from JCrete: https://horstmann.com/unblog/2026-08-10/index.html

  • At Basel One, I will present a workshop on Java for small coding tasks on October 14 and a deep dive into Java streams internals on October 15. This is one of my favorite conferences for networking. Hope to see you there! More at https://baselone.org

  • Interesting issue about Java Valhalla performance: https://mail.openjdk.org/archives/list/valhalla-dev@openjdk.org/thread/3P5463B2OWURWM4LIMYIQMQOMZCOR6LN, details at this nice blog: https://johan-sjolen.github.io/post/compiler-sympathy/compiler-sympathy

  • I just got back from the JavaZone conference in Oslo. It was a lot of fun--highly recommended. All videos: https://vimeo.com/javazone My video: https://vimeo.com/1223388783 My slides: https://horstmann.com/presentations/2026/javazone/

Older