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
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

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…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

786 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