News for hackers. Stuff that matters.
Re:Skia Canvas: Browser-Less Implementation of the HTML Canv... by njtransit on Tuesday December 03, 2024 @08:28PM (#42313639)
That’s pretty cool! But v8 alone kind of sucks unless you specifically want isolation. Sometimes you just want to make a network request, you know?
Re:Skia Canvas: Browser-Less Implementation of the HTML Canv... by xnorswap on Wednesday December 04, 2024 @12:48AM (#42314781)
> Sometimes you just want to make a network request

In a drawing tool / library?

That's just asking for trouble. By spec, SVG allows for XXE shenanigans. I'd rather not worry that any image file I process might exfiltrate my data.

Re:Skia Canvas: Browser-Less Implementation of the HTML Canv... by silvajoao on Wednesday December 04, 2024 @07:37AM (#42316837)
That makes total sense in many applications, including games.

The idea was to have TCP sockets and Websockets to enable that.

Basically, have the same APIs you're familiar with in a Browser, but in a much smaller package that you can ship independently of the Browser.

(this is very similar to Electron)