From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.8 required=3.0 tests=BAYES_50,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a0c:8346:: with SMTP id j64mr6250728qva.16.1623437070413; Fri, 11 Jun 2021 11:44:30 -0700 (PDT) X-Received: by 2002:a5b:448:: with SMTP id s8mr7424519ybp.363.1623437070120; Fri, 11 Jun 2021 11:44:30 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 11 Jun 2021 11:44:29 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=5.51.16.193; posting-account=lzjH_AoAAABq5H4FTxZ1AkonVQLbXoxB NNTP-Posting-Host: 5.51.16.193 References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1ded0c7a-f8b6-43e2-8402-5666561615b0n@googlegroups.com> Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go From: Stephane Carrez Injection-Date: Fri, 11 Jun 2021 18:44:30 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62182 List-Id: Thanks Dimitry for the clarification. Different requirements leads to different solutions. With ARE, I want to embed a Javascript file (such as jQuery), minify it with closure, compress it with gzip and make it available as raw content so that the web server can service it without reading any file. The content being accessible through either an Ada generated variable or through a function, it is mapped in memory (we avoid an open, read, close system call plus the gzip stuff) and the server only has to return the buffer content. Best regards, Stephane