• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

What's the best tool for the job - graphics programming.

I need to make a program that builds a currency price chart and them allows annotating and labeling Elliott waves.  I can't just use a common image editor because I need to be able to do some complex things like group labels and then escalate them to the next level if need be.


i ii iii iv v
(i) (ii) (iii) (iv) (v)
And all related labels will change accordingly.

My question is: What would be a good language to do this in.  I have some C++, C, and PHP under my belt and I am learning Perl.  But I have never done anything but web work and commandline tools.  

I was thinking Gtk-Perl might be a good choice or maybe even the KDE environment. But I have no experience except for reading about them on the web.

The requirements are a fast clean development process and a final product that isn't a resource hog.

Any input as to whether either of these would make a good choice and why, or recommendations for other options would be greatly appreciated.

2 Solutions
if you still know some perl I'd go with perl-tk
if you like to learn something new (for you) go with Tcl/Tk directly
ibanjaAuthor Commented:
>> if you like to learn something new (for you) go with Tcl/Tk directly


This looks interesting. I'm spending some time today looking it over.

Why do you think Tcl/Tk is better then perl-tk?

> Why do you think Tcl/Tk is better then perl-tk?
hmm, didn't say one is betterthan the other
For the perl-adicted people writing tcl is boring, and vice versa.

just a tcl/tk example
  echo 'pack [button .b -text foo -command {.b config -text bar}]' | wish
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Duncan RoeSoftware DeveloperCommented:
The inside story as I heard once from a researcher goes approximately as follows:

Tk originates from Tcl/Tk (i.e. Tk is a Tcl extension). So the integration between Tcl & Tk is seamless.
Python & Perl use Tk. The difference is:

Python drives Tk through a Tcl interpreter

Perl drives Tk via the C interface

Hence (this was 10 years ago mind) Perl is usually a rev behind with its Tk revision (because the C interface tends to change a lot more than the Tcl one).
So I agree with ahoffman - if you don't have a strong preference then Tcl is the way to go (easier to lean from scratch too, IMHO)
ibanjaAuthor Commented:
Thanks to both ahoffman and duncan roe.  This is great. Exactly what I was looking for.  I also like the embedded web page possibilities.

Much appreciated,
Hi ibanja,

Just wondering if you got your Elliott wave counter operational.  I am working on a project that requires a counter and though you may be able to help.


ibanjaAuthor Commented:
No, unfortunately it is one of those projects that got put on the back burner.  I still want to work on it but never seem to be able to get to it.  

It did introduce me to Tcl/Tk though--and I found an interesting tool to help turn tcl/tk code into c/c++.  


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now