Philippe Marschall

1.1K posts

Philippe Marschall

Philippe Marschall

@pmarscha

Beigetreten Eylül 2009
218 Folgt156 Follower
Philippe Marschall
Philippe Marschall@pmarscha·
@debasishg That’s how it looks. Same for Babylon. Loom / virtual threads are in since 21. 26 had the 4th preview of structured concurrency.
English
0
0
1
89
Debasish (দেবাশিস্) Ghosh 🇮🇳
value objects in JDK 26 will be a game changer in data oriented programming .. Value objects are identity-less and immutable by design. The JVM is allowed to: • Flatten (inline) them directly into the memory layout of the containing object or array. • Eliminate the per-instance header and padding that regular objects require. • Store them contiguously, just like a C struct or a Rust struct. Concrete performance wins delivered: • Cache-friendly data structures: Point[], Complex[], Vector3d[], record-like data carriers, etc., now behave like primitive arrays. • No more @ Contended hacks (the old annotation that manually padded fields to avoid false sharing). • Better locality in collections (e.g., ArrayList or specialized value collections will be dramatically faster). • Reduced GC pressure because fewer objects = fewer things for the garbage collector to scan. • AOT / JIT friendliness - the compiler can make much more aggressive assumptions about layout and inlining.
Paul@PaulLarionov

JDK 26: - build-in HTTP/3 - AOT caching for lightning-fast startup - project Valhalla: value objects, goodbye memory overhead, hello CPU cache - project Loom: structured concurrency making async code as easy as sync - project Amber: pattern matching & data-oriented programming - project Babylon: running pure Java natively on GPUs for AI

English
7
11
86
9.7K
sudox
sudox@kmcnam1·
sudox tweet media
ZXX
113
72
1.3K
54.2K
Philippe Marschall
Philippe Marschall@pmarscha·
@phyziyx @ptr_to_joel They should and they very well may do so. Connection pools are usually exposed as DataSource objects to the application. Just by looking at the code it’s impossible to tell whether getConnection opens a physical connection or gets one from a pool.
English
1
0
0
22
phyziyx
phyziyx@phyziyx·
@ptr_to_joel Shouldn't they be using a pooled connection? which is usually handled by the driver/library of your choice unless you're implementing your own?
English
1
0
4
2K
Joel 🇦🇺
Joel 🇦🇺@ptr_to_joel·
>be “””senior””” engineer >want to be linkedin influencer >make post on prod issue >highlight your language fundamentals are junior tier
Joel 🇦🇺 tweet media
English
160
65
2.9K
534.8K
Philippe Marschall
Philippe Marschall@pmarscha·
@lavenderleaf86 @ptr_to_joel Only a sith deals in absolutes. I was on a project with tables that had 140 columns. SELECT * would have cut down the allocation by about two oders of magnitude. It stopped being beneficial once we introduced virtual columns for function based indices.
English
0
0
1
278
Res
Res@lavenderleaf86·
@ptr_to_joel Besides the other red flags everyone already mentioned, I’m surprised no one is freaking out about “select *” in production. This would not only be an insta-fire from me but the school this guy graduated would be sued. If this is your skill level just use an ORM at this point.
English
4
0
56
18K
Philippe Marschall
Philippe Marschall@pmarscha·
@lezate_ @LewisCTech @ptr_to_joel I’d be interested to see numbers with current Hibernate and either DTO projection or StatelessSession. It could even be faster as it uses index based ResultSet access, something you’d generally want to avoid in “hand written” code.
English
0
0
0
257
Philippe Marschall
Philippe Marschall@pmarscha·
@SimonLevermann @ptr_to_joel Theoretically the spec says closing the PreparedStatement should implicitly close the ResultSet, whether the driver actually does this is a different matter. But yes, everything AutoColseable should go into a try-with-resources.
English
0
0
0
23
Philippe Marschall
Philippe Marschall@pmarscha·
@LewisCTech @ptr_to_joel 3. “It depends”, if it’s from a pool it will return it to the pool. The spec saying it should also release all the resources (prepared statement, result set, …) but whether the driver actually follows the spec is a different question.
English
0
0
0
163
The Lunduke Journal
The Lunduke Journal@LundukeJournal·
Xorg has now officially abandoned the “master” branch of their X11 implementation… And moved all development to a newly created“main” branch based on a 2 year old version of Xorg (from February of 2024), losing a large number of enhancements (by the XLibre developer) in the process. This appears to have been done so that Xorg could virtue signal by removing code now successfully used by XLibre (the Xorg fork gaining in popularity), which is seen by those controlling Xorg as having the “wrong political views”. cgit.freedesktop.org/xorg/xserver/c…
The Lunduke Journal tweet mediaThe Lunduke Journal tweet media
English
75
70
933
49.9K
Philippe Marschall
Philippe Marschall@pmarscha·
@CrystalRacing What I meant is I don’t see the need to prescribe all the engine details when you have a fuel flow limit in place.
English
0
0
0
28
F1 Stats & No Bants
F1 Stats & No Bants@CrystalRacing·
@pmarscha The fuel flow limit isn't really the issue like it was between 2014-25. The tiny size of the MGU-K battery store (4 kilojoules) cannot store enough power to help a car push fully for an entire lap. That's what I meant by energy starvation - super clipping thru speed traps
English
1
0
0
244
F1 Stats & No Bants
F1 Stats & No Bants@CrystalRacing·
F1 2026 regs are simply peak bureaucracy Front axle energy? No, Audi might slap us all Bigger MGU-K RAM capacity? No, cars might be too heavy More driver input? No, but here's active aero
English
12
8
298
10.5K
JR
JR@JRbwaker·
@thef1diplomat It’s not Audis fault, it was always going to be 50:50 engine battery, that’s where his criticism is rooted.
English
1
0
19
14.1K
f1diplo
f1diplo@thef1diplomat·
Holy shit, Max’s statements are fucking brutal. lol. Audi ruined F1 😭
English
32
50
7.1K
570.6K
Philippe Marschall
Philippe Marschall@pmarscha·
@cookskii @thef1diplomat No front recuperation because auf Audi LMP1. Rest is follow up issues because recuperating with the rear is not nearly as effective.
English
0
0
2
2.7K
JNS
JNS@_devJNS·
what's antivirus?
JNS tweet media
English
145
118
2.3K
53.9K
Hernan Cortes
Hernan Cortes@CyberPunkCortes·
A Warhammer 40K movie is a question of when, not if.
English
462
832
10.5K
1.4M