[libre-riscv-dev] Some recent documenting of work performed for tape-out
[libre-riscv-dev.git] / 81 / 29cef1179adbbd7d6f7878dffd7f26fa2a0199
1 Return-path: <libre-riscv-dev-bounces@lists.libre-riscv.org>
2 Envelope-to: publicinbox@libre-riscv.org
3 Delivery-date: Tue, 31 Mar 2020 09:17:40 +0100
4 Received: from localhost ([::1] helo=libre-riscv.org)
5 by libre-riscv.org with esmtp (Exim 4.89)
6 (envelope-from <libre-riscv-dev-bounces@lists.libre-riscv.org>)
7 id 1jJC5b-00036W-27; Tue, 31 Mar 2020 09:17:39 +0100
8 Received: from isis.lip6.fr ([132.227.60.2])
9 by libre-riscv.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
10 (Exim 4.89) (envelope-from <Jean-Paul.Chaput@lip6.fr>)
11 id 1jJC5Y-00036Q-Oe
12 for libre-riscv-dev@lists.libre-riscv.org; Tue, 31 Mar 2020 09:17:36 +0100
13 Received: from asim.lip6.fr (asim.lip6.fr [132.227.86.2])
14 by isis.lip6.fr (8.15.2/8.15.2) with ESMTPS id 02V8HZb7009255
15 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
16 for <libre-riscv-dev@lists.libre-riscv.org>;
17 Tue, 31 Mar 2020 10:17:35 +0200 (CEST)
18 Received: from localhost (melon [132.227.103.13])
19 by asim.lip6.fr (8.15.2/8.14.4) with ESMTP id 02V8HZsT000541
20 for <libre-riscv-dev@lists.libre-riscv.org>;
21 Tue, 31 Mar 2020 10:17:35 +0200 (MEST)
22 Message-ID: <752371e7a9de77d78305af838989817bfec4fda8.camel@lip6.fr>
23 From: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
24 To: libre-riscv-dev@lists.libre-riscv.org
25 Date: Tue, 31 Mar 2020 10:17:25 +0200
26 In-Reply-To: <CAPweEDyJKoUdHeDrQTHLWj7S42T=FDwj6bsnvCPoFHaf7bGy-Q@mail.gmail.com>
27 References: <CAPweEDw_h8VQ3JJFF3FXph7Eg0ucVknuvMk=Xc0jSp0WP13=UQ@mail.gmail.com>
28 <8fb9dbcc812d3d7050c6e336dc9bf68f88536888.camel@gmail.com>
29 <de619dbb67b22514be18f4a8e4282d90de502cf6.camel@lip6.fr>
30 <CAPweEDyJKoUdHeDrQTHLWj7S42T=FDwj6bsnvCPoFHaf7bGy-Q@mail.gmail.com>
31 Organization: UPMC
32 X-Mailer: Evolution 3.28.5 (3.28.5-5.el7)
33 Mime-Version: 1.0
34 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
35 (isis.lip6.fr [132.227.60.2]); Tue, 31 Mar 2020 10:17:35 +0200 (CEST)
36 X-Scanned-By: MIMEDefang 2.78 on 132.227.60.2
37 X-Content-Filtered-By: Mailman/MimeDel 2.1.23
38 Subject: Re: [libre-riscv-dev] extremely busy crowdsupply update started
39 X-BeenThere: libre-riscv-dev@lists.libre-riscv.org
40 X-Mailman-Version: 2.1.23
41 Precedence: list
42 List-Id: Libre-RISCV General Development
43 <libre-riscv-dev.lists.libre-riscv.org>
44 List-Unsubscribe: <http://lists.libre-riscv.org/mailman/options/libre-riscv-dev>,
45 <mailto:libre-riscv-dev-request@lists.libre-riscv.org?subject=unsubscribe>
46 List-Archive: <http://lists.libre-riscv.org/pipermail/libre-riscv-dev/>
47 List-Post: <mailto:libre-riscv-dev@lists.libre-riscv.org>
48 List-Help: <mailto:libre-riscv-dev-request@lists.libre-riscv.org?subject=help>
49 List-Subscribe: <http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev>,
50 <mailto:libre-riscv-dev-request@lists.libre-riscv.org?subject=subscribe>
51 Reply-To: Libre-RISCV General Development
52 <libre-riscv-dev@lists.libre-riscv.org>
53 Content-Type: multipart/mixed; boundary="===============1554574548999933317=="
54 Errors-To: libre-riscv-dev-bounces@lists.libre-riscv.org
55 Sender: "libre-riscv-dev" <libre-riscv-dev-bounces@lists.libre-riscv.org>
56
57
58 --===============1554574548999933317==
59 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature";
60 boundary="=-eeuK1rpHwsvYRkOYgnNX"
61
62
63 --=-eeuK1rpHwsvYRkOYgnNX
64 Content-Type: text/plain; charset="UTF-8"
65 Content-Transfer-Encoding: quoted-printable
66
67 On Sat, 2020-03-28 at 17:13 +0000, Luke Kenneth Casson Leighton wrote:
68 > On Sat, Mar 28, 2020 at 4:45 PM Jean-Paul Chaput
69 > <Jean-Paul.Chaput@lip6.fr> wrote:
70 >=20
71 > > The main reason here is still the lack of time. But there may be
72 > > another problem. My python interface allow to mirror in Python
73 > > the C++ function overload, but Python only allows one set of
74 > > parameters, is that true or I'm lagging on Python features again?
75 > > So how to describe a function with more than one parameter set?
76 >=20
77 > ah.
78 >=20
79 > right. with all the other things, i am going to focus on this one.
80 > it is a major, serious failing in the ENTIRETY of the free software
81 > community to COMPLETELY fail to comprehend this one, absolutely
82 > critical thing.
83 >=20
84 > microsoft DCOM got it right (co-classes). as a result i was the ONLY
85 > PERSON IN THE WORLD - i checked, emailing the IEXPLORE developer and
86 > he kindly replied - to use the full power of IEXPLORE.DLL DCOM
87 > bindings from python-comtypes. and by "full power" i mean "all 300
88 > objects, all 2,000+ functions, and all 20,000 properties".
89 >=20
90 > the only reason that was possible - including the c++ functions which
91 > had multiple overloads - was because of a property of DCOM called
92 > "co-classes".
93 >=20
94 > when the Mozilla Foundation decided "oh! we! know! we! will copy!
95 > DCOM! and call it! XPCOM! it'll be great!" they did NOT copy
96 > co-classes, and consequently fucked EVERYONE around for the next 15
97 > years who tried to develop third party xulrunner applications.
98
99 Funny, I remember well a student a while ago telling me that
100 I should use XUL to write the graphical interface of Coriolis.
101 I was already feeling like an old shmuck with my Qt...=20
102
103
104 > so if you *have* successfully mirrored multiple c++ function-overloads
105 > into python, GREAT! congratulations, you are amongst an absolute tiny
106 > minority of programmers who have comprehended this, where the majority
107 > are in systematic pathological failure and mental melt-down.
108
109 I did write it a long time ago, it is too complicated for what it
110 does. You can see an example in the PyHorizontal.cpp file and
111 look at PyHorizontal_create(). It is very dumb and tedious
112 programming. I intend to review it thoroughly when migrating
113 to Python 3. Basically it build the "signature" of the function
114 and is followed by a big "if" afterwards.
115 The Python "wrapper" is not something I'm very proud of as it
116 is only a big bunch of C macros. I'm not happy with the *way*
117 the code is generated, but on the other hand, I am happy with
118 the *generated* code and the fact that I can finely tune it.
119 I will try to make a more intensive use of C++ templates.
120 But not as much as in Boost as it becomes very, very slow to
121 compile (it's the reason why the Qt team abandoned it in favor
122 of another interface generator).
123
124 --=20
125
126 .-. J e a n - P a u l C h a p u t / Administrateur Systeme
127 /v\ Jean-Paul.Chaput@lip6.fr
128 /(___)\ work: (33) 01.44.27.53.99 =20
129 ^^ ^^ cell: 06.66.25.35.55 home: 09.65.29.83.38
130
131 U P M C Universite Pierre & Marie Curie
132 L I P 6 Laboratoire d'Informatique de Paris VI
133 S o C System On Chip
134
135 --=-eeuK1rpHwsvYRkOYgnNX--
136
137
138
139 --===============1554574548999933317==
140 Content-Type: text/plain; charset="utf-8"
141 MIME-Version: 1.0
142 Content-Transfer-Encoding: base64
143 Content-Disposition: inline
144
145 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlicmUtcmlz
146 Y3YtZGV2IG1haWxpbmcgbGlzdApsaWJyZS1yaXNjdi1kZXZAbGlzdHMubGlicmUtcmlzY3Yub3Jn
147 Cmh0dHA6Ly9saXN0cy5saWJyZS1yaXNjdi5vcmcvbWFpbG1hbi9saXN0aW5mby9saWJyZS1yaXNj
148 di1kZXYK
149
150 --===============1554574548999933317==--
151
152
153