vibe / self contained standalone executable?

bauss jj_1337 at live.dk
Sun Jul 28 14:33:01 UTC 2019


On Sunday, 28 July 2019 at 14:14:06 UTC, Sebastiaan Koppe wrote:
> On Sunday, 28 July 2019 at 13:45:50 UTC, Robert M. Münch wrote:
>> Is it possible to pack a complete "web-app" (serving web-pages 
>> and providing REST API) into a single executable so that no 
>> other files need to be accessed and everything is servered 
>> from something like a "virtual filesystem" which is in memory 
>> only?
>
> I am using 
> https://dlang.org/spec/expression.html#import_expressions for 
> text files. Don't know if it works on binary files as well.

It works on anything since it just loads in the data (as text I 
think?) from the file. But you can just convert it to a buffer 
etc.


More information about the Digitalmars-d-learn mailing list