[Cuis] Audio and Video Object Analysis

Casey Ransberger casey.obrien.r at gmail.com
Tue Dec 17 03:25:47 CST 2013


So Python has some great libraries for numerical and scientific computing, but...

I'm afraid you're optimizing prematurely here. I get that you don't think Smalltalk is going to be "fast enough" to meet your goals. Again, without doing some experimentation there's really no way of validating that concern. 

The usual wisdom here is a process like:

1. Make it work
2. Make it work right
3. Make it work fast 

A relevant example (I think, feel free to correct me if I'm wrong here) is the way Juan approached the development of Morphic 3. He wrote it first in Smalltalk, to get it working, adapting Cuis to suit as development continued, but ultimately it will be incorporated in the VM as a new plugin. 

Slang provides a fairly smooth path to high performance computing in the world of Smalltalk. One has to do some work smoothing the code into the limited subset that Slang presents, but it's much less work than rewriting a bunch of wildly high-level Smalltalk code in C by hand. 

As for interfacing with other languages, depending on what you want to do, there are a few approaches. If you have some service written with another platform, using an HTTP based solution is usually the easiest, if not the most performant. If you just need a quick hack to glue some stuff together, OSProcess might not be a bad thing to explore. For heavier duty stuff, you're into FFI territory. 

If you do become an FFI wizard, do consider documenting the experience. There really isn't enough documentation on that stuff. I've used it but barely. It was a bit like feeling one's way about a cluttered attic in the dark. 

Anyway I can't help you very much, but I might be able to point you at useful avenues of inquiry. Hopefully this is that. I will say that the things you want to do are pretty cool, so keep at it and don't give up!

Casey

> On Dec 16, 2013, at 10:42 PM, Kirk Fraser <overcomer.man at gmail.com> wrote:
> 
> How does one hook up an existing .dll to a class definition in Cuis?  For example, Open Computer Vision 
>  
> http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html download appears to have several .dlls at:
>  
> http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.7/
>  
> They also have a Linux install at http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html?highlight=linux
> 
> Or would I be ahead to just lower myself into the pit of Python and Numpy for real time speed?  I understand some state of the art research teams for driverless cars did that. 
> 
> 
> 
> View this message in context: Re: Audio and Video Object Analysis
> Sent from the Cuis Smalltalk mailing list archive at Nabble.com.
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jvuletich.org/pipermail/cuis_jvuletich.org/attachments/20131217/7cac72a5/attachment-0004.html>


More information about the Cuis mailing list