15 ms·
Step 1. Start with a library that is a fat wrapper around a massive C++ library that does all the hard work Step 2. Rewrite only the wrapper using already writ
by forrestthewoods 2mo ago
Step 1. Start with a library that is a fat wrapper around a massive C++ library that does all the hard work
Step 2. Rewrite only the wrapper using already written tests.
Step 3. Get internet points because an LLM Rewrote it in Rust!
- ramon156 2mo agoTo be fair, big refactors like this need to be done gradually. This is obviously the first step. Next step can be to port it using e.g. tractor tooling and have a bunch of unsafe calls you need to implement. It's a really fun puzzle. The goal is to have no more cpp dependency