Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.python Subject: Re: GUI toolkit(s) status Date: Thu, 20 Nov 2014 20:49:39 -0800 Organization: Nightsong/Fort GNOX Lines: 26 Message-ID: <7x389dp38c.fsf@ruckus.brouhaha.com> References: <5da0e7df-fd85-42b8-abfd-4db0dd9ff519@googlegroups.com> <7xwq6qgty4.fsf@ruckus.brouhaha.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="8ff39c3b56f8fea9a226ae9d8294e48e"; logging-data="16216"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DCe/OBPswjwan2gU9FaAm" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:iqktv6nBu0+RZMCGabOJ1ufnuEQ= sha1:u3Rn3m8i17FIF2nkkTpoRsAfm7o= Xref: csiph.com comp.lang.python:81168 Terry Reedy writes: > Tcl/Tk currently use UCS-2, which only handles BMP chars. Alternatives > to support astral chars: [other encodings] I haven't looked into the issue but from Christian's post it sounded like the BMP limitation was deeper inside Tcl/TK and would take more serious work to fix. How many people really care? > UTF-32 ... memory hit. However, most tk apps are not text heavy ... > UFT-8: Makes indexing O(n). Given that most tk apps aren't text heavy, UTF-8 seems fine: when has the O(n) indexing been found to be a real problem in practice? >> Apple is a moving target, they pulled the rug from under Tk's feet >> twice over the past 10 years. Hmm interesting. Then there's also lots of new targets like mobile phones which Tk hasn't been ported to Afaik. > A possible solution for Tk is to replace the non-C Tcl parts of TK > with Python (or the CPython API functions as needed for speed). I > have no idea how horrendous a project creating Py/Tk would be. Tcl itself is reasonably small and portable, the problem is the bindings (C code) to all the different window systems Tk supports.