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.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: Any chance of programming a web frontend in Ada 2012? Date: Thu, 10 Jun 2021 17:44:18 -0700 Organization: A noiseless patient Spider Message-ID: <87lf7h2pst.fsf@nightsong.com> References: <2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="318c66abeba39673ba606b44abfac087"; logging-data="17696"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bIZ4T0OZqWCv18BD+hcRm" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:u6HZjh2DD7o7UQoVo3dApCVDFM0= sha1:TNxORrqv+liFYvJ1R25bYufFYSU= Xref: reader02.eternal-september.org comp.lang.ada:62171 List-Id: Marius Amado-Alves writes: > A number of ideas keep tickling my mind on how to do this. One is > using ASIS to translate Ada to JavaScript, a kind of Ada compiler with > Javascript as the target language. It's unclear to me why anyone would want to do this, since it combines the disadvantages of both Javascript (interpreted, non-deterministic execution) and Ada (manual memory management etc.) If you want to use a typed language that gets translated into Javascript, you might be better off using Purescript (purescript.org) or even something like Agda. Ada to WASM might make more sense than Ada to Javascript, of course.