Is is possible that in future browsers will recognize TypeScript ?
Please let me know your good reasons why it should happen or not.
Is is possible that in future browsers will recognize TypeScript ?
Please let me know your good reasons why it should happen or not.
For further actions, you may consider blocking this person and/or reporting abuse
Dharmen Shah -
Emil Pearce -
Petipois -
Ajmal Hasan -
Once suspended, evilprince2009 will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, evilprince2009 will be able to comment and publish posts again.
Once unpublished, all posts by evilprince2009 will become hidden and only accessible to themselves.
If evilprince2009 is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Ibne Nahian.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag evilprince2009:
Unflagging evilprince2009 will restore default visibility to their posts.
Top comments (5)
Nothing is certain but at this stage it seems a bit unlikely. Don't know about the far future :)
Browsers have virtual machines that are highly optimized towards JS and, increasingly, WebAssembly. TypeScript transcompiles to JS so there's no advantage in adding such tooling inside the browser.
If your target is JS you can keep using TS, if your target is WebAssembly then you can use tools like AssemblyScript, which is basically a reduced version of TS, or any other language that compiles to WASM.
There is little future in supporting another script language. There is more future in a compiled web environment (i.e. WASM). TypeScript would compile directly to WASM instead of the horrible unfixable mess of JavaScript.
Typescript being just a superset of JavaScript (JavaScript with type anotations) it could happen. You just need to remove two things from typescript for this to happen:
And to contradict other people that talked about wasm, transpiling typescript to wasm is an horrible Idea. See last video of the developpers at typescript conf why it is horrible.
"OMG, I can now write (insert language here) for the client!"
shrugs
I'll probably be the dissenter here, but if the main browsers adopt it...meh. I don't really see a reason... with the caveat that just because you can do something doesn't mean that you should. You do you... just don't mess with JS ;-)