Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Erlang <-EI interface-> Lua
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bukaka  
View profile   Translate to Translated (View Original)
 More options Oct 27 2009, 3:27 pm
From: bukaka <d.bulas...@gmail.com>
Date: Tue, 27 Oct 2009 12:27:27 -0700 (PDT)
Local: Tues, Oct 27 2009 3:27 pm
Subject: Erlang <-EI interface-> Lua
Не сочтите за рекламу, подумал что будет полезным:

http://gitorious.org/erlua

Erlua actually provides a C node (using EI interface) and supports:

    * almost all conversions between Erlang types and lua types
    * syntax checking of lua file or code chunk
    * execution of lua file or lua code chunk from Erlang
    * getting/setting lua table and fields from Erlang
    * lua function calls from Erlang
    * remote Erlang procedure call from lua

Erlua can be use for various purposes: to read configuration files
written in lua, to embed a lightweight scripting language (lua) into
an Erlang application, to use lua libraries from Erlang, etc.

Попробовал, тесты работают. (в т.ч. бинарники исполняются).
Видимо из за своей ограниченности не понял как делать rpc lua->erlang


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Valentin Simonov  
View profile   Translate to Translated (View Original)
 More options Oct 27 2009, 2:42 pm
From: Valentin Simonov <v...@lent.in>
Date: Wed, 28 Oct 2009 01:42:59 +0700
Local: Tues, Oct 27 2009 2:42 pm
Subject: Re: Erlang <-EI interface-> Lua
забавно
интересно посмотреть на тест производительности lua как скриптового языка,
например в сервере ММО на erlang

On 10/28/09 2:27 AM, "bukaka" <d.bulas...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Lapshin  
View profile   Translate to Translated (View Original)
 More options Oct 27 2009, 4:07 pm
From: Max Lapshin <max.laps...@gmail.com>
Date: Tue, 27 Oct 2009 23:07:21 +0300
Local: Tues, Oct 27 2009 4:07 pm
Subject: Re: Erlang <-EI interface-> Lua
2009/10/27 Valentin Simonov <v...@lent.in>:

> забавно
> интересно посмотреть на тест производительности lua как скриптового языка,
> например в сервере ММО на erlang

Всё таки CNode тяжела для использования как скриптовый язык. Её тяжело
поднимать.
Проще open_port(spawn

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bukaka  
View profile   Translate to Translated (View Original)
 More options Oct 27 2009, 4:02 pm
From: bukaka <d.bulas...@gmail.com>
Date: Tue, 27 Oct 2009 13:02:08 -0700 (PDT)
Local: Tues, Oct 27 2009 4:02 pm
Subject: Re: Erlang <-EI interface-> Lua
Я с английским не особо дружу, поэтому читать и вдумываться лень было,
но вот тут http://www.inf.puc-rio.br/~roberto/docs/ry08-05.pdf дядечки
рассуждают на тему "Exploring Lua for Concurrent Programming",
приводят графики, и, судя по ним, всё не так уж и плохо у lua.

On 27 окт, 23:42, Valentin Simonov <v...@lent.in> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bukaka  
View profile   Translate to Translated (View Original)
 More options Oct 28 2009, 2:45 am
From: bukaka <d.bulas...@gmail.com>
Date: Tue, 27 Oct 2009 23:45:25 -0700 (PDT)
Local: Wed, Oct 28 2009 2:45 am
Subject: Re: Erlang <-EI interface-> Lua
On 28 окт, 01:07, Max Lapshin <max.laps...@gmail.com> wrote:

> Всё таки CNode тяжела для использования как скриптовый язык. Её тяжело
> поднимать.
> Проще open_port(spawn

Я не понимаю разницы, объясни пожалуйста.
Вот, к примеру, задачи не связанные с интенсивным обменом, типа
формирования отчётов, итп -  хорошо ложатся под скриптовый язык, время
отклика не критично. А использовать скрипты совместно с Erlang`ом для
описания бизнес логики как то не разумно.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Lapshin  
View profile   Translate to Translated (View Original)
 More options Oct 28 2009, 3:15 am
From: Max Lapshin <max.laps...@gmail.com>
Date: Wed, 28 Oct 2009 10:15:25 +0300
Local: Wed, Oct 28 2009 3:15 am
Subject: Re: Erlang <-EI interface-> Lua

> Я не понимаю разницы, объясни пожалуйста.
> Вот, к примеру, задачи не связанные с интенсивным обменом, типа
> формирования отчётов, итп -  хорошо ложатся под скриптовый язык, время
> отклика не критично. А использовать скрипты совместно с Erlang`ом для
> описания бизнес логики как то не разумно.

СNode — это отдельный процесс, который непросто контроллировать из
эрланга да и нет смысла.
Проще поднять отдельный процесс, с которым общаться через его stdin/stdout.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »