Papers

By ForthPapersMirror

Papers Alternatives

Similar projects and alternatives to Papers

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Papers alternative or higher similarity.

Papers reviews and mentions

Posts with mentions or reviews of Papers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-08.
  • MiniVM: A minimal cross-language runtime that beats C/luajit on some benchmarks
    10 projects | news.ycombinator.com | 8 Jan 2022
  • Writing a register based VM in less than 125 lines of C code
    5 projects | news.ycombinator.com | 8 Dec 2021
    Further to this: this kind of thing is something the Forth community takes seriously. They call these threaded code techniques. [0] (The Gforth interpreter, for instance, gives you the choice of various different techniques.)

    Anton Ertl of Gforth fame published a microbenchmark performance comparison of toy interpreters, written in C, run on various CPUs. [1] As you say, the approach using function pointers (call threading) scores poorly.

    Interestingly, direct threading and indirect threading are extremely close, with the winner seeming to depend on the specific CPU. [1] Branch-prediction differences seem to be the main reason. There was a 2001 paper on this. [2]

    [0] https://www.complang.tuwien.ac.at/forth/threaded-code.html

    [1] https://www.complang.tuwien.ac.at/forth/threading/

    [2] https://github.com/ForthPapersMirror/Papers/blob/master/Conv...

Stats

Basic Papers repo stats
2
4
1.8
about 3 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com