[erlang-questions] Stand Alone Erlang or Equivalent

Bengt Kleberg bengt.kleberg@REDACTED
Wed Sep 5 08:03:46 CEST 2007


besea is not self containied. it uses escript via the unix #! script 
hack(*). so you need a unix system with an installed escript. if this 
works on windows i will try to get escript into CEAN.


(*) tmi: if the first 4 charactes of a file are #! / or (on most 
systems) the first 3 charactes are #!/, then the kernel will try to use 
that file as an interpreter for the file. the kernel uses 32 characters 
starting from /, or (on most systems) all characters until end of line.


bengt
Those were the days...
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."


On 2007-09-05 06:24, Benjamin Tolputt wrote:
> I am interested in this, yes. Does it require an installation of erlang 
> to be present or is it "self contained" (i.e. you send the 
> self-extracting/self-running archive and it does the rest)?
> 
> SAE (discontinued since R9 I believe) has the best implementation I have 
> seen, with the single file being all that was required in order to run 
> an Erlang application/server. If Joe were ever to get this back into 
> working order - he would have many grateful fans (over and above those 
> of his book *grin*)
> 
> Regards,
> B.J.Tolputt
> 
> 
> 
> Bengt Kleberg wrote:
>> It is easy to load a beam file from non-file based sources. i have a 
>> self-extracting-and-run-archive (i call it besea) that uses escript, if 
>> you are interested.
>>
>>
>> bengt
>> Those were the days...
>>     EPO guidelines 1978: "If the contribution to the known art resides
>>     solely in a computer program then the subject matter is not
>>     patentable in whatever manner it may be presented in the claims."
>>
>>
>> On 2007-09-04 10:54, Chandru wrote:
>>   
>>> On 04/09/07, Benjamin Tolputt <bjt@REDACTED> wrote:
>>>     
>>>> So I was wondering if I could impress them with some news on the Stand
>>>> Alone Erlang front. In a related question, how easy is it to retrieve
>>>> code/beams from non-file based sources (e.g. from an embedded native
>>>> code database or zip file)?
>>>>
>>>>       
>>> code:load_binary/3 lets you load a module using a binary blob. This
>>> might be useful.
>>>
>>> cheers
>>> Chandru
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>>     
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>
>>   
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list