3 ms·
"We would like to be able to Grok all open-source code in the world. For any given Java library in the world, find all callers of this function!" Whether it wi
by ZitchDog 14y ago
"We would like to be able to Grok all open-source code in the world. For any given Java library in the world, find all callers of this function!"
Whether it will work or not, this is a truly audacious and remarkable vision.
- hythloday 14y agoYou can do stuff that's quite a bit more amazing than that (though I guess this goes against his point of "manage expectations"): For any given C++ refactoring (rename method + swap args), propagate that refactoring automatically to every caller of the refactored function, such that upgrading to a new version of the library is automatically refactored correctly. Parse this Python function and emit it as C, for optimization. Parse this C function and emit it as Python, for readability. Cross-layer data-flow analysis - so you could track that a lock that's taken out in Java and released in C++ code would never produce deadlocks.
- mej10 14y agoI have been dreaming of something like this for years. So glad that it is being worked on.
- spullara 14y agoCan't wait for to refactor a library and have pull requests auto generated for all the code that depends on it.