Javascript bytecode

deadalnix deadalnix at gmail.com
Tue Dec 18 18:45:25 PST 2012


On Wednesday, 19 December 2012 at 01:58:54 UTC, Jonathan M Davis 
wrote:
>> Are the remaining issues at the compiler, runtime, or phobos 
>> levels (or
>> what combination of the three)? Are the bugs filed?
>
> Quite a few are, but it wouldn't surprise me at all if there 
> are quite a few
> which aren't. For instance, AFAIK, no one ever brought up the 
> issue of slicing
> static arrays being unsafe until just a couple of months ago:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=8838
>
> Such operations should be @system but are currently considered 
> @safe. Who
> knows how many others we've missed beyond what's currently in 
> bugzilla.
>

This is chicken and egg issue. Due to limitations, enforcing 
@safe is hard to do in many code that is safe. So you actually 
don't notice that some stuff are considered/not considered 
safe/system when they should.


More information about the Digitalmars-d mailing list