lbForth icon indicating copy to clipboard operation
lbForth copied to clipboard

Use save-image to write a new executable

Open larsbrinkhoff opened this issue 8 years ago • 2 comments

Use the save-image to write a new executable with everything pre-loaded.

  • It will make Forth start faster.
  • It will test the save-image library.
  • There will be an incentive to make save-image work in more targets.

larsbrinkhoff avatar May 09 '17 19:05 larsbrinkhoff

I'm not sure how much of a win it would be for asmjs (all data has to be encoded as javascript and go through the parser), but wasm would definitely benefit.

pipcet avatar May 09 '17 19:05 pipcet

You are right, not all targets can or should support saving the image.

larsbrinkhoff avatar May 10 '17 05:05 larsbrinkhoff