From: Matt Gushee <mgushee@havenrock.com>
To: caml-list@inria.fr
Subject: Does LablTk have a future?
Date: Sun, 28 Aug 2005 09:38:11 -0600 [thread overview]
Message-ID: <4311DA63.4010104@havenrock.com> (raw)
Hello, list members--
I've been thinking about GUI toolkits lately, and particularly Tk. I
know there are a lot of people who believe Tk is dead, or should die.
Personally, I'm not so sure. If you look at the features of Tk 8.5, and
the development roadmap for future versions--perhaps it's too little,
too late--but it is clear that the core Tcl/Tk developers are far from
giving up. Indeed, they seem lately to have gotten a clue about what is
needed to keep Tk a viable GUI toolkit.
Regardless of the status of Tk itself, LablTk seems to be going nowhere
(note that I am not implying any criticism of the OCaml team--they have
other, quite legitimate, priorities). It is poorly documented and is not
keeping up with the recent improvements in Tk. Those who try to use it
often run into trouble, and have difficulty getting their questions
answered. Yet, for whatever reason, it remains the default GUI toolkit
for OCaml.
I believe that Tk, while certainly not an ideal GUI, is still adequate
for many applications, and if the above deficiencies are remedied, could
still serve as OCaml's default GUI library for some time to come. And it
occurs to me that, having several years' experience with Tk in various
forms, and having studied much of the LablTk source code, I am in a
position to do several things that might help revive LablTk. My purpose
today is to inquire whether there is enough interest in the community to
justify any or all of these projects. If there is, I am prepared to work
on one or more of them--preferably with collaborators, but alone if
necessary. If there is little or no interest, maybe it is time to
consider (again) dropping LablTk entirely. Who wants to maintain code
that isn't used or usable?
1) A Quick Reference
This document would outline (with little or no explanation) the
complete LablTk API, including all widget commands and the possible
values of all LablTk-specific types. Currently the latter information
can only be obtained by digging through the source code.
Actually, I wrote a LablTk quick reference some time ago. It may need
a bit of work, but no more than a couple of hours, I'm sure. So I
*will* do this if there is any interest at all in it.
2) A Book
This would be an in-depth tutorial on how to develop useful
applications with LablTk. It would assume some programming
experience, but it would not require advanced knowledge of OCaml, nor
any knowledge of Tcl.
I'm thinking to publish both a print edition and an inexpensive
electronic edition. Though I need to research the costs a bit more, I
believe I can offer the print edition--self-published using Print On
Demand--at a reasonable price, comparable to what you pay for
programming books at a bookstore (no, I don't hope to get rich off
this--just to be modestly compensated for my efforts ;-).
3) A Community-based Modernization Project
The idea here is to provide a Tk-based GUI library that is complete
and in sync with the latest stable version of Tk. Other features that
would be nice to have include (a) support for a few Tcl commands that
are not strictly part of Tk, but are useful and commonly used in Tk
programs--in particular I'm thinking of the 'after' command; and (b)
a framework that allows downstream developers to create custom
widgets with interfaces analogous to the builtin widgets. I'm not
sure if (b) is feasible or not within the constraints of the OCaml
type system--I've tried and failed in the past--but I imagine
there's some way to do it.
Two other interrelated questions are whether this project should be
done in parallel with LablTk or as a replacement, and whether the
LablTk API should be preserved or something new designed. But it's
probably not necessary to decide these questions immediately.
I eagerly await your comments.
--
Matt Gushee
Englewood, CO, USA
next reply other threads:[~2005-08-28 15:37 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-28 15:38 Matt Gushee [this message]
[not found] ` <aefe758210f7fa0b9846b0ea4278cf3a@rouaix.org>
2005-08-28 23:21 ` [Caml-list] " Matt Gushee
2005-08-29 22:33 ` Jon Harrop
2005-08-30 4:39 ` Matt Gushee
2005-08-30 11:39 ` Yaron Minsky
2005-08-30 11:48 ` Jon Harrop
2005-08-30 12:22 ` David MENTRE
2005-08-30 13:45 ` Jon Harrop
2005-08-30 15:47 ` David MENTRE
2005-08-30 16:08 ` Jon Harrop
2005-09-01 4:25 ` Matt Gushee
2005-09-01 11:20 ` Matt Gushee
2005-09-01 11:26 ` Matt Gushee
2005-09-01 14:09 ` Chris Campbell
2005-08-30 16:21 ` Bardur Arantsson
2005-08-30 17:47 ` [Caml-list] " David Thomas
2005-08-30 18:06 ` Tyler Eaves
2005-08-30 19:01 ` Jon Harrop
2005-08-30 22:55 ` Chris Campbell
[not found] ` <c22844d10508301553b54841b@mail.gmail.com>
2005-08-30 22:56 ` Fwd: " Chris Campbell
2005-08-30 23:04 ` Doug Kirk
2005-08-31 0:08 ` Fwd: " Jon Harrop
2005-08-31 0:31 ` Olivier Andrieu
2005-08-31 8:48 ` Feeding the OCaml GUI troll (was: Re: [Caml-list] Does LablTk have a future?) David MENTRE
2005-08-31 9:06 ` Proposal a GUI from Ocamlsdl Christophe Raffalli
2005-08-31 14:39 ` [Caml-list] " Jon Harrop
2005-09-01 19:27 ` Nathaniel Gray
2005-08-31 14:27 ` Feeding the OCaml GUI troll (was: Re: [Caml-list] Does LablTk have a future?) Jon Harrop
2005-09-01 4:49 ` Feeding the OCaml GUI troll Matt Gushee
2005-09-01 13:15 ` [Caml-list] " skaller
2005-09-01 13:28 ` David MENTRE
2005-09-01 13:50 ` skaller
2005-09-01 14:43 ` Chris Campbell
2005-09-02 7:40 ` Ville-Pertti Keinonen
2005-09-02 12:39 ` skaller
2005-09-03 10:34 ` Damien Bobillot
2005-09-03 12:30 ` skaller
2005-09-04 14:08 ` Richard Jones
2005-09-03 11:10 ` yoann padioleau
2005-09-03 11:30 ` Jonathan Roewen
2005-09-03 17:23 ` Doug Kirk
2005-09-04 14:01 ` Richard Jones
2005-09-01 19:23 ` Feeding the OCaml GUI troll (was: Re: [Caml-list] Does LablTk have a future?) Nathaniel Gray
2005-09-01 4:31 ` [Caml-list] Does LablTk have a future? Matt Gushee
2005-09-01 4:17 ` Matt Gushee
2005-09-01 13:25 ` Jon Harrop
2005-08-30 7:16 ` GUI for OCaml (was: Re: [Caml-list] Does LablTk have a future?) David MENTRE
2005-08-30 9:53 ` GUI for OCaml Christophe Raffalli
2005-08-30 10:28 ` [Caml-list] " David MENTRE
2005-08-30 13:04 ` Bünzli Daniel
2005-08-30 17:13 ` David Thomas
2005-08-30 11:18 ` Mark Shinwell
2005-08-30 14:22 ` Jacques Carette
2005-08-30 23:12 ` Pietro Abate
2005-08-30 14:14 ` GUI for OCaml (was: Re: [Caml-list] Does LablTk have a future?) Richard Jones
2005-08-30 15:33 ` mmzeeman
2005-08-30 15:44 ` Jon Harrop
2005-08-30 22:34 ` yoann padioleau
2005-09-01 4:58 ` Matt Gushee
2005-08-30 16:01 ` Jon Harrop
2005-08-30 16:25 ` Chris Campbell
2005-08-30 22:49 ` yoann padioleau
2005-08-30 16:03 ` Chris Campbell
2005-08-30 22:31 ` yoann padioleau
2005-08-31 8:19 ` About Lablgtk2 (was: e: GUI for OCaml) David MENTRE
2005-09-03 11:41 ` yoann padioleau
2005-08-30 17:35 ` [Caml-list] Does LablTk have a future? Olivier Andrieu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4311DA63.4010104@havenrock.com \
--to=mgushee@havenrock.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox