benchmarks icon indicating copy to clipboard operation
benchmarks copied to clipboard

What does (staged) mean?

Open A-childs-encyclopedia opened this issue 2 years ago • 2 comments

I noticed that both scala and racket have this

A-childs-encyclopedia avatar Dec 26 '23 15:12 A-childs-encyclopedia

ping @nuald

gavr123456789 avatar Mar 14 '24 19:03 gavr123456789

There is a good explanation here: https://cs.stackexchange.com/a/2914 in short, the program is executed in 2+ stages:

  1. Code generation
  2. Operate on data using the generated code.

It's not the reference implementations, and rather included just for testing purposes. However, if your programming language supports it, you may want to take advantage of it.

nuald avatar Mar 20 '24 20:03 nuald