[squeak-dev] filesize reporting 0 for very large files

Chris Muller asqueaker at gmail.com
Sun Mar 18 17:13:31 UTC 2012


It is on my home machine running a recent Cog VM on Ubuntu Linux
(10.04 I think).

By platform-support code, does that refer to the VM plugins or
something put out by Ubuntu?

Thanks..

On Sun, Mar 18, 2012 at 11:32 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 18.03.2012, at 17:10, Chris Muller wrote:
>
>> Does a 32-bit VM mean that no individual primitives can have an
>> argument or return value greater than 32 bits?
>
> No. It just means that any OOP is 32 bits wide. The file size primitive returns a LargeInteger instance, but its OOP will be a 32 bit pointer.
>
>>  File-size is something
>> that, in 2012 with HD video recording devices, can very easily exceed
>> 32-bits so it would seem to be overkill for ALL objects to have to be
>> larger than 32 bits (as in a 64-bit VM) just for this one primitive..
>
>
> As Andreas wrote, it works fine on Windows in a 32 bit VM. The problem must be in your platform's support code.
>
> - Bert -
>
>


More information about the Squeak-dev mailing list