[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] getdtablesize: support systems without getrlimit like WASI
From: |
Bruno Haible |
Subject: |
Re: [PATCH] getdtablesize: support systems without getrlimit like WASI |
Date: |
Sat, 04 May 2024 17:01:58 +0200 |
Hi Saito-san,
> * lib/getdtablesize.c (getdtablesize): Return INT_MAX if getrlimit
> is not available. This is the case for WASI, WebAssembly System
> Interface.
Can you please tell us more about this compilation environment?
I want to evaluate how much effort Gnulib should put into supporting this
environment.
I see [1] and [2], but
- How do _you_ compile and run a program in this environment?
The same way as in [2], or do you do it differently?
- [1] promises that the programs "may run anywhere—from browsers to clouds
to embedded devices". How do you run such a program in a browser?
How do you run it in the "cloud"? How do you run it on a memory-
restricted computer?
Bruno
[1] https://wasi.dev/
[2] https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-tutorial.md