Programming Memes Thread
-
@Arantor said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
When I said that you could write apps without JS, I did mean the fully no JS, not even WebAsm kind.
I think you're confusing Wasm with asm.js.
No, you still need a JS loader for Wasm.
No you don't. Last year I've worked on and delivered a fairly popular app compiled to Wasm and we didn't have a single line of JS in it.
-
@Arantor said in Programming Memes Thread:
You can do a lot more with it if you do, including types of apps that would be supremely awful without it.
Just imagine that WDTWTF would have to load the whole page everytime you do an upvote or downvote...
-
@BernieTheBernie said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
You can do a lot more with it if you do, including types of apps that would be supremely awful without it.
Just imagine that WDTWTF would have to load the whole page everytime you do an upvote or downvote...
That would save so much bandwidth over the average SPA
-
@BernieTheBernie said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
You can do a lot more with it if you do, including types of apps that would be supremely awful without it.
Just imagine that WDTWTF would have to load the whole page everytime you do an upvote or downvote...
Could we add a tag cloud to that?
-
@BernieTheBernie said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
You can do a lot more with it if you do, including types of apps that would be supremely awful without it.
Just imagine that WDTWTF would have to load the whole page everytime you do an upvote or downvote...
I believe that's how likes worked in PHPBB?
-
@Gustav said in Programming Memes Thread:
@BernieTheBernie said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
You can do a lot more with it if you do, including types of apps that would be supremely awful without it.
Just imagine that WDTWTF would have to load the whole page everytime you do an upvote or downvote...
I believe that's how likes worked in PHPBB?
They have likes now?
But yeah, a lot of the old guard implemented it with a full page reload, which gets interrupted and handled with JS if enabled. Meaning it still worked, acceptably, without JS which is more than any of that SPA shit can ever claim.
-
@Arantor said in Programming Memes Thread:
@Bulb I am being deliberately
-
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
When I said that you could write apps without JS, I did mean the fully no JS, not even WebAsm kind.
I think you're confusing Wasm with asm.js.
No, you still need a JS loader for Wasm.
No you don't. Last year I've worked on and delivered a fairly popular app compiled to Wasm and we didn't have a single line of JS in it.
You did not write a single line of JS, but the compiler or bundler emitted a bit for you, because
WebAssembly is not yet integrated with <script type='module'> or import statements, thus there is not a path to have the browser fetch modules for you using imports.
-- https://developer.mozilla.org/en-US/docs/WebAssembly/Loading_and_runningSo the HTML still needs a bit of JS that calls the
WebAssembly.instantiate
(Streaming
)? and the entrypoint of the wasm module that creates.@dkf said in Programming Memes Thread:
Apparently (and I've no personal experience in this) you also need a few bits of JS to handle the binding of the wasm to the outside world, whether that is by exporting functions from the wasm bundle to whatever is going on in the rest of the webpage, or importing access to the browser (so the wasm is able to manipulate the page DOM).
Sort of. My understanding is that webassembly calls the functions defined in JS to control the page, but that there is now some kind of invoke function that calls them directly so you don't actually need any complete JS expression for that. I can't quickly find the documentation for however it is done though.
-
@Bulb I believe it is through the provision of profiles of functions that can be called. Maybe there are predefined profiles? It's never been important for me to find out.
-
@Arantor said in Programming Memes Thread:
PHP is the smooth brain here that does actively conflate the two with bad-timeline consequences.
Very much this...
-
@dkf said in Programming Memes Thread:
@Bulb I believe it is through the provision of profiles of functions that can be called. Maybe there are predefined profiles? It's never been important for me to find out.
I believe there is a standard predefined profile for browsers, but I couldn't find a document saying what it contains.
Update: apparently not yet.
-
@Bulb said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
When I said that you could write apps without JS, I did mean the fully no JS, not even WebAsm kind.
I think you're confusing Wasm with asm.js.
No, you still need a JS loader for Wasm.
No you don't. Last year I've worked on and delivered a fairly popular app compiled to Wasm and we didn't have a single line of JS in it.
You did not write a single line of JS, but the compiler or bundler emitted a bit for you
No, I'm absolutely positive there wasn't anything like that going on. Mostly because it wasn't in browser environment.
-
@Arantor said in Programming Memes Thread:
@Zecc needs firmware update support as the spec changes yearly.
Microcode patches!
-
@Gustav said in Programming Memes Thread:
@Bulb said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
When I said that you could write apps without JS, I did mean the fully no JS, not even WebAsm kind.
I think you're confusing Wasm with asm.js.
No, you still need a JS loader for Wasm.
No you don't. Last year I've worked on and delivered a fairly popular app compiled to Wasm and we didn't have a single line of JS in it.
You did not write a single line of JS, but the compiler or bundler emitted a bit for you
No, I'm absolutely positive there wasn't anything like that going on. Mostly because it wasn't in browser environment.
What's the use case for wasm outside a browser? Portable Rust backend?
-
@LaoC Presumably it's being able to run inside node or electron so, instead of having a native binary that only contains what you need, you have a nice fat platform-specific JS runtime as well.
-
@LaoC said in Programming Memes Thread:
What's the use case for wasm outside a browser? Portable Rust backend?
Plugins, hosted application servers, dynamic tasks deployed to various edge (yay, IoT!) devices, there are some blockchain (yay, another buzzword!) apps that run wasm tasks on the nodes.
Basically a lot of things JVM wanted to be, but never was for a bunch of reasons.
-
@Gustav said in Programming Memes Thread:
No, I'm absolutely positive there wasn't anything like that going on. Mostly because it wasn't in browser environment.
Yeah, but the discussion was about client-side web applications. Server- or desktop-side you always had a lot of options that didn't have anything to do with JS.
-
@dkf said in Programming Memes Thread:
@LaoC Presumably it's being able to run inside node or electron so, instead of having a native binary that only contains what you need, you have a nice fat platform-specific JS runtime as well.
That would be a bit of a special definition of "not a browser environment" though
-
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
When I said that you could write apps without JS, I did mean the fully no JS, not even WebAsm kind.
I think you're confusing Wasm with asm.js.
No, you still need a JS loader for Wasm.
No you don't. Last year I've worked on and delivered a fairly popular app compiled to Wasm and we didn't have a single line of JS in it.
Desktop application or app-y mobile app? Presumably on rust?
-
@LaoC said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Bulb said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Arantor said in Programming Memes Thread:
When I said that you could write apps without JS, I did mean the fully no JS, not even WebAsm kind.
I think you're confusing Wasm with asm.js.
No, you still need a JS loader for Wasm.
No you don't. Last year I've worked on and delivered a fairly popular app compiled to Wasm and we didn't have a single line of JS in it.
You did not write a single line of JS, but the compiler or bundler emitted a bit for you
No, I'm absolutely positive there wasn't anything like that going on. Mostly because it wasn't in browser environment.
What's the use case for wasm outside a browser? Portable Rust backend?
Portable Rust frontend. Like, we're talking iOS to Tizen to PlayStation portable (just to name a few target platforms).
-
The rust spreads everywhere.
-
@Zerosquare I'm as surprised as you that the IT industry finally picked a language that isn't utter shit.
-
@Gustav said in Programming Memes Thread:
@Zerosquare I'm as surprised as you that the IT industry finally picked a language that isn't utter shit.
-
@Gustav said in Programming Memes Thread:
@Zerosquare I'm as surprised as you that the IT industry finally picked a language that isn't utter shit.
Broken clock twice a day / even the blind chick finds a piece of corn / it had to happen eventually through sheer luck if nothing else.
-
@Arantor said in Programming Memes Thread:
@Gustav said in Programming Memes Thread:
@Zerosquare I'm as surprised as you that the IT industry finally picked a language that isn't utter shit.
Broken clock twice a day / even the blind chick finds a piece of corn / it had to happen eventually through sheer luck if nothing else.
If I piss on enough doorsteps one of them is bound to be mine?
-
-
@Tsaukpaetra said in Programming Memes Thread:
https://cdn.discordapp.com/attachments/343179077747736587/1197432456618442823/zpnb10afitcc1.png
they don't think it be like that but it do.
-
@Tsaukpaetra What about drinking the isopropanol?
And yeah, I have like 4 partially assembled computers at home atm. Working on them has been a bit ad-hoc and stuff like grounding. Uh... Maybe? But I suspect my cat has also been trying to help out for some definite anti-grounding and/or cable pruning.
-
@Atazhaia said in Programming Memes Thread:
But I suspect my cat has also been trying to help out for some definite anti-grounding and/or cable pruning.
I've had significantly fewer pruning attempts since I moved the PCs on top of the desk instead of underneath.
-
@PleegWat Fortunately your cat is not strong enough to swipe them off the desk.
-
-
Since there is only one such language in existence, it doesn't need a name.
Well, I can't name any counterexamples.
-
-
@TimeBandit said in Programming Memes Thread:
i feel somehow you have attacked my life points directly and reduced them to zero....
-
@accalia
make a pull request to change the text
-
:tro-pop-wave:
has been seeing a lot of use since its inception and it fills me with joy.
-
@Zecc
it gives the normal tro-pop even more joy
-
@Zecc said in Programming Memes Thread:
:tro-pop-wave:
has been seeing a lot of use since its inception and it feels me with joy.Almost makes it worth the effort, eh? I know the feeling.
-
More reasons to bring out the :
-
@Atazhaia said in Programming Memes Thread:
More reasons to bring out the :
Pretty sure the third logo on the second column is not spelled correctly in light of the animal logo paired with it.
-
@izzion said in Programming Memes Thread:
the third logo on the second column
That's not the only one. The one on top left should be spelled Vim.
-
@HardwareGeek said in Programming Memes Thread:
@izzion said in Programming Memes Thread:
the third logo on the second column
That's not the only one. The one on top left should be spelled Vim.
You know, maybe they're all wrong?
-
@HardwareGeek said in Programming Memes Thread:
@izzion said in Programming Memes Thread:
the third logo on the second column
That's not the only one. The one on top left should be spelled Vim.
for
-
@Atazhaia said in Programming Memes Thread:
More reasons to bring out the :
-
Brillant:
-
@izzion said in Programming Memes Thread:
@Atazhaia said in Programming Memes Thread:
More reasons to bring out the :
Pretty sure the third logo on the second column is not spelled correctly in light of the animal logo paired with it.
It should be spelled YiffHub, obviously, yes.
-
@LaoC said in Programming Memes Thread:
Portable Rust backend?
cause you can't run rust directly on iron, rust destroys iron, so you need some kind of virtualization
-
@sockpuppet7 said in Programming Memes Thread:
@LaoC said in Programming Memes Thread:
Portable Rust backend?
cause you can't run rust directly on iron, rust destroys iron, so you need some kind of virtualization
-
@Arantor well, it's not impossible, but your iron won't last as much, see what happens:
-
@sockpuppet7 said in Programming Memes Thread:
@Arantor well, it's not impossible, but your iron won't last as much, see what happens:
Wasn't that the point of the golden Gates bridge?