Deno: discussion: struct the browser-compatible APIs

Created on 1 Jun 2018  路  8Comments  路  Source: denoland/deno

@ry @qti3e I just have a proposal about which Web APIs should be supported:

  • High level

    • [x] Console

    • [x] URL

    • [ ] File/FileList/FileReader/Blob

    • [ ] XMLHttpRequest/Fetch

    • [ ] WebSocket

    • [ ] URLSearchParams

  • Middle level

    • [ ] AudioContext/AudioBuffer

    • [ ] Canvas

Btw, supports WebGL that makes like tfjs could run at deno, and make use of the GPUs, it might be interesting personally :)

Most helpful comment

Yes I want to have browser APIs like this. Submit PRs otherwise please keep the issues quiet for technical matters.

All 8 comments

Thanks, Yazhong! I like supporting WebGl btw, it's a cool idea! (ML in Deno!) : )

PS I checked Console as we've started supporting it : )

Maybe we should support XMLHttpRequest or WebSocket first because they are basement.

It's a good topic and discussion, but we should consider that Deno is an early-stage software and it's a bit buggy for now, above everything, we should make it work in a good way and build all the foundations of the project much stronger then we can start working on new features : )

@ry @qti3e I think we should write a todo-list of api that we need to implement next.
I am glad to make PR for this great project.

What about URL and URLSearchParams?

@benjamingr yeah right,but we already have URL, see url.js

@yorkie I've updated your TODO list, I hope you don't mind : )

Never mind, feel free to update the list :)

Yes I want to have browser APIs like this. Submit PRs otherwise please keep the issues quiet for technical matters.

Was this page helpful?
0 / 5 - 0 ratings