develooper Front page | perl.perl6.users | Postings from January 2020

Re: stolen uint's

Thread Previous | Thread Next
From:
ToddAndMargo via perl6-users
Date:
January 29, 2020 00:06
Subject:
Re: stolen uint's
Message ID:
d9bfaed5-46ef-3ec0-3a00-5778a0155e0c@zoho.com
On 2020-01-28 15:37, Trey Harris wrote:
> 
> 
> On Tue, Jan 28, 2020 at 18:09 ToddAndMargo via perl6-users 
> <perl6-users@perl.org <mailto:perl6-users@perl.org>> wrote:
> 
>     Observer effect (physics)
>     https://en.wikipedia.org/wiki/Observer_effect_(physics)
> 
>           In physics, the observer effect is the theory that
>           the mere observation of a phenomenon inevitably
>           changes that phenomenon ... An especially unusual
>           version of the observer effect occurs in quantum
>           mechanics, as best demonstrated by the double-slit
>           experiment
> 
>     Seems Quantum theory has come to Raku, only we call it "unboxing".
> 
> 
> As I wrote in your Raku/problem-solving issue (#154), your question is 
> not well-formed. A native value has no metadata, so how can it have a 
> type? Any experience at all with a language with pointer arithmetic 
> should make this clear.
> 
> And you issue doesn’t seem to be with unboxing—as far as I can tell, 
> you’re unboxing (assigning to a native) just fine, it’s the autoboxing 
> that’s giving you fits.
> 
> If you can show a language that can do what you want—whether it’s a 
> `typeof` equivalent or a binary data validity checker or a magic number 
> heuristic or something else, then we may be able to help you, but right 
> now you seem to be asking for something akin to wanting to know what 
> color the bits in your uint32 are—it’s not a question with meaning.

Trey,

If I ask what something is, I want an accurate answer back.

-T

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