J
Jan Decaluwe
The Python community is about to offer us a free lunch.
A new compliant interpreter, pypy, is already 4.3x faster
than cPython, and getting faster everyday. It shows
that there is not conceptual reason why high-level
dynamic languages should be slow.
For MyHDL, an HDL implemented as a Python library, the
results are even more spectacular: my benchmarks run
8-20x faster on pypy. In a single strike, this makes
MyHDL simulation performance competitive with Verilog/VHDL.
Apart from the fact that MyHDL makes a good "scripting"
companion to Verilog/VHDL, there is another reason why
I post to these newsgroups: the benchmark results may be
useful to users and developers of other open source
simulators also. For example, icarus Verilog is quite
consistent, but GHDL is not. In one benchmark, it is
100x slower than the fastest simulator.
http://myhdl.org/doku.php/performance
Jan
A new compliant interpreter, pypy, is already 4.3x faster
than cPython, and getting faster everyday. It shows
that there is not conceptual reason why high-level
dynamic languages should be slow.
For MyHDL, an HDL implemented as a Python library, the
results are even more spectacular: my benchmarks run
8-20x faster on pypy. In a single strike, this makes
MyHDL simulation performance competitive with Verilog/VHDL.
Apart from the fact that MyHDL makes a good "scripting"
companion to Verilog/VHDL, there is another reason why
I post to these newsgroups: the benchmark results may be
useful to users and developers of other open source
simulators also. For example, icarus Verilog is quite
consistent, but GHDL is not. In one benchmark, it is
100x slower than the fastest simulator.
http://myhdl.org/doku.php/performance
Jan