[vtk-developers] An interesting statistic about VTK

Ken Martin ken.martin at kitware.com
Fri May 8 09:56:25 EDT 2015


*** Cough ***  Re: [vtk-developers] Tcl wrapping and output array
arguments   :-)



Ken Martin PhD

Chairman & CFO

Kitware Inc.

28 Corporate Drive

Clifton Park NY 12065

ken.martin at kitware.com

518 881-4901 (w)

518 371-4573 (f)



This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.



*From:* vtk-developers [mailto:vtk-developers-bounces at vtk.org] *On Behalf
Of *Berk Geveci
*Sent:* Friday, May 8, 2015 9:54 AM
*To:* Will Schroeder
*Cc:* Andrew Maclean; VTK Developers
*Subject:* Re: [vtk-developers] An interesting statistic about VTK



We decided to keep the Tcl wrapping going for a while longer in a separate
thread a while ago. It is really not a burden on us to do it, as long as we
are not asked to add more features. I expect that this will come up again
in a few years and the community may be ready to let go then.



-berk



On Fri, May 8, 2015 at 9:47 AM, Will Schroeder <will.schroeder at kitware.com>
wrote:

That's okay as long as maintaining these Tcl scripts and associated
infrastructure is not an undue burden. After cleaning out my attic this
winter I am all for getting rid of junk :-)


W



On Fri, May 8, 2015 at 9:43 AM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

I agree with Dave C. Just turn TCL wrapping off on most platforms. Turn it
on for a couple.

On May 8, 2015 9:21 AM, "David Cole via vtk-developers" <
vtk-developers at vtk.org> wrote:

On the other hand, the tests are "not even there" if you simply turn
off TCL wrapping... So why bother removing them? They're a useful
reference for those who turn on TCL wrapping.

If TCL wrapping is supported, there should be some tests/examples in TCL.

I would say if you want to get rid of them, get rid of TCL wrapping
entirely. But if you're not willing to go all the way like that, leave
the tests for the poor souls stuck using TCL.

Just an alternate opinion to consider. Please don't give it too much
weight, as I have personally totally been in favor of getting rid of
TCL entirely since 2005.


David C.



On Fri, May 8, 2015 at 8:51 AM, Berk Geveci <berk.geveci at kitware.com> wrote:
> Seconded.
>
> On Fri, May 8, 2015 at 5:50 AM, Will Schroeder <will.schroeder at kitware.com
>
> wrote:
>>
>> Nice work Andrew!
>>
>> I'm all for eliminating duplicates, especially if it means people can
test
>> more and faster, although if we are going to retain Tcl for the long
haul we
>> do have to continue to test Tcl language bindings. Personally I have not
>> used Tcl for several years now.....
>>
>> W
>>
>> On Fri, May 8, 2015 at 2:00 AM, Andrew Maclean <andrew.amaclean at gmail.com
>
>> wrote:
>>>
>>> Hi All,
>>>
>>> Look at this for VTK:
>>> ----------------------------------------
>>> Total number of Cxx tests :   1053
>>> Total number of Python tests :    537
>>> Total number of TCL tests :    443
>>> Total number of tests :   2033
>>> ----------------------------------------
>>> Tests in TCL but not in Python or Cxx.
>>> Common/Core/Testing/Tcl
>>> TestArrays
>>> TestString
>>> otherInterp
>>> otherPrint
>>> Filters/Core/Testing/Tcl
>>> probe
>>> Filters/Sources/Testing/Tcl
>>> squadViewer
>>> Rendering/Tk/Testing/Tcl
>>> TestTextActor3D
>>> cursor3D
>>> ----------------------------------------
>>>
>>> Some time ago we spent a lot of time converting the Tcl tests to Python
>>> either automatically or by hand, so now these 8 tests are the only ones
not
>>> in Python or TCL. Although Common/Core/Testing/Python/TestStrings.py
vastly
>>> extends the TCL version so really there are just 7 tests not tested by
>>> either Python or Cxx.
>>>
>>> Is it time to disable the duplicate 436 TCL tests?
>>> The advantage here is that it may speed up the testing times and these
>>> 436 tests are redundant anyway.
>>>
>>> Note: I am NOT advocating removing the tests as there may be people
still
>>> using TCL and these may be a useful reference for them.
>>>
>>> I wrote a python script to do this investigation. If people think it is
>>> useful, I will clean it up and put it into VTK. The code currently only
>>> looks at Testing/Cxx, Testing/Python, Testing/Tcl in the VTK tree, so
>>> folders below these are not looked at.
>>>
>>> Regards
>>>    Andrew
>>>
>>> --
>>> ___________________________________________
>>> Andrew J. P. Maclean
>>>
>>> ___________________________________________
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Search the list archives at:
http://markmail.org/search/?q=vtk-developers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>>
>>>
>>
>>
>>
>> --
>> William J. Schroeder, PhD
>> Kitware, Inc.
>> 28 Corporate Drive
>> Clifton Park, NY 12065
>> will.schroeder at kitware.com
>> http://www.kitware.com
>> (518) 881-4902
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtk-developers





-- 

William J. Schroeder, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
will.schroeder at kitware.com
http://www.kitware.com
(518) 881-4902
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150508/fb468f62/attachment-0001.html>


More information about the vtk-developers mailing list