[ / / / / / / / / / / / / / ] [ dir / animu / chaos / had / htg / kpop / sonyeon / strek / sw ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

 No.854177>>854218 >>854496 >>854793 >>854957 [Watch Thread][Show All Posts]

What does /tech/ think about Web Assembly?

Is it just a faster, lighter alternative to JS, or will it enable the botnet to grow even worse?

https://hacks.mozilla.org/2018/01/making-webassembly-even-faster-firefoxs-new-streaming-and-tiering-compiler/

 No.854178>>854182 >>854496

No it's literally javascript. Web Assembly is where you take other languages and transpile them into javascript.


 No.854182>>854183 >>854184 >>854210

>>854178

WebAssembly is a binary format, executed within a sandbox.


 No.854183>>854187 >>854373

>>854182

The way i understand it a fundamental difference to JS is the ability to compile line by line, to make use of streaming compilation like in the linked article.

Wouldn't the same thing be able with an interpreted language like Python?


 No.854184>>854185 >>854496

>>854182

No you're thinking of some vaproware that will never make it into mainstream use. The WebAssembly you're going to fucking GET is asm.js.


 No.854185>>854190

>>854184

asm.js is not WebAssembly, they are two different things.


 No.854187>>854499

>>854183

Python is interpreted, not compiled. This "streaming compilation" isn't like interpreting, it just means compilation happens without requiring the entire source file at once.


 No.854190>>854192

>>854185

Yes, one is vaporware that will never see mainstream use and one is the one you're going to fucking get.


 No.854192

>>854190

Why would you start talking about asm.js in a WebAssembly thread?


 No.854199>>854201 >>854204

In spite of its name, looks like yet another "bytecode" platform like .NET, JVM, or P-System. From what I can tell, the main advantage over asm.js is just that it's built into the browser as a static library, so the bytecode VM boilerplate doesn't have to be downloaded with every single thing that uses it.

I've never understood the attraction in this trash. Why not just distribute compiled binaries for an actual ISA like x86 and ARM? On the actual hardware (which it would be 99.999% of the time) it would be a zillion times faster and lighter, it would be just as secure run inside a VM, you could still do dynarec just like LLVM does if the binary was really old, and on the 0.001% of edge cases where you were using a different ISA like MIPS/PPC/etc it would emulate/recompile just as fast as a fake "bytecode" ISA.


 No.854201>>854213

>>854199

How about we replace javascript with python or something else less shit, and then stop trying to make serious programs in the fucking web browser.


 No.854204

>>854199

>it would be just as secure run inside a VM

Running random assembly from the web would not at all be secure.


 No.854208>>854483

There was never a worse time to roll out native code in a browser than right now. Even lowering the precision of performance.now() won't mitigate the kind of attacks that are feasible through spectre and meltdown.


 No.854210>>854303

>>854182

This is not going to end well.


 No.854213>>854296

>>854201

>stop trying to make serious programs in the fucking web browser.

Look dude, the only way this is gonna happen is if there is NO programming/scripting language AT ALL.

If you replace javascript with python, people will just figure out how to do the same shit with python.

We have to just pull the plug on the whole thing if we want change.


 No.854215>>854297 >>854318

Web Assembly is just going to enable more proprietary code to be developed.

I think it's a mistake. An HTML document viewer does not need to execute arbitrary code downloaded over the internet without even asking the user.


 No.854216

>streaming compiler

Why do they sound so clever for making this up. It's literally what the majority of compilers already do except they are streaming it from a file rather than a network socket.


 No.854218

File (hide): 7c8b869484fde8f⋯.png (8.93 KB, 596x333, 596:333, rhbs-homepage-logo.png) (h) (u)

>>854177 (OP)

>What does /tech/ think about Web Assembly?

botnet intensifies

bye bye track/adblocking


 No.854274

>>854212

I'd ban you just for your fucking post formatting. Kill yourself.


 No.854296>>854318

>>854213

>we have to just pull the plug

>we

What makes you think you have any power or say in the matter?


 No.854297>>854318 >>854325

>>854215

Web browsers are no longer "HTML document viewers", buddy.


 No.854300>>854389

The problem with WebAssembly is that it may be the end of adblocking as we know it. Since it's a binary, adblockers won't be able to approach them as they approach JS.


 No.854303>>854319

>>854210

Everyone loved java applets right? :^)


 No.854304>>854306

As long as webassembly doesn't have access to the DOM, it should be as easy to block as flash, right?


 No.854306

>>854304

>2019

>new pages are full of nothing but javascript callbacks with webassembly "backend"


 No.854318

>>854296

I don't. What I'm referring to will never actually happen, but that's what would have to happen to get people to stop making programs in the browser. Make it so that they can't.

It's like

>>854215

and

>>854297

are talking about. You said earlier that people shout stop trying to make serious programs in the browser, but that ship has already sailed, sadly.


 No.854319

>>854303

holy shit I remember those!


 No.854325>>854326

>>854297

Yeah they is, except sometimes the document isn't static. But if they do want client-side scripting, fuck them. Homie don't play dat. Only Lynx and Links -g muthafuckas!


 No.854326>>854327 >>854341

>>854325

Javascript is more ethical than black box server-side logic (barring honest use of the AGPL).

It's just huge unreadable packages of minified javascript (and now bytecode) that subvert that.


 No.854327>>854330

>>854326

Nah, I don't really care what they run on their server. That's their hardware. It only needs to be open source to run on my gear.

But anyway I don't want to scripts running in my browser anyway, because it's just one more attack vector.


 No.854330>>854335

>>854327

The source is right there retard, it is sent to you.


 No.854335

File (hide): e445bc614177355⋯.png (9.38 KB, 320x200, 8:5, homey-d-clown_6.png) (h) (u)

>>854330

Nigga, I ain't running no ephemeral botnet obfuscated Internet code on botnet x86 backdoor POS architecture.


 No.854341

>>854326

>What does /tech/ think about Web Assembly?

It's reinforces DRMs and botnet.


 No.854373

>>854183

first need into strong typing


 No.854389>>854395

>>854300

couldn't you just choose not to execute any binaries, producing more or less the same inconveniences as with not executing JS?


 No.854395>>854399

>>854389

Perhaps the main reason JS isn't even more prevalent than it already is, are performance issues.

Take these away, and Internet 3.0 4.0? whatever marketing jews might call it might get rid of HTML entirely, with all but legacy sites simply serving one binary as a site.


 No.854399

>>854395

This is a wet dream for DRM. Software as a service perfected. You don't just pay for it, you don't just get a license to use it, you don't even get to have it on your hard drive. It's software STREAMING.


 No.854483

WebAssembly theoretically is a way to write the equivalent of JS functions but faster. It does this by letting the user write byte code that then gets compiled and executed in the same sandbox as JS code.

The biggest problem is that you have a good idea of what actual CPU instructions WebAssembly byte code will map to, which makes it easier to exploit CPU bugs. And like >>854208 said this is bad timing given the recent CPU bug disclosures.


 No.854496

>>854178

>>854184

>itt retards

webassembly exists today and works by default in all modern browsers.

it is a bytecode that gets directly jitted to the native CPU opcodes by the browser without needing to go through are the parsing and optimization steps that javascript does to get turned into opcodes.

>>854177 (OP)

I think its got a way to go before it becomes useful.

Threading and DOM/Web API access is essential, while its "being worked on," who knows if it will ever see the light of day


 No.854499

>>854187

There are several ways to compile Python.


 No.854545

As a matter of course you should be disabling this cancer.

https://github.com/stevespringett/disable-webassembly


 No.854793>>854829

>>854177 (OP)

It's a transparent power grab, the idea here is to eliminate ad blockers and increase tracking. I feel they will slide this in by requiring it for streaming video, integrated with DRM, think Netflix and Amazon.

For your safety of course.


 No.854829>>854833

>>854793

While it will certainly make adblocking more difficult, it won't eliminate it. The adblocking community has shown to be very driven to their cause, even going as far as to create anti-anti-adblocking userscripts.

wasm bytecode can still be intercepted, dissasembled, and modified. Its hardly any different than the obfuscated javascript used today to serve ads and block adblockers. If that really is the subversive goal of wasm, it will be a failure.


 No.854833

>>854829

Why go through all that trouble though? At some point you have to just give them the finger, instead of keep piling on tons of hacks to play their stupid game. No fucking social media site or video streaming or gaming shit is worth that kind of headaches.


 No.854957

>>854177 (OP)

Checked em.

>coding is hard

>making coding for niggers

Terry was right


 No.854981>>854998

What's not to like? It allows me to avoid JS and write programs in a sane language like C++ and then having it run on all platforms without cross-compiling anything which is a huge win.

My only problem is that performance isn't exactly close to native despite what they advertise and it's a bit rough around the edges as of now.


 No.854998>>855016

File (hide): 2dc4afca70fbe2c⋯.jpg (35.74 KB, 720x540, 4:3, 1455442294115.jpg) (h) (u)

>>854981

>sane language

>C++


 No.855016

>>854998

And a real l33t h4xx0r like yourself uses?


 No.855197

it wasn't designed in a weekend so it's instantaneously better




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
48 replies | 4 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / animu / chaos / had / htg / kpop / sonyeon / strek / sw ][ watchlist ]