Re: [ was: native json parsing] building pd with Rust code

Christof Ressi <[email protected]> Fri, 13 Feb 2026 20:36:48 +0100
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
Maybe it's worth clarifying that Pd "pointers" are not the same as 
pointers in C, C++ or Rust.

Pd "pointers" are safe handles for accessing a particular "data 
structure" member (which might be a "scalar" or an "array element"). 
They are automatically invalidated when the underlying data structure 
changes.

> Just wondering,... Since Rust code seems to have safe alternative for pointers, how about using it?
Pd is a programming language and a programming language's safety has 
little to do with the language it's implemented in. Pretty much all 
popular interpreted programming languages are implemented in C or C++: 
Python, JavaScript, Java, C#, Ruby, Lua, etc. Yet they are considered 
memory safe.

Christof

On 2/13/2026 7:54 PM, IOhannes m zmölnig via Pd-list wrote:
> Am 13. Februar 2026 19:34:25 MEZ schrieb Patrice Colet <[email protected]>:
>> Just wondering,... Since Rust code seems to have safe alternative for pointers, how about using it?
>>
>> Pc
> what for?
>
> you can perfectly well use pointers safely in C (it's just a bit more complicated than in rust)
>
> but afaiu, "pointers" in Pd are complicated to *use* (and rust wouldn't help with usability on the Pd side).
>
>
> mfg.sfg.jfd
> IOhannes
> ---
> [email protected] - the Pure Data mailinglist
> https://lists.iem.at/hyperkitty/list/[email protected]/message/PBAJYGR7VJO7HCDPB7BL6VDHOGOMIKXD/
>
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/
>

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/AUNGQZ6HZIC7GCFLPYJIP3DH46FDCHUL/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/