[PD] Pd compiling

Hans-Christoph Steiner hans at eds.org
Fri Jan 27 21:43:12 CET 2006


On Jan 27, 2006, at 3:05 PM, Cesare Marilungo wrote:

> Hans-Christoph Steiner wrote:
>
>>
>> On Jan 27, 2006, at 1:41 PM, Mathieu Bouchard wrote:
>>
>>> On Fri, 27 Jan 2006, IOhannes m zmoelnig wrote:
>>>
>>>> Steve Peach wrote:
>>>>
>>>>> In Max/MSP you can save (compile) your patches into various  
>>>>> plug-ins
>>>>> or applications. I was wondering can this be done in Pd (which is   
>>>>> what
>>>>> I use at home) If it can , could someone let me know please, it  
>>>>> would
>>>>> be MUCH!!! appreciated
>>>>
>>>> it cannot be done. why should it? (the reason for max/msp to offer   
>>>> this
>>>> possibility is in its proprietary nature. for pd this is not   
>>>> necessary:
>>>> just give away your patches + pd)
>>>
>>>
>>> The problem is that just giving away a working pd that will continue  
>>> to
>>> work on the target computer is not always easy.
>>>
>>> Does Pd have any "static-linked" version or otherwise  
>>> self-contained?  If
>>> externals have dependencies, is there anything that can copy those
>>> dependencies inside of a directory that can easily by zipped and   
>>> shipped?
>>>
>>> It doesn't have much to do with proprietary vs free.
>>
>>
>> Pd-extended is self-contained.  That's a big motivation in the  
>> creation  of it.
>>
>> But compiling Pd patches isn't purely a question of proprietary vs   
>> free.  If Pd could be compiled, it could run on embedded systems like  
>>  mobile phones and microcontrollers.  It would be quite difficult to   
>> make a Pd port to Microchip PIC.
>>
>> Its also a question of flexibility, it would be a nice feature to  
>> have.   But its probably not easy to implement.
>>
>> .hc
>>
> I don't think so.
>
> Most of the times, what you call compiled means just wrapping up the  
> interpreter with the source (ar the patch in this case), so I don't  
> think it would be hard to implement also in pd.
>
> But what's the point of replicating every feature (and also the  
> behavior) of Max/MSP? If it's just because PureData is free (as in  
> beer) I believe we've missed the point of the whole open source  
> philosophy and we're not in the position to ask developers their time  
> to implement such features. ;-)

What I call compiling is compiling, not wrapping an interpreter.  I  
think Max/MSP bundles an interpreter.

I'll quote my reasons again why I think it would be useful (with some  
minor corrections to make it clearer):

Compiling Pd patches isn't purely a question of proprietary vs free, or  
imitating Max.  If Pd could be compiled, it could run on embedded  
systems like mobile phones and microcontrollers.  It would be quite  
difficult to make a Pd port to Microchip PIC or Atmel AVR (but probably  
possible to port Pd to mobile phones).  Its a question of flexibility.

Check out the Arduino/Wiring for an idea of what I am talking about.   
Its basically Processing/Java-lite for microcontroller:

http://arduino.berlios.de/

.hc


________________________________________________________________________ 
____

"Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.   
It's about as sensible to say we declare war on night attacks and  
expect we're going to win that war.  We're not going to win the war on  
terrorism."
                                     - retired U.S. Army general,  
William Odom





More information about the Pd-list mailing list