comp.lang.ada
 help / color / mirror / Atom feed
From: "Luke A. Guest" <laguest@archeia.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
Date: Tue, 8 Jun 2021 16:08:04 +0100	[thread overview]
Message-ID: <s9o150$11rc$1@gioia.aioe.org> (raw)
In-Reply-To: d08387fa-39d1-4391-a1dd-dfec9a5199d8n@googlegroups.com

On 08/06/2021 15:55, Marius Amado-Alves wrote:
>>> Thanks, Luke. I've used CGI in the past (~2000). But now I'm a grown man and want to use a single language:-)
>> Eh? Surely you know CGI is basically stdin/out right? SCGI and FastCGI
>> is just that over sockets and you can use Ada.
> 
> Thanks, yes, then maybe I'm missing something, I dont see how that lets an Ada program run *in the browser*.
> I used CGI to pass information (including generated HTML and the like) between the Ada program running as (and in a) server and the browser, an arquitecture still requiring non-Ada languages in the front end.
> Maybe I was doing it wrong.
> 

CGI programs are started by the browser on the server, SCGI and FastCGI 
are servers running on the server. See

https://github.com/Lucretia/ether
https://github.com/reznikmm/matreshka

If you want front end stuff, i.e. WebAssembly, you can do that, see

https://groups.google.com/g/comp.lang.ada/c/X-x1e-4w7dk/m/09nYKa-RAwAJ (Me)
https://groups.google.com/g/comp.lang.ada/c/i7niKZL8HAU/m/Y4I03LnLAgAJ 
(Maxim)
https://blog.adacore.com/use-of-gnat-llvm-to-translate-ada-applications-to-webassembly

  reply	other threads:[~2021-06-08 15:08 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08  8:56 Any chance of programming a web frontend in Ada 2012? Marius Amado-Alves
2021-06-08  9:21 ` Jeffrey R. Carter
2021-06-08 13:42   ` Marius Amado-Alves
2021-06-08 16:04     ` Jeffrey R. Carter
2021-06-08 14:45   ` Marius Amado-Alves
2021-06-08  9:35 ` Max Reznik
2021-06-08 15:22   ` Max Reznik
2021-06-08 16:06     ` Luke A. Guest
2021-06-08 16:19       ` Maxim Reznik
2021-06-10 15:16         ` Shark8
2021-06-10 15:42           ` Luke A. Guest
2021-06-10 13:33     ` Shark8
2021-06-26 11:59     ` Marius Amado-Alves
2021-06-08 13:20 ` Luke A. Guest
2021-06-08 14:12   ` Marius Amado-Alves
2021-06-08 14:43     ` Luke A. Guest
2021-06-08 14:55       ` Marius Amado-Alves
2021-06-08 15:08         ` Luke A. Guest [this message]
2021-06-08 15:01 ` Marius Amado-Alves
2021-06-08 16:26   ` Maxim Reznik
2021-06-09  5:02     ` ASIS for Gnat (was: " J-P. Rosen
2021-06-11 18:47       ` Stephen Leake
2021-06-11 20:31         ` J-P. Rosen
2021-06-12 10:47       ` Rod Kay
2021-06-12 14:04         ` J-P. Rosen
2021-06-14 12:37           ` Shark8
2021-06-15 21:40             ` Marius Amado-Alves
2021-06-16  8:41               ` J-P. Rosen
2021-06-24 12:36                 ` Maxim Reznik
2021-06-24 21:28                   ` Marius Amado-Alves
2021-06-25  7:44                     ` Marius Amado-Alves
2021-06-25  9:08                       ` Maxim Reznik
2021-06-26 12:05                         ` Marius Amado-Alves
2021-06-26 19:51                           ` Vadim Godunko
2021-06-25  7:50                 ` Marius Amado-Alves
2021-06-10 15:18     ` Shark8
2021-06-11  0:44   ` Paul Rubin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox