develooper Front page | perl.perl5.porters | Postings from January 2022

Re: perldelta: “Internal Changes”

Thread Previous | Thread Next
From:
Darren Duncan
Date:
January 31, 2022 04:35
Subject:
Re: perldelta: “Internal Changes”
Message ID:
f530d926-0265-524d-f353-6be3c13d18c7@darrenduncan.net
On 2022-01-30 4:26 p.m., Felipe Gasper wrote:
> 	perldelta describes its “Internal Changes” section thus: “Changes which affect the interface available to C<XS> code go here.” The interface for XS modules is just Perl’s C API. By definition, isn’t an API external-facing?
> 
> 	By that logic, changes like Paul’s new sv_numeq and sv_streq (and my proposed change to sv_dump() to output hex rather than octal) don’t really seem like “internal” changes.
> 
> 	Would it perhaps be more sensible to make a separate section named “C API Changes”, then reserve “Internal Changes” for those updates that are indeed purely internal to Perl?

I agree with this proposal.  Whatever APIs XS uses are "external", while changes 
to Perl that don't affect any API are "internal".  -- Darren Duncan

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About