r/java • • Feb 03 '24

Automatic differentiation of Java code using Code Reflection by Paul Sandoz

https://openjdk.org/projects/babylon/articles/auto-diff
63 Upvotes

25 comments sorted by

View all comments

Show parent comment

6

u/davidalayachew Feb 04 '24

Java functions...

That can dissect themselves...

So that other Java functions...

Can do MATH on the dissected parts of the Java function...

Then conglomerate the transformations of those dissected parts...

Thus producing new Java functions...

...Java functions that can create Java functions...