Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4379
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Thomas Güttler <guettliml@thomas-guettler.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Schleifeninhalte auf mehrere CPUs zu verteilen |
| Date | Thu, 7 Apr 2016 20:52:01 +0200 |
| Lines | 46 |
| Message-ID | <mailman.54.1460055134.2253.python-de@python.org> (permalink) |
| References | <57066514.2010806@thomas-guettler.de> <570679E1.7070204@inqbus.de> <57067BD9.5020709@thomas-guettler.de> <57067CCE.60903@inqbus.de> <5706AC51.507@thomas-guettler.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de 8EohpUEcc8+WMa3TXaBKFgi9i5wk1n3tZxLU7u5/4jEg== |
| Return-Path | <guettliml@thomas-guettler.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 |
| In-Reply-To | <57067CCE.60903@inqbus.de> |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <5706AC51.507@thomas-guettler.de> |
| X-Mailman-Original-References | <57066514.2010806@thomas-guettler.de> <570679E1.7070204@inqbus.de> <57067BD9.5020709@thomas-guettler.de> <57067CCE.60903@inqbus.de> |
| Xref | csiph.com de.comp.lang.python:4379 |
Show key headers only | View raw
Am 07.04.2016 um 17:29 schrieb Dr. Volker Jaenisch: > Servus Thomas! > > Am 07.04.2016 um 17:25 schrieb Thomas Güttler: >> >> >> gehe mal davon aus, dass Du nicht die Parallelisierung meinst. Die >>> bekommst Du z.B. mit PyPy >>> http://doc.pypy.org/en/latest/stm.html#transaction-transactionqueue >>> und müssen daher nicht neu erfunden werden oder die Syntax erweitert >>> werden. >> >> ... halt. Die Idee Schleifeninhalte auf mehrere CPUs zu verteilen war >> nicht von mir. >> Das war deine Idee. Mich interessiert das was du damit meinst. >> >> Wie soll das konkret aussehen? > Siehe link. > > Wenn PyPy STM produktionstauglich ist, wird es möglich sein Schleifen > (welche gewisse Kriterien erfüllen) auf mehrere parallel CPUs zu verteilen. > Dann interessieren solceh Corner-Cases wie Du sie lösen willst niemanden > mehr. Daher mein Vorschlag, lieber die Energie in solche > Optimierungs-Projekte zu stecken, > die wirklich revolutionär sind. "Software Transactional Memory" .. klingt interessant. Mir geht es nicht wirklich um die Optimierung. Mir geht es um eine klare Syntax. Die genannten Fälle (on-empty, on-break, pre-first) bei Schleifen gibt es immer wieder. Dieser Spruch aus Zen-of-Python gefällt mir: There should be one-- and preferably only one --obvious way to do it. Mir geht es um sofort verständlichen Code. Gruß, Thomas -- http://www.thomas-guettler.de/
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] Schleifeninhalte auf mehrere CPUs zu verteilen Thomas Güttler <guettliml@thomas-guettler.de> - 2016-04-07 20:52 +0200
csiph-web