7 ms·
Sneak Peek at WebAssembly Studio
- orschiro 8y agoFirst the tor announcement and now this. That's a lot of exciting News from Mozilla recently.
- supermdguy 8y agoWell, this was a couple months ago. See https://news.ycombinator.com/item?id=16811721 https://news.ycombinator.com/item?id=16811721 for the past discussion. Definitely still exciting though.
- happertiger 8y agoWay to go Mozilla. This is awesome.
- krisdol 8y agoThis looks awesome. Really useful tooling + gorgeous interface + clean fonts. Mozilla's looking pretty good lately.
- williamxd3 8y agoThe editor is from Microsoft https://github.com/Microsoft/monaco-editor https://github.com/Microsoft/monaco-editor
- kdma 8y agoNice video but (unrelated to the IDE) in order to use a printf from js it was necessary to: provide a js emulated syscall to c file that calls another c function that calls back to js again
- Q6T46nT668w6i3m 8y agoYeah, it’s super weird when most people are expecting this to compile into JavaScript running in a browser. Nevertheless, to be fair, this isn’t a C, C++, or Rust to JavaScript compiler-compiler it’s a C, C++, or Rust compiler that targets WebAssembly. I realize this might read as overly pedantic but it explains why it makes sense to the implement the C interface. It’s also a reasonable optimization pass for a mature compiler when it knows that you’re targeting WebAssembly running in a browser.
- Exuma 8y agoThis is very cool
- agumonkey 8y agoI felt like seeing a lisp machine
- cm2187 8y ago(what (really (and (only (matters (is (readability)))))))
- JBiserkov 8y ago(-> readability is matters only and really what) Like so? https://clojure.org/guides/threading_macros https://clojure.org/guides/threading_macros
- bigato 8y agoyeah, web assembly vm is a stack machine
- agumonkey 8y agonot only that, the fact that you have programmatic access to low level semantics up to presentation into a "single" window and language. Very dynamic and multilayered
- etatoby 8y agoI've never seen a Lisp machine, but when I use Chrome's developer tools, which can display complex, interactive objects right in the text console, that's what I think about.
- progfix 8y agoThe WebAssembly Studio may track its usage through telemetry. We use this information to improve user experience. This information is not made publicly available.
- corey_moncure 8y agoenv: { __syscall0: function __syscall0(n) { return syscall(instance, n, []); }, __syscall1: function __syscall1(n, a) { return syscall(instance, n, [a]); }, __syscall2: function __syscall2(n, a, b) { return syscall(instance, n, [a, b]); }, __syscall3: function __syscall3(n, a, b, c) { return syscall(instance, n, [a, b, c]); }, __syscall4: function __syscall4(n, a, b, c, d) { return syscall(instance, n, [a, b, c, d]); }, __syscall5: function __syscall5(n, a, b, c, d, e) { return syscall(instance, n, [a, b, c, d, e]); }, __syscall6: function __syscall6(n, a, b, c, d, e, f) { return syscall(instance, n, [a, b, c, d, e, f]); },
- llukas 8y agoFast forward few years later - web is made of executables and openness and user control is gone.
- cm2187 8y agoTo be honest minimised JavaScript code isn’t much more readable.
- ethanwillis 8y agoThis is why Stallman says we need to push to have a link out to the un-minified (or in this case source code that led to the WASM) so that people can go and read the source.
- ben-schaaf 8y agoWe already have this, there's nothing stopping you from using source maps in production. They're automatically loaded by browsers and can contain the full source code.
- deleted 8y ago[deleted]
- oblio 8y agoThat’s a big downside and something I don’t like. But if we get actual universal bytecode out of it, it will have been worth it. Every platform out there, with the same bytecode and with a myriad of OSS languages out there able to target everything under the sun. It would take us out of the dark ages of having everything in C cause lowest common denominator...
- llukas 8y ago1995 wants its Java 1.0 back ;)
- indescions_2018 8y agoBinary explorer in cloud IDE is beautiful ;)
- Felz 8y agoOut of curiosity, does anyone know what the sample_rate query parameter in this URL is for?