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=-0.0 required=3.0 tests=BAYES_20 autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a37:9244:: with SMTP id u65mr21920331qkd.46.1623165774477; Tue, 08 Jun 2021 08:22:54 -0700 (PDT) X-Received: by 2002:a25:4641:: with SMTP id t62mr34667777yba.253.1623165773870; Tue, 08 Jun 2021 08:22:53 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.uzoreto.com!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 8 Jun 2021 08:22:53 -0700 (PDT) In-Reply-To: <4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=37.57.98.164; posting-account=Rc9gvwoAAADjsFaEVHxO3XVwotTsZioA NNTP-Posting-Host: 37.57.98.164 References: <4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <75b3b2aa-b84c-4ec0-9563-73cb0ae3d062n@googlegroups.com> Subject: Re: Any chance of programming a web frontend in Ada 2012? From: Max Reznik Injection-Date: Tue, 08 Jun 2021 15:22:54 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:62144 List-Id: Speaking about "a single language" for frontend and backend. There was an i= dea to port Annex E (DSA) to AdaWebPack and use it as a communication chann= el between a web server written in Ada and WebAssembly client part. =D0=B2=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 8 =D0=B8=D1=8E=D0=BD=D1=8F 2021= =D0=B3. =D0=B2 12:35:27 UTC+3, Max Reznik: > Indeed, there is a project to run Ada in the browser using WebAssembly. I= t's name AdaWebPack[1].=20 > It provides a toolchain based on GNAT LLVM and a customized runtime.=20 > The runtime has some restrictions for now, such as no exception handling = due to current=20 > state of WebAssemlby. The toolchain building could be complicated, so the= project provides=20 > a Docker image.=20 >=20 > The project provides the simplest example (See online: https://www.ada-ru= .org/files/wasm/index.html).=20 > This site (in Russian) uses it to provide some construction calculations = https://mycalcs.ru/=20 > Also take a look a short blog post: https://blog.adacore.com/android-appl= ication-with-ada-and-webassembly=20 >=20 > I think, you can reach the author on the Telegram channel https://t.me/ad= a_lang=20 >=20 > [1] https://github.com/godunko/adawebpack > > (Maybe via LLVM? GNAT already generates LLVM, right?)=20 > >=20 > > Thanks a lot.