<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Folks,<br>
<br>
Cuis already includes Float64Array in the base image. As usual, feel
free to take the code to your preferred dialect. Primitives such
those for FloatArray would be a welcome addition!<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
<br>
On 1/13/2020 8:24 PM, Eliot Miranda wrote:
<blockquote
cite="mid:CAC20JE3RcsYtr-O+xV1k-ZhfQGuSODKNRHtoWofU5MYANgjJyg@mail.gmail.com"
type="cite"><br>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi Levente,<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Jan 13, 2020 at
2:21 PM Levente Uzonyi <<a moz-do-not-send="true"
href="mailto:leves@caesar.elte.hu">leves@caesar.elte.hu</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> Hi Eliot,<br>
<br>
While we're extending specialObjectsArray, it may make
sense adding <br>
FloatArray and the currently non-existent Float64Array as
well.<br>
</blockquote>
<div><br>
</div>
<div>Good point. An at:[put:] primitive pair for
Float64Array makes sense too. </div>
<div> </div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Levente<br>
<br>
On Mon, 13 Jan 2020, Eliot Miranda wrote:<br>
<br>
> Hi All,<br>
> currently the following slots in the
specialObjectsArray are unused in both Squeak and Pharo
(& I suspect Cuis).<br>
> <br>
> newArray at: 32 put: nil. "was the prototype Float"<br>
> newArray at: 33 put: nil. "was the prototype 4-byte
LargePositiveInteger"<br>
> newArray at: 34 put: nil. "was the prototype Point"<br>
> <br>
> The specialObjectsArray already contains ByteArray<br>
> newArray at: 27 put: ByteArray.<br>
> <br>
> I would like to have a full set of little-endian
unsigned integer arrays. In Spur Squeak these are
ByteArray, DoubleByteArray, WordArray (Bitmap is big
endian), and DoubleWordArray. The VM's at:[put:] directly
supports<br>
> these four at the JIT level giving us efficient
unsigned access. There is also efficient signed access
for some signed arrays but these are less useful (at least
in theVM simulator).<br>
> <br>
> I want to make all four unsigned integer array classs
available to plugins etc via the interpreterProxy. So
here's a formal request to reserve these values for use as
follows:<br>
> newArray at: 27 put: ByteArray.<br>
> ...<br>
> newArray at: 32 put: DoubleByteArray.<br>
> newArray at: 33 put: WordArray.<br>
> newArray at: 34 put: DoubleWordArray.<br>
> <br>
> _,,,^..^,,,_<br>
> best, Eliot<br>
> <br>
> <br>
></blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div><span style="font-size: small; border-collapse:
separate;">
<div>_,,,^..^,,,_<br>
</div>
<div>best, Eliot</div>
</span></div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>