Message400461
| Author |
nascheme |
| Recipients |
BTaskaya, Mark.Shannon, brandtbucher, brett.cannon, eric.snow, gvanrossum, larry, lemburg, nascheme, ronaldoussoren |
| Date |
2021年08月28日.05:36:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1630128978.95.0.152002043991.issue45020@roundup.psfhosted.org> |
| In-reply-to |
| Content |
[Larry]
> The one thing I guess I never mentioned is that building and working with the
> prototype was frightful; it had both Python code and C code, and it was
> fragile and hard to get working.
I took Larry's PR and did a fair amount of cleanup on it to make the build less
painful and fragile. My branch is fairly easy to re-build. The major downsides remaining
are that you couldn't update .py files and have them used (static ones
take priority) and the generated C code is quite large.
I didn't make any attempt to work on the serializer, other than to make it work
with an alpha version of Python 3.10.
https://github.com/nascheme/cpython/tree/static_frozen
It was good enough to pass nearly(?) all tests and I did some profiling. It helped reduce startup time quite a bit. |
|