[Vm-dev] VM endianness

Bert Freudenberg bert at freudenbergs.de
Thu Mar 19 15:17:51 UTC 2015


> On 18.03.2015, at 20:49, Stefan Marr <smalltalk at stefan-marr.de> wrote:
> 
> 
> Hi:
> 
>> On 18 Mar 2015, at 20:17, tim Rowledge <tim at rowledge.org> wrote:
>> 
>> On 18-03-2015, at 12:10 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>>> 
>>> At least it doesn't use BitBlt.  Its got much less dependencies than the existing code and is much simpler.  Isn't that worth something?
>> 
>> No need to use Bitmap if that’s a real problem - make a trivial class that is ArrayedCollection variableWordSubclass:#EndianTestThing and use that.
> 
> Shouldn’t the VM should abstract from such things? Why is there a need for this knowledge on the application side?
> 
> I guess, it is needed for low-level hacking at the language level?

+1

This is only needed if you work around the VM, like when you use FFI. So IMHO the FFI plugin should support that primitive. Or maybe it does? Doesn't it provide special bytearray accessors?

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150319/4167ab51/smime.bin


More information about the Vm-dev mailing list