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

Posted on 2006-11-30
Last Modified: 2010-05-18
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.

Question by:ibanja
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 51

Expert Comment

ID: 18051905
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

Author Comment

ID: 18055320
>> 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?

LVL 51

Accepted Solution

ahoffmann earned 300 total points
ID: 18055927
> 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 34

Assisted Solution

by:Duncan Roe
Duncan Roe earned 200 total points
ID: 18057841
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)

Author Comment

ID: 18064705
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,

Expert Comment

ID: 20913675
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.



Author Comment

ID: 20920929
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++.


Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question