Very interesting article by Dan Heidinga on when to initialize static final fields:

* at build time (for Graal's native image)
* before a checkpoint (for CRaC et al)
* as late as possible (for "classic" execution)

New challenges for developers ahead! Particularly for library/framework developers as supporting several approaches comes with extra complexity.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!