[vtkusers] speed up tcl program

Amy Henderson amy.henderson at kitware.com
Wed Jul 17 08:42:38 EDT 2002


At 11:50 AM 7/17/2002 +0200, Jianlong Zhou wrote:
>Hi, vtk users,
>
>I made some of my vtk applications using TCL. The problem is that the
>applications programmed using C++ is obviously faster than using TCL
>for the same data set. Is there anyone having any idea how to speed up
>tcl program?
>
>Thanks in advance.
>
>JL

If speed is an issue, you really should write in C++ instead of Tcl.  Tcl 
is great for testing and debugging. However a program written in C++ will 
run faster than the *same code* written in Tcl because the Tcl program is 
interpreted and the C++ program is compiled.

- Amy

>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers






More information about the vtkusers mailing list