News for hackers. Stuff that matters.
Re:Java: New Draft JEP: “Computed Constants” by zeroimpl on Thursday August 03, 2023 @08:24PM (#36993895)
Name seems a bit odd. The item it points at doesn’t have to be immutable. I’d rather something like LazyValue since Lazy is the important part.
Re:Java: New Draft JEP: “Computed Constants” by kasperni on Friday August 04, 2023 @03:12AM (#36996502)
It is not necessarily lazy. Computations might, for example, be time-shifted to link time instead of runtime. See some of the notes on project Leyden for more details [1].

https://openjdk.org/projects/leyden/notes/02-shift-and-const...