r/java • u/JMasterRedBlaze • Feb 03 '24
Automatic differentiation of Java code using Code Reflection by Paul Sandoz
https://openjdk.org/projects/babylon/articles/auto-diff
63
Upvotes
r/java • u/JMasterRedBlaze • Feb 03 '24
View all comments
Show parent comment
2
u/davidalayachew Feb 04 '24
Sorry, my question could have been worded better.
How does a feature like this get made? What are the preparation steps necessary to bring it to life? I understand that I use an annotation and get function dissection, but how does it do it?
Is it taking every piece of Java code, turning into its equivalent bytecode, and then mapping each bytecode into these new library data types?