Dart and D: features that could be used in D, D->dart for web programming

Paulo Pinto pjmlp at progtools.org
Fri Feb 28 08:02:11 PST 2014


Am 28.02.2014 13:15, schrieb Bienlein:
> On Thursday, 27 February 2014 at 17:16:54 UTC, Paulo Pinto wrote:
>> Yep, that is how for example .NET, Eiffel, Smalltalk, Lisp and many
>> other languages work.
>
> An object in Smalltalk is not a primitive type. Even ints, floats,
> chars, etc. in Smalltalk are no primitive types but objects. Not wanting
> to be a rogue. Just pointing out ;-).
>

Yes they are, kind of, because the ones small enough to fit in 
registers, like SmallInteger are converted to primitive types by the JIT.

The programmer cannot see it, because it is considered an implementation 
detail, likewise in the other environments I mentioned.

--
Paulo


More information about the Digitalmars-d mailing list