Earlier quoted context omitted.
It's a pretty common blogging method. Google and many other orgs do that too.
Is it? Can you provide some links to examples?
WebAssembly
31–40 of 98 posts
Re: WebAssembly
#32Earlier quoted context omitted.
You can still block those blobs, as they too are loaded by URL.
what i am envisioning here is the content of a webpage compiled with ads therein. it would be desirable by the googles of the world for this very reason.
Re: WebAssembly
#33Earlier quoted context omitted.
Is it? Can you provide some links to examples?
Microsoft does it: https://docs.microsoft.com/en-us/windows/wsl/install-win10
Re: WebAssembly
#34Earlier quoted context omitted.
It's a pretty common blogging method. Google and many other orgs do that too.
Is it? Can you provide some links to examples?
Re: WebAssembly
#35Something that I've been looking for as I try to learn more about WebAssembly is good examples of tasks that, when converted from Javascript to WebAssembly, would be good uses of WebAssembly for performance or memory or other reasons. Does anybody have a link to a blog post or good documentation like that?
[1] https://github.com/jeffkaufman/bucket-brigade/blob/master/ht...
Re: WebAssembly
#36Re: WebAssembly
#37I've tried go, rust, c/cpp, webassembly.
go - big bundle sizes because of gc I am guessing, idk.
c/cpp - I haven't touched c/cpp in a really really long time, but probably the other really good fit.
rust - I see rust as the successor to what I would've used c/cpp for, but not sure if rust ecosystem is still fully there. Last time, I had some weird issues with wasm-bindgen.
AssemblyScript(AS) - Something I really like and what I am most comfortable with now that I've been doing java/c#/ts for so long now. Also it's geared towards wasm which is nice. It's my favorite solution, but I don't really get it like I get the other solutions because everything else is an "actual language" that's used for other things. I am really not sure what the strict ts stuff is about, the devil is in the details, and this is getting way too high level.
c# - Maybe good if someone is heavily invested in .net.
At the end of the day, these wasm blobs are probably for heavy tasks like functions with a lot of loops, not full systems, so any simple solution would probably work. It's why I like AS (or even cpp), but sometimes these tasks require some niche external libraries in which case rust would be probably be the best option.
Re: WebAssembly
#38Earlier quoted context omitted.
What's nondeterministic about TypeScript / JavaScript?
Object enumeration order (before ES2020 [1]), math function accuracy (Firefox and Chrome did standardize on fdlibm though [2]), various timings. All of them can be fixed with caution but it might be easier to use a platform where none of them matters (well, as long as you don't import Math.sin etc. from the environment...). [1] https://stackoverflow.com/a/30919039/225272 [2] https://www.linux.com/training-tutorials/m…
I guess since so many js devs never understood this and built code around one js engines property order behavior they had to go and specify it as a standard and now all js engine must add extra overhead to track and maintain property order...
Not sure how webassembly helps object enumeration order, it doesn't have objects to enumerate! To make objects you compile to webassembly from languages that most likely have undefined dictionary order and may not even have reflection to enumerate an object at runtime.
Re: WebAssembly
#39Earlier quoted context omitted.
Object enumeration order (before ES2020 [1]), math function accuracy (Firefox and Chrome did standardize on fdlibm though [2]), various timings. All of them can be fixed with caution but it might be easier to use a platform where none of them matters (well, as long as you don't import Math.sin etc. from the environment...). [1] https://stackoverflow.com/a/30919039/225272 [2] https://www.linux.com/training-tutorials/m…
In many languages like those used to compile to WebAssembly (c++, c#, rust) enumerating standard dictionaries is non-deterministic. A javascript object is a dictionary, it is not surprising that it had an undefined order. If you need order use an array, if you need to lookup a value quickly use a dictionary, if you need both then you compose some ordered dictionary structure that internally has a dictionary and an ar…
I think OP is saying that WebAsm allows for using languages that don't have these footguns. Perhaps there is some language they prefer to JS.
Re: WebAssembly
#40Can someone educate me why GC based languages aren't supported in wasm ?