Re: [SSSD] Embedding Lua into SSSD

2015-08-26 Thread Lukas Slebodnik
On (25/08/15 19:45), Nikolai Kondrashov wrote: On 08/25/2015 06:59 PM, Lukas Slebodnik wrote: On (25/08/15 15:57), Nikolai Kondrashov wrote: Hi Simo, On 08/21/2015 09:37 PM, Simo Sorce wrote: On Fri, 2015-08-21 at 20:01 +0300, Nikolai Kondrashov wrote: I might be in a strange and careless mood

Re: [SSSD] Embedding Lua into SSSD

2015-08-26 Thread Lukas Slebodnik
On (25/08/15 13:53), Simo Sorce wrote: On Tue, 2015-08-25 at 17:59 +0200, Lukas Slebodnik wrote: So the ideal would be to use Erlang and message passing instead of shared variables. Say Erlang one more time! ... (cit.) :-| As you wish :-) Erlang LS

Re: [SSSD] Embedding Lua into SSSD

2015-08-26 Thread Nikolai Kondrashov
On 08/26/2015 09:50 AM, Lukas Slebodnik wrote: On (25/08/15 19:45), Nikolai Kondrashov wrote: On 08/25/2015 06:59 PM, Lukas Slebodnik wrote: On (25/08/15 15:57), Nikolai Kondrashov wrote: Still, judging from the code distribution and overall architecture, I would say the first candidates will

Re: [SSSD] Embedding Lua into SSSD

2015-08-26 Thread Simo Sorce
On Wed, 2015-08-26 at 16:10 +0300, Nikolai Kondrashov wrote: On 08/25/2015 10:19 PM, Simo Sorce wrote: On Tue, 2015-08-25 at 21:26 +0300, Nikolai Kondrashov wrote: On 08/25/2015 08:48 PM, Simo Sorce wrote: On Tue, 2015-08-25 at 16:14 +0300, Nikolai Kondrashov wrote: * automatic

Re: [SSSD] Embedding Lua into SSSD

2015-08-26 Thread Nikolai Kondrashov
On 08/25/2015 10:19 PM, Simo Sorce wrote: On Tue, 2015-08-25 at 21:26 +0300, Nikolai Kondrashov wrote: On 08/25/2015 08:48 PM, Simo Sorce wrote: On Tue, 2015-08-25 at 16:14 +0300, Nikolai Kondrashov wrote: * automatic memory management (incremental mark-and-sweep with good

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Simo Sorce
On Tue, 2015-08-25 at 16:14 +0300, Nikolai Kondrashov wrote: Hi Pavel, On 08/24/2015 11:54 AM, Pavel Březina 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Michal Židek
On 08/25/2015 03:21 PM, Nikolai Kondrashov wrote: 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 06:05 PM, Michal Židek wrote: On 08/25/2015 03:21 PM, Nikolai Kondrashov wrote: 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 06:59 PM, Lukas Slebodnik wrote: On (25/08/15 15:57), Nikolai Kondrashov wrote: Hi Simo, On 08/21/2015 09:37 PM, Simo Sorce wrote: On Fri, 2015-08-21 at 20:01 +0300, Nikolai Kondrashov wrote: I might be in a strange and careless mood today, but here is something I wanted to

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Lukas Slebodnik
On (25/08/15 15:57), Nikolai Kondrashov wrote: Hi Simo, On 08/21/2015 09:37 PM, Simo Sorce wrote: On Fri, 2015-08-21 at 20:01 +0300, 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 04:14 PM, Nikolai Kondrashov wrote: Hi Pavel, On 08/24/2015 11:54 AM, Pavel Březina 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 04:21 PM, Nikolai Kondrashov wrote: 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 08:48 PM, Simo Sorce wrote: On Tue, 2015-08-25 at 16:14 +0300, Nikolai Kondrashov wrote: On 08/24/2015 11:54 AM, Pavel Březina 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 09:26 PM, Nikolai Kondrashov wrote: I think a lightweight embeddable language could be an asset to SSSD, in general. It doesn't have to be Lua. I think Lua is a good candidate, but there are other similar languages around, although probably not of such extended vintage. There is

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
Hi Pavel, On 08/24/2015 11:54 AM, Pavel Březina 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
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

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
On 08/25/2015 03:57 PM, Nikolai Kondrashov wrote: I expect main savings to come from exception support, automatic memory management, simpler data massaging, and brevity of a scripting language (e.g. implicit, dynamic typing). Oh, and another thing which scripting languages bring and which I'm

Re: [SSSD] Embedding Lua into SSSD

2015-08-25 Thread Nikolai Kondrashov
Hi Simo, On 08/21/2015 09:37 PM, Simo Sorce wrote: On Fri, 2015-08-21 at 20:01 +0300, 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-24 Thread Michal Židek
On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: Hi everyone, 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

Re: [SSSD] Embedding Lua into SSSD

2015-08-24 Thread Pavel Březina
On 08/21/2015 07:01 PM, Nikolai Kondrashov wrote: Hi everyone, 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

[SSSD] Embedding Lua into SSSD

2015-08-21 Thread Nikolai Kondrashov
Hi everyone, 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]? Lua is a language

Re: [SSSD] Embedding Lua into SSSD

2015-08-21 Thread Simo Sorce
On Fri, 2015-08-21 at 20:01 +0300, Nikolai Kondrashov wrote: Hi everyone, 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