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