3 ms·
I've looked into this abandoned gcc port a while ago, and try to resurrect it, esp. after they added modula2. Didn't get far. It produces of course far better
by rurban 4y ago
I've looked into this abandoned gcc port a while ago, and try to resurrect it, esp. after they added modula2. Didn't get far.
It produces of course far better code than free pascal/lazarus. It could even beat all other gcc backends. As you see in some gcc benchmarks, the modula2 part produces the smallest and fastest code of all backends, esp. C++ and C.
Which would be nice for safer system languages, since we have only ADA/Spark. And ADA is lost in commercial/military hell, even with Spark.
But we would really need a Concurrent Pascal or Oberon dialect, similar to Go.
Nowadays I would just add dialects on top of modula2, like the different C standards.
- Qem 4y ago> As you see in some gcc benchmarks, the modula2 part produces the smallest and fastest code of all backends, esp. C++ and C. Modula-2 beats C and Fortran on Fourmilab's FBENCH. See https://www.fourmilab.ch/fbench/fbench.html https://www.fourmilab.ch/fbench/fbench.html