D to Javascript converter (a hacked up dmd)
Bill Baxter
wbaxter at gmail.com
Thu Mar 1 11:49:13 PST 2012
On Thu, Mar 1, 2012 at 11:13 AM, Adam D. Ruppe <destructionator at gmail.com>wrote:
>
> Some integer semantics might be hard too. ubyte is ok, but byte
> is different because 127+1 isn't as simple as x & 0xff
>
> I'll have to think about that. Again, it surely *can*
> be done, but I'd rather than an error than it generating
> horribly inefficient javascript for simple operations.
>
Might TypedArrays help you implement some number type semantics?
http://www.khronos.org/registry/typedarray/specs/latest/
--bb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20120301/118b085b/attachment-0001.html>
More information about the Digitalmars-d-announce
mailing list