3 ms·
First I saw of this was about 9 years ago, with https://fenicsproject.org/ https://fenicsproject.org/ The Python "front-end" allows you to write something whic
by magicalhippo 9y ago
First I saw of this was about 9 years ago, with https://fenicsproject.org/ https://fenicsproject.org/
The Python "front-end" allows you to write something which looks very much like the math you're trying to solve. When evaluated, the Python code generates specialized C++ code for a Python module which is in turn compiled and linked back in, and then the C++ code is executed producing the results.
Guess this is old news now but I was pretty blown away by it back then.