kostya / benchmarks

Some benchmarks of different languages
MIT License
2.8k stars 253 forks source link

What does (staged) mean? #485

Open A-childs-encyclopedia opened 9 months ago

A-childs-encyclopedia commented 9 months ago

I noticed that both scala and racket have this

gavr123456789 commented 6 months ago

ping @nuald

nuald commented 6 months ago

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.