Repository navigation
Releases
Releases · EL4CTEO/fast-anything
v0.7.0
- JavaScript/TypeScript apps also run on Bun and Deno (#55);
doctorchecks them. - Node.js:
worker_threadsare profiled and recorded too (#53). - Warns when the original changed since its port was recorded (#29).
disable --allswitches every port back at once (#41).- Python:
scanruns throughuv run,poetry runand other env runners (#34).
Thanks @mohitmishra786.
v0.6.2
- npm: the launcher sets the binary's execute bit, fixing
EACCESon macOS and Linux (#27, thanks @podsni). - Python verify only accepts the exception type the original raises; a Rust panic no longer counts (#23).
buildwon't put an enabled port live if its Rust changed since verify (#25).doctorchecks minimum runtime versions and PHP's FFI extension (#31).go --agentsends a right-but-slower port back to the agent for speed, and keeps the best right attempt (#35).verify --allre-checks every port (#38).- MCP: progress notifications during long tool calls (#44).
Thanks @mohitmishra786.
v0.6.1
- Python: verify tells ints from floats (#9);
@staticmethods can be ported (#13). - Node.js: verify checks functions that aren't exported (#15); entry-script functions port when the main code sits under
if (import.meta.main)orrequire.main === module(#17);constfunctions port (declared withletwhile enabled, put back on disable) (#19); typed-array edge cases,Uint8ClampedArray,BufferandSet<string>(#22). Thanks @mohitmishra786 and @ashp15205. benchwarns when the app prints something else with the Rust ports (#11).- C/C++: Intel oneAPI compilers (
icx,icpx,dpcpp);-fsyclbuilds profile host code only (#21, thanks @Asahi-Prv).
v0.6.0
- C# / .NET 8+:
fast-anything scan -- dotnet run -c Release. Profiled with the runtime's own EventPipe sampler (nothing to install), sources read with Roslyn, ports called through NativeLibrary. Static methods taking numbers, strings, arrays, lists and string-keyed dictionaries; verify adds edge cases and shrunk inputs. Thanks @JuggyBob for the request (#3). portrefuses functions that change their arguments in place (seen while recording): a port only returns a value, so verify could pass a port that drops those changes (#4).- Python: parameters with non-literal defaults and keyword-only parameters get valid PyO3 signatures (#5, thanks @mohitmishra786); TASK.md shows an empty set as
set()(#7). - Ports rebuild about 4× faster after each edit (no LTO, parallel codegen; no measurable runtime cost).
v0.5.1
- Python: keyword arguments get edge cases and smaller inputs in verify;
bytes,bytearrayandtuple[T, ...]map to Rust types; fixed generated byte literals. Thanks @ashp15205 (#1).
v0.5.0
- Edge cases in verify: NaN, ±infinity, -0.0, 0 and ±1, non-ASCII text (accents, CJK, emoji, combining marks), empty and up to 4,096-item inputs, built from the recorded calls and answered by the original. Python, Node.js/TypeScript, Ruby, Go and C++.
- A port that's right but slower per call than the original (the call into Rust costs more than the work) isn't enabled;
enable --forceoverrides.
v0.4.0
- C and C++ (gcc or clang):
fast-anything scan -- clang -O2 main.c lib.c. fast-anything builds the app itself, profiles every function for one run, and loads ports with LoadLibrary or dlopen. C ports take numbers, strings andconst T *+ length arrays; C++ ports also take std::string, vector, array, map and pair. - Java apps built with Maven (
mvn -q compile exec:java) or Gradle (gradle -q run): sources come fromsrc/main/java, every JVM the build starts is profiled, and Gradle runs without its daemon.
v0.3.0
- PHP (8.1+): apps run as
php app.php. Profiled with a one-line timer per function for one run, parsed with PHP's tokenizer, ports called through the FFI extension.
v0.2.0
- Java (22+): apps run as
java App.java. Profiled with Flight Recorder, parsed with javac's own parser, ports called through the FFM API. - Go (1.22+): apps run as
go run .. Profiled with pprof, bench times a prebuilt binary so the compiler isn't counted. Ports load through the Windows loader or dlopen. - Ports for the C-bridge languages are now verified by fast-anything itself, in a child process, so a crashing port can't take it down.
- Temporary edits made while profiling or recording are backed up in
.fast/backupand restored even after an interrupted run.
v0.1.0
- Profile, port, verify, enable, bench and report for Python (PyO3), Node.js/TypeScript (napi-rs) and Ruby (C ABI + JSON via Fiddle, no headers needed).
- Ports functions in the entry script too, when its main code is under a main guard.
- Ports the outermost hot loop, with the helpers it calls, so the app crosses into Rust once instead of per call.
- Verifies against up to 500 real recorded calls plus derived cases (shrunk inputs answered by the original).
go --agent claude|codex|<cmd>: the whole loop in one command.doctorchecks your toolchain.- MCP server (
fast-anything mcp), Claude Code plugin and agent skill. - npm (
npm i -g @el4cteo/fast-anything) and crates.io packages, prebuilt binaries for Windows, macOS and Linux.