lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Was this with the PUC-Rio Lua?

From: <> on behalf of Vadim A. Misbakh-Soloviov <>
Sent: Friday, March 24, 2017 8:19 PM
To:; Lua mailing list
Subject: Re: Selenophobia
>   - Lua didn't "just do things" that other languages might. One that
>     hit us was performance -- initial tests of the application showed it
>     taking 50x as much time as the same app coded in C++.  A few simple
>     optimizations got it down to about 5x, which was acceptable. These
>     were optimizations that any modern C/C++ compiler would do
>     automatically.

That reminded me the case, when I wrote crypt_sha256 (or 512? Whatever) on Lua
(just for preactice), and it was 2x-5x faster than reference C/C++
implementation from the author of the document (Ulrich Drepper, AFAIRC) :)