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.8 required=3.0 tests=BAYES_50 autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:ac8:5c8c:: with SMTP id r12mr1382007qta.265.1623144926648; Tue, 08 Jun 2021 02:35:26 -0700 (PDT) X-Received: by 2002:a25:cb48:: with SMTP id b69mr29711411ybg.173.1623144926408; Tue, 08 Jun 2021 02:35:26 -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: Tue, 8 Jun 2021 02:35:26 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=2a03:7380:380d:3b:3510:fc5a:6bf8:f7b0; posting-account=Rc9gvwoAAADjsFaEVHxO3XVwotTsZioA NNTP-Posting-Host: 2a03:7380:380d:3b:3510:fc5a:6bf8:f7b0 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com> Subject: Re: Any chance of programming a web frontend in Ada 2012? From: Max Reznik Injection-Date: Tue, 08 Jun 2021 09:35:26 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62134 List-Id: Indeed, there is a project to run Ada in the browser using WebAssembly. It's name AdaWebPack[1]. It provides a toolchain based on GNAT LLVM and a customized runtime. The runtime has some restrictions for now, such as no exception handling due to current state of WebAssemlby. The toolchain building could be complicated, so the project provides a Docker image. The project provides the simplest example (See online: https://www.ada-ru.org/files/wasm/index.html). This site (in Russian) uses it to provide some construction calculations https://mycalcs.ru/ Also take a look a short blog post: https://blog.adacore.com/android-application-with-ada-and-webassembly I think, you can reach the author on the Telegram channel https://t.me/ada_lang [1] https://github.com/godunko/adawebpack > (Maybe via LLVM? GNAT already generates LLVM, right?) > > Thanks a lot.