Dart bindings for D?

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 30 02:16:30 PDT 2014


On Thursday, 30 October 2014 at 08:39:15 UTC, Suliman wrote:
> I know that there is way to write all on JS. But I can't 
> understand what the reason that there are no single language 
> that can work on web and as native language.

It is possible, but you need to design the language within the 
constraints of javascript:

1. single threaded (or worker threads)

2. 53 bits integers, 26 bits for multiplies.

4. "weird" fixed size heaps (ArrayView)

5. if garbage collection then it has to be javascript style

6. no tricks: forget coroutines


More information about the Digitalmars-d-learn mailing list