openjdk/amber-docs
View on GitHub ↗ ★ 146 HTML
https://openjdk.org/projects/amber
26 mentions on Hacker News by 16 people: 8 stories, 18 comments · first 2020-08-18 · latest 2024-01-13
20082026
-
…for a little over two years ( https://mail.openjdk.org/pipermail/amber-dev/2021-September/... , https://github.com/openjdk/amber-docs/blob/master/site/desig... ). > The syntax of C# or Python is also lightweight, fine by me. Python has…
comment by pron · 2024-01-13 · in JEP draft: String Templates (Final) -
This design note could be of interest: https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
comment by bafe · 2023-09-26 · in JEP 457: Class-File API for Parsing, generating, transforming Java classfiles -
Have you seen the whole plan? https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
comment by kaba0 · 2023-08-10 · in Java 21: What’s New? -
https://github.com/openjdk/amber-docs/blob/master/eg-drafts/... This is the vague plan.
comment by kaba0 · 2023-03-18 · in JDK 20 G1/Parallel/Serial GC Changes -
…was ADTs, so we did buy into that. But the approach being explored for transforming records ( https://github.com/openjdk/amber-docs/blob/master/eg-drafts/... ) only works one level at a time rather than for an entire path. So I wonder how…
comment by pron · 2023-01-16 · in Making Lenses Practical in Java -
In the works: https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
comment by pron · 2023-01-16 · in Making Lenses Practical in Java -
…by copying objects. Never the less this eerily looks similar to Goetz proposal for reconstructors: https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
comment by vips7L · 2023-01-16 · in Making Lenses Practical in Java -
Just a heads up, something like that spread operator is actually coming sooner or later to java: https://github.com/openjdk/amber-docs/blob/master/eg-drafts/... Pattern matching (for records) is already a preview feature.
comment by kaba0 · 2022-12-10 · in How I got involved in the Rust community -
While to my knowledge there is not yet a final decision, ‘withers’ are planned to solve that. https://github.com/openjdk/amber-docs/blob/master/eg-drafts/... Basically, p = p with { .x = 3 } or something like that. But that will also…
comment by kaba0 · 2021-12-24 · in State of Valhalla -
…avoiding unnecessary mutation for such classes (instead, we'll have "withers" or "reconstructors": https://github.com/openjdk/amber-docs/blob/master/eg-drafts/... ). So we're killing two birds with one stone: making it easier to work with…
comment by pron · 2021-10-24 · in New language features since Java 8 to 17 -
…For example, here’s one on the future of a seemingly trivial feature, string interpolation: https://github.com/openjdk/amber-docs/blob/master/site/desig...
comment by kaba0 · 2021-09-17 · in Shenandoah in OpenJDK 17: Sub-millisecond GC pauses -
…record Point(int x, int y) {} Point p = new Point(1, 2); Point pp = p with { x = 3; } [1] https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
comment by BoyRobot777 · 2021-09-14 · in Java 17 / JDK 17: General Availability -
…and destructuring [1]. This is just exploratory but may be what you're thinking about? [1] https://github.com/openjdk/amber-docs/blob/master/site/desig...
comment by carimura · 2021-09-14 · in Java 17 / JDK 17: General Availability -
…and record deconstruction. Goetz has put together a draft that shows how these could be combined. https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
comment by papercrane · 2021-05-07 · in Java's records, Lombok's data, and Kotlin's data classes -
…an upcoming version of Java will get first class ergonomic support for manipulating immutable data: https://github.com/openjdk/amber-docs/blob/master/eg-drafts/... There is also https://github.com/hrldcpr/pcollections
comment by The_rationalist · 2021-05-07 · in Java's records, Lombok's data, and Kotlin's data classes -
…future, they rather not maintain properties forever. I think the current future view is Withers ( https://github.com/openjdk/amber-docs/blob/master/eg-drafts/... ).
comment by kaba0 · 2021-04-02 · in A categorized list of all Java and JVM features since JDK 8 to 16 -
…Where did you get that info about patter matching?. By the way, java is really catching up on that. https://github.com/openjdk/amber-docs/tree/master/eg-drafts
comment by SureshG · 2020-08-18 · in Kotlin 1.4 Released with a Focus on Quality and Performance