[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feasibility of an async HTTP server engine in Gambas (uvicorn-style) + question about JIT


On 8/6/26 6:05 PM, alarch@xxxxxxxxx wrote:
Hello everyone,

I've been using Gambas for years for internal tools and server administration scripts, and I'm currently thinking about a project idea I'd like your opinion on.

Many Gambas users (myself included) end up relying on PHP for anything web-related, mostly by default rather than by choice. I was wondering whether it would be feasible to build a Gambas-native equivalent of Python's uvicorn — i.e. a standalone application server capable of handling HTTP connections directly (not through CGI/FastCGI), using an event-driven model built on gb.net's Socket class and its ReadyForRead/ReadyForWrite events.

In addition to the other options mentioned, there is also the MicroHttpd project I posted to the list here:
https://lists.gambas-basic.org/archive/user/2024-04/0000241.html

It is not pure Gambas though. It relies on three shared libraries; the primary of which is 'libmicrohttpd'.


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----