3 ms·
does this mean i wont have to learn javascript, css, d3, svg, typescript, jquery, etc ... to make webistes and web apps
by systems 11y ago
does this mean i wont have to learn javascript, css, d3, svg, typescript, jquery, etc ... to make webistes and web apps
- benjoffe 11y agoYou don't need any of those to make websites and web apps already (or to be less pednantic, you don't need most of those) so I'm not sure what your question is.
- megalodon 11y agoNo idea why this was downvoted, you are correct. Furthermore d3, typescript and jquery is javascript so the question is more like "do I need to learn how to use tools to make websites?" at which point it is kind of silly.
- iLoch 11y agoThey're being downvoted because show me useful website that doesn't have any of those things. Yes, it's technically correct to say that you don't need any of those things, but totally pedantic because you WILL use any number of them for ANY real website.
- megalodon 11y agoHere you go: http://arxiv.org http://arxiv.org No javascript needed to make a perfectly functional, efficient and useful website. Maybe it doesn't fit into your description of a "real" website?
- iLoch 11y agoUses CSS, though. Which is also on that list.
- tomjen3 11y agoMost if not all use CSS and javascript, but he mentioned a ton of techniques in such a way as to imply that most websites use all of them or that you needed to know all of them to do web development. That is just not true. I am sure that most web developers don't know d3, svg (other than exporting it from a drawing program) or typescript.
- Cshelton 11y agoNo, most things will still be done in javascript as the benefit of doing it in Wasm is negligible.
- euroclydon 11y agoThink of all the technologies you have to learn to make Desktop or Mobile Apps, or both. You'll need a language to compile to Web Assembly. Then you'll need a target display layer: DOM, SVG-DOM or Canvas. DOM support for text and user interaction is way better than SVG or Canvas.
- _alexander_ 11y agoYou still need these languages/technologies and libraries.
- untog 11y agoFrom my understanding, WebAssembly won't have DOM access. So it certainly won't replace jQuery, D3 or CSS any time soon.
- tadlan 11y agoIt will eventually, iirc
- s3th 11y agoWebAssembly doesn't intend to replace jQuery, D8, or CSS. However, we definitely plan to enable efficient DOM access. Doing so requires supporting some sort of native Garbage Collection, as well as the concept of opaque reference types. See more here: https://github.com/WebAssembly/design/blob/master/GC.md https://github.com/WebAssembly/design/blob/master/GC.md
- tadlan 11y agoAny specific plans for python support?
- jfbastien 11y agoPython is just another language VM. C Python should work just fine in WebAssembly, and bridging the APIs to the web (e.g. filesystem, etc) is already possible through Emscripten. We don't plan to do things for WebAssembly, we plan to make WebAssembly powerful enough that anyone can run their language VM :-)
- tadlan 11y agoGotcha!
- BuckRogers 11y agoThat's awesome and means alongside ObjectiveC, I effectively waited out deep diving on 2 (soon to be) formerly popular programming languages. I get to use my preferred language, Python, for even more.
- coldtea 11y agoYeah, you could program in C++...
- tadlan 11y agoOr julia. Which is 1000th better than js
- CyberDildonics 11y agoJulia would still require the garbage collector but I don't think the downvotes here are fair at all. If there was a language that would be a natural transition to people used to javascript but wanting native speed, julia would be it. In a way it is a glimpse of what javascript could have been given a lot of experience and much more design.
- tanlermin 11y agoSo how big are the Julia binaries? Would it still need a VM?
- CyberDildonics 11y agoAt the moment actually that would be a pretty big problem, the dependencies are very large, mostly because that hasn't been a priority I think. There has been work released recently which allows programs to be compiled to native binaries if they aren't dynamically evaluating anything however.
- tanlermin 11y agoYea I meant the native binaries in the recent ahead of time compilation work.
- hutzlibu 11y agoYes, in the future you will be able to programm your Website in C++ and OpenGl (2.0) and export it to WebAssembler and WebGL, if you think this will be easier ... edit: this might actually work for some people, once you can access dom elements directly, but for now it is meant for huge WebApps, like games in the browser
- CyberDildonics 11y agoNo one said it will be easier. It is meant to be faster.
- hutzlibu 11y agoBut he said it, like it might be easier for him, to avoid learning html and co in the first place ... To which I would say, if you are allready a pro at designing UI-Elements in OpenGL and c++, then yeah, otherwise probably no.
- IvanK_net 11y agoYou are talking about a step in a specific direction. If you make few more steps in that direction, you can simply write your own operating system, make native apps for it and then call it all "a website", because you can run it in a browser using e.g. this JS computer simulator https://copy.sh/v86/ https://copy.sh/v86/
- spriggan3 11y agoYou'll still need to learn CSS and SVG as they are web techs, but you wont have to learn anything related to Javascript anymore. As for now Javascript has become irrelevant for good.
- tracker1 11y agoIf you're targetting HTML, you will likely need at least CSS... most JS is optional, and there are compile-to options. That said, this should allow you to target a canvas element, with minimal JS binder to wasm code... all logic including what gets rendered could be outside JS... but you'd have to think of and control all input/output, and there are other considerations for rendering performance.