Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Excellent comparisons. ~150KB without unicode would make Rust the smallest wasm on Regex101 as far as I can tell. pcrelib comes in at 198KB. Personally, I think ~400KB with unicode features is just fine for .wasm size. The heaviest flavor C# is around 4.91MB and was added back in February of this year. They also had a performance comparison which would also be interesting.
For Java, no WASM file is requested. Maybe the Java code was transpiled to JavaScript, perhaps using TeaVM.
To me, the deprecation notice of the wasm-gc project (https://github.com/alexcrichton/wasm-gc) reads like this shouldn't be necessary anymore with a recent version of the compiler.