4 ms·
Title might need to include "Show HN". Very cool and interesting project! How are build times? And how big are the artifacts? I'll for sure keep an eye on thi
by asabla 2y ago
Title might need to include "Show HN".
Very cool and interesting project! How are build times? And how big are the artifacts?
I'll for sure keep an eye on this, and add it to my ever expanding list of tech to explore.
Thank you for sharing!
- deleted 2y ago[deleted]
- drogus 2y agoThe binaries are a few KBs at the moment. I haven't measured the build times, cause it's too early for it to mean much. The amount of supported types and functions is very limited, so it will change a lot over time as I add more stuff. One interesting thing is that `eval()` support will require custom WebAssembly host functions, cause you can't do custom code generation in WASM. Thus by default the project will assume "no eval" compilation. In this mode it will be possible to do a lot of optimizations, like for example remove unused parts of the language/types, do certain optimiztions knowing exactly what types the script is dealing with etc. So a simple script that doesn't use a lot of the builtins should eventually result in a fairly small binary.
- deleted 2y ago[deleted]