On 17. Nov 2023, at 12:50, Jim Segrave wrote: > > I agree - use stdin/stdout for the interface. A web based app can be built on > top of such a source, a non-gui app suitable for batch procesing for example > would be a nightmare to scrape from a web interface. U hesitate to even > estimate how difficult a portable web interfcase would be to construct, the > gtk interface is already a mess of special case support.
Hi Jim, What do you mean with „web interface scraping“? I’m not suggesting to use HTML and scrape web pages. The protocol I’m suggesting is based on HTTP, but this just the layer to make allow client/server communication possible. There are many applications which use HTTP without HTML involved. I also believe there are C libraries which allow implementing an HTTP client and I believe this is easier for the programmer than to implement a newly implemented communication protocol (basically OSI layers 5 to 7). It’s true however that the binary size might grow when HTTP support is not in the language’s standard library. (C/Rust vs Python/Java for example). Best, Carsten
