dtolnay/watt

Hand off code to a preinstalled optimized runtime if available

Open

#2 opened on Oct 14, 2019

View on GitHub
 (33 comments) (2 reactions) (0 assignees)Rust (31 forks)github user discovery
help wanted

Repository metrics

Stars
 (1,501 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

From some rough tests, Watt macro expansion when compiling the runtime in release mode is about 15x faster than when the runtime is compiled in debug mode.

Maybe we can set it up such that users can run something like cargo install watt-runtime and then our debug-mode runtime can detect whether that optimized runtime is installed; if it is, then handing off the program to it.

Contributor guide