[Novalug] Combining Tk with other languages -- was "Munging language"

Wayne Dernoncourt wayned at panix.com
Fri Oct 30 07:53:01 EDT 2009


Paul D. Bain
> ---- Wayne Dernoncourt <wayned at panix.com> wrote:
>> Clif Flynt
>> > On Wed, Oct 28, 2009 at 10:31:53AM -0400, Paul D. Bain wrote:
>> >> ...
>> >> 	My question is this: If Perl is deficient in some
>> >> respects, then which language is now best for "munging,"
>> >> the transforming of messy input into cleaner, culled
>> >> data? In yesteryear, Perl held this distinction -- does
>> >> it still?
>>
>> >   OK, no surprise to those who know me at all, but I
>> > like Tcl/Tk for this.
>>
>> I used and developed with Tcl/Tk for years.  I thought Tcl/Tk
>> was great.  It let me develop usable interfaces with drop
>> down boxes, selection lists, graphs, etc. with a fairly
>> straight forward language, some weirdness were the Tcl parts
>> need to talk to the graphics stuff.  I'm still looking for
>> something that approaches the flexibility of Tcl/Tk (I
>> could code on my Win98 system and it would work on Sun Solaris
>> system).  Does Python or Ruby approach the flexibility to
>> construct user interfaces, etc.

>   My understanding is that Python+Tk is a common combination.
> IOW, after a Python programmer has finished creating a
> functioning, Python program (not a web application), he can
> create a user-friendly, GUI interface using Tk. I suspect
> that you could combine Tk with Ruby, too.

That seems more like the GUI part is tacked onto a language.
I have to wonder if that is one reason why Tcl/Tk didn't find
more acceptance in the real world.  Tcl/Tk is cross-platform
compatible, graphics, processing, quick to execute (note Tcl/Tk
probably wouldn't be real applicable where real math gets
used a lot, simple math is fine, don't try to write/run Doom
in Tcl/Tk.

-- 
Take care  | This clown speaks for himself, his job doesn't
Wayne D.   | supply this, at least not directly
ROTFL: Rats on Thorazine Feel Lazy





More information about the Novalug mailing list