Hacker News new | ask | show | jobs
by nilput 2165 days ago
This is a scripting language i've written in C.

It has a surprisingly decent performance compared to other interpreted languages.

This could be partly attributable to the fact that the whole language is written in headers, so everything is available to the compiler where it can inline and do all kinds of optimizations, additionally the language is small and doesn't require much during initialization (the benchmark is ran 100 times with perf).

There's a benchmark in examples/bench/ where it beats PHP7, Python, Perl, and PUC Lua

1 comments

I hope you keep working on this. I think there is a definite need for something very small and simple that can be embedded into other tools, to squeeze out extra performance in critical spots without resorting to the nitroglycerin of C/C++.