News for hackers. Stuff that matters.
Re:SVG Is Turing Complete by saagarjha on Monday September 16, 2019 @03:40AM (#20981873)
> Runs in Chromium 73.0.3683.103 after several seconds, seriously, this thing is slow!

Interestingly, this renders on my iPad almost instantly.

Also, fun fact: you can embed JavaScript in an SVG. Just add a script tag: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/scr...

Re:SVG Is Turing Complete by ttctciyf on Monday September 16, 2019 @09:32AM (#20983820)
> you can embed JavaScript in an SVG

I guess that settles the Turing complete issue then!

Re:SVG Is Turing Complete by jansan on Monday September 16, 2019 @05:34AM (#20982389)
Javascript should have never been added to SVG. IMHO Javascript should always be outside the SVG.
Re:SVG Is Turing Complete by nightfly on Monday September 16, 2019 @06:25AM (#20982660)
Javascript in SVGs only gets executed when the top-level document is an SVG, never when the SVG is used as an img.
Re:SVG Is Turing Complete by jorams on Monday September 16, 2019 @04:48AM (#20982182)
In Chromium 76.0.3809.132 it renders instantly for me as well. I wonder what changed.

It doesn't render correctly in Firefox, though that finishes instantly as well.