Sujet : Re: Top 10 most common hard skills listed on resumes...
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.cDate : 28. Aug 2024, 17:58:26
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vankvf$3i2qp$1@raubtier-asyl.eternal-september.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
User-Agent : Mozilla Thunderbird
Am 28.08.2024 um 17:51 schrieb Bart:
Suppose you take the source code for CPython, and suppose that comprises 500K lines of C source. (It was half that a decade ago so it is feasible.)
Are suggesting that CPython written in C++ would only need 50-100K lines of C++ user code (excluding support libraries) instead of 500K?
Would the resulting binary be bigger or smaller?
C++ has a lot of unrolling code for the case that an exception is
thrown. This code usually isn't reached until a memory-collapse
occurs, but it may be still a large part of the code.
But actually no one cares for the size of an executable for such
large projects.