[Vm-dev] Sometimes it's too easy, part II
siguctua at gmail.com
Thu Jan 26 20:46:03 UTC 2017
On 26 January 2017 at 22:32, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:
> 2017-01-26 21:20 GMT+01:00 Igor Stasenko <siguctua at gmail.com>:
>> with C i was always wondering, why C standard does not provides
>> an unsigned integer type which size strictly corresponds to size of
>> pointer type, e.g.
>> sizeof(some standard uint) == sizeof(void*)
>> that would solve so many problems and make thing so much easier..
> In C99, there is intptr_t (and all the accompanying MACROS for
> printf/scanf formats, maximum value etc...)
> i guess, you meant *uintptr_t* then
but it was introduced only in C99.. and compilers started supporting C99
but the problem is that AFAIK, first lines of Squeak were written around
and people had to deal with what they had..
And then there's a people, whose main argument for using C is 'its
portable'.. Hell yes, except it wasn't when portable things, like
our VM were written first :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev