[SSSD] Embedding Lua into SSSD
Nikolai Kondrashov
Nikolai.Kondrashov at redhat.com
Tue Aug 25 13:21:44 UTC 2015
Hi Michal,
On 08/24/2015 05:06 PM, Michal Židek wrote:
> On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote:
>> I might be in a strange and careless mood today, but here is something I
>> wanted to suggest since the time I saw the amount of logic that goes into
>> SSSD and is implemented in C.
>>
>> What if we implement some of the complicated logic inside SSSD in Lua [1]?
>
> I may be too conservative here, but I believe SSSD should be written in
> language with static type-checking at least as strong as C.
I agree that C's static typing is very useful, even though C also requires
implicit typing bringing verbosity. Still, using Lua is a tradeoff. We can
trade static typing for the benefits Lua brings, which mostly boil down to
smaller, clearer code.
BTW, a while ago I read a good treatise on the topic, which I'm happy to
share:
https://cdsmith.wordpress.com/2011/01/09/an-old-article-i-wrote/
Nick
More information about the sssd-devel
mailing list