ср, 10 февр. 2021 г. в 01:16, Tim Harder <[email protected]>: > > On 2021-02-09 Tue 17:51, Benda Xu wrote: > > I am wondering how useable pkgcore is on alpha, hppa, etc. Maybe it's > > time for us to plan for a Gentoo without essential Python dependency. > > Just to keep misinformation down, pkgcore currently has nothing to do > with rust as it's implemented in python due to basically being deemed > portage-ng when it forked ~15 years ago. It previously did have some > extensions written in C which have mostly been removed in the current > day from CPython catching up in a number of areas. > > That being said, alternative languages and related support has been > looked at for a number of reasons/features and development could move in > that direction, but hasn't yet in a public fashion. > > Tim >
Another far-fetched option is to compile CPython to WebAssembly+WASI [1] (even if CPython itself will require Rust in future), and run it on the non-Rust-supported architecture via an interpreter [2]. If this works at all, bootstrap will probably be not trivial. And such version of interpreted python may need to be added to PYTHON_TARGETS to enable testing of this on more usual architectures like amd64. [1] https://wasi.dev/ [2] https://github.com/wasm3/wasm3
