[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/tech/ - Technology

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Flag
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 3 per post.


File: 1458139649393.webm (7.84 MB, 640x360, 16:9, 1446757680605.webm)

 No.544438

Motherfucking WebAssembly

Are your butts ready for the final frontier on the web?

WebAssembly is on its way into all three major web browsers.

https://hacks.mozilla.org/2016/03/a-webassembly-milestone/

https://blogs.windows.com/msedgedev/2016/03/15/previewing-webassembly-experiments/

http://v8project.blogspot.co.at/2016/03/experimental-support-for-webassembly.html

Is this the dawn of a new golden age for websites or is it the doom of the web as we know it?

 No.544443

Is this gonna make my browser even more vulnerable to exploits?


 No.544444

WebAssembly is bad

check em


 No.544445

File: 1458140213385.jpg (73.28 KB, 1280x720, 16:9, maxresdefault.jpg)

>>544438

Layers of autism.

All.

The.

Way.

Down.


 No.544446

>>544444

Quints checked.


 No.544448

GENTOO IN THE BROWSER


 No.544449

>>544444

Checked


 No.544450

File: 1458140452346.jpg (90.95 KB, 800x537, 800:537, badcaps.jpg)

>>544448

Fuck, if I wanted Gentoo to crash and freeze randomly at the drop of a hat, I'd buy a mobo with bullshit chinese capacitors.


 No.544451

I thought this sort of thing should have been implemented as improvements to LLVM and not as its own crappy ChromeNativeSandbox competitor?


 No.544454

🇮🇱


 No.544456


 No.544458

>>544451

LLVM on top of a RISC/V simulator sandbox. Shouldn't even touch JavaScript. Spike exists. It will even run seL4 if you don't want to run Gentoo.


 No.544476

>we're finally going to get what java should have been

Fucking finally.

Writing sepples bytecode that runs everyfucking where at decent speeds here we go.


 No.544484

File: 1458143577495.jpg (59.51 KB, 376x566, 188:283, top_gnu.jpg)

>client-side assembly

Nice new way to obfuscate javascript. Good thing is that web developers relying on hipster technology can't into assembly.

>>544444 (impressive)


 No.544511

I fucking hate webapps. Instead of making browsers a viable platform for programs with gigabytes of bloat, why not make desktop GUI development easier? It's going to bring us less headaches in the long term.


 No.544529

Truly the Golden Dawn of the age of computing.


 No.544558

>>544511

fuck it, let's just bring back tty terminals


 No.544562

Fuck webassembly. It's just another way to run nonfree, ofuscated code on my computer. I bet it's going to be a security nightmare as well.


 No.544588

Does that mean that the times of CSS/JS/PHP are over?


 No.544589

File: 1458158858250.jpg (9.72 KB, 184x184, 1:1, 5a0b8e9b6568ae3a07fcff92f4….jpg)

>>544438

This is going to make personal software obsolete as we know it. Everything will be offered as a service through the web. Pretty soon it will be impossible to get a computer powerful enough to run its own software, as all of them will be intended to serve as thin clients for web services.

It didn't have to be like this.


 No.544590

>>544589

Welcome to the (((Cloud)))


 No.544598

>>544589

>being retarded

The code is being run on the client so by definition it's not thin and does run it's own software.

Also this is going to have to be the future as not microcuck is going to a store model so you won't be able to install GANOO software on any of the major platforms windows, mac android. Leaving just webdelivery available.


 No.544600

>>544588

It can't replace JS/HTML yet because it doesn't support DOM so you can't manipulate "normal" webpage things. But they are planning on including DOM support eventually.


 No.544613

>>544438

why javascript is such shitty language???

literally 1 tab open, a crossword puzzle, uses a script to show a clock and manipulate the puzzle. not doing anything on the puzzle, i can watch as my cpu gradually heats from 40C to 75C and goes into kernel panic and need to restart after 75C and restarts.

with no javascript i can have 30+ tabs open no problem, cpu maybe raise from 40C to 50C.

what the fuck???


 No.544639

File: 1458166883954.jpg (1.27 MB, 4134x2153, 4134:2153, IMG_20160317_001859.jpg)

>>544613

>Computer restarts if CPU goes over 75C°

Pfft. What a pussy.


 No.544640

>>544639

that thing's going to fucking melt


 No.544644

>using the os that uses period blood swirling in the drain as its logo

lulz


 No.544646


 No.544649

>>544640

My fingers sting a bit when typing and it heats up my flashdrives pretty well if I happen to leave one in the USB port. I imagine I can expect a feint smell of burning plastic if I leave it on longer than a few hours.


 No.544695

>>544450

>Designated Shitting Electrolytics


 No.544814

>>544438

One of the most moronic things to happen in all the history of the web. Finally, I can run retarded pseudoprograms embedded in a document description language slightly faster. Now it will be harder to reverse engineer them when writing my own proper (desktop) interfaces.

>>544613

Last time I checked it was possible to write JS without it spinning the CPU. What you are experiencing is a typical shitcode website, which is why the web should not have executable code or any process that's disproportionately resource consuming. Also why the fuck are you using the web for a crossword puzzle. You use the web for viewing Wikipedia pages and reading the news.

>>544562

betting on something we know is true is cheating


 No.544847

>>544511

Nobody wants to install things.


 No.544865

>>544613

My cpu never goes beyond 20c, FX 8300 series gpu on the other hand is a different story entirely... how often do you clean your computer?


 No.544895

>>544484

Who said Web developer artfags would ever touch assembly? They're just going to get a Javascript compiler, problem solved. You already do that every time you use a programming language whose level is higher than assembly.


 No.544906

I feel kinda icky about running my code in a interpreting vm, but if overhead introduced by resource management of OS is no different, so eh, whatever. Just ditching JS by itself is a good idea enough for me.


 No.544933

>>544558

Hell, there's always a shitload of people wanting them back, but no organized group that would want to really start developing services, communication channels and other shit to make the normalfag Web™ obsolete. As long as we're in the HTML era, the September will continue.


 No.544976

Friendly reminder:

IT CAN ALWAYS BE WORSE

and it WILL get worse


 No.544977

>>544976

Unless we stop it.


 No.544981

>>544977

There are no breaks on the dubs train.


 No.545029

File: 1458215168270.jpg (116.03 KB, 506x662, 253:331, IMG_20160229_151831.jpg)


 No.545047

>>544847

> Nobody wants to install things.

In that case, developers can just release portable installations.


 No.545073

>>544438

YOU MIGHT AS WELL JUST KILL YOURSELF RIGHT NOW

O'REILLY WAS RIGHT


 No.545080

File: 1458226546000.jpg (37.89 KB, 798x500, 399:250, 1455462901394-b.jpg)


 No.545095

>>544847

Java solved this problem but you refused. This is literally the future you chose.


 No.545111

>>544438

>language that makes everything able to run on browser.

Does this make browsing more bloated than ever?


 No.545115


 No.545118

>>545111

>>545115

This is probably the only case I know where something gets more bloated by getting rid of the code and making something simpler.


 No.545149

Just imagine how adblock for sites that adopt asm.js in the future would look like.

Web browsing is kill.


 No.545152

File: 1458234776150.png (164.73 KB, 900x891, 100:99, 1403132921998.png)

>>545149

>asm.js


 No.545154

>>545029

This is immediately what I thought of, it's finally happening

IT'S THE YEAR OF WEB ASSEMBLY


 No.545176

>>545149

I don't get it, what would be diffrent?

>block known ad sites

>block js from accessing resources outside of host's domain and some white listed domains.

>locate shitty elements on a page and cut them out with regexps

>turn js off completely

But now there's new option!

>download asm.js on your machine

>sodomise it with disassembler

>insert cool demo of your pirate team with chiptunes and visual effects

>assemble it back into native code

>run it without a browser


 No.545177

>>545149

I don't get it, what would be diffrent?

>block known ad sites

>block js from accessing resources outside of host's domain and some white listed domains.

>locate shitty elements on a page and cut them out with regexps

>turn js off completely

But now there's new option!

>download asm.js on your machine

>sodomise it with disassembler

>insert cool demo of your pirate team with chiptunes and visual effects

>assemble it back into native code

>run it without a browser


 No.545212

>>544865

This is 10 year old laptop, fan is clean, the only thing i can think is solder paste is old. maybe i will try putting some new solder paste on.


 No.545218

>>544814

if i use just lynx then i am fine, no crashes ever :).

i do crossword online because have no crossword puzzles at home and am practicing crosswords because google foo.bar has crossword puzzle supposedly. and i not good at crosswords and need to practice.


 No.545268

File: 1458247811220.webm (1.19 MB, 352x262, 176:131, Congratulations are in or….webm)

>>544562

>>544589

>>544590

I want 20th century internet back so badly. This is all just a push to shove proprietary software down our throats.

>>544444 (keep going)


 No.545282

Is it still JavaScript? Or some new binary byte code? Does it mean I can use any other lang with webasm as a compiler target? What languages would be a good fit to take advantage of this new setup?


 No.545289

>>545282

It's a javascript with ability to slowly replace it with asm.js-special optimisations at first and whole new webassembly-only interpreter as a end goal, but backwards compatibility will be preserved all the way.

Technically you can compile into webasm any language you want, but why not write in webasm directly?


 No.545313

File: 1458252067954.png (174.86 KB, 900x900, 1:1, my_dream.png)

I can only see this going all kinds of wrong.

It's already bad enough that we even have "dynamic" websites and "webapps", instead of regular applications made by sane people, so, you know what? Let's port even *more* to the browser because we fucking can, and while we're at it, let's add another layer of obfuscation, because obfuscated javascript isn't enough.

Great. Just great. Where did I leave the knife?


 No.545331

I need a guide on how to write in webassembly. Does one exist?


 No.545354


 No.545355

>>545289

I wish the web consortium didn't do this.

We need a fresh start.


 No.545548


 No.545554

File: 1458285476861.jpg (8.18 KB, 236x231, 236:231, pepe.jpg)

>>545282

No it isn't javascript. It's a tree structure representation of the code you compiled from and the format it uses for that structure is based on javascript. This is so all the browser companies don't have to completely rewrite their javascript VMs like google's V8. So they can add support for webassembly quickly. I mean it's only been like a year since it was announced and they already have a basic version of it in browsers.

And you're not supposed to program in webassembly. I don't even know how you would.

And how exactly is this bad for FOSS? Just because you can open a .js file in notepad does not make the code open source goddamn you fucking luddites.


 No.545686

>>544443

Yes, which is not a bad thing!


 No.545687

>>544444

unbelievable


 No.545719

>Web pages are not permitted to access those native libraries for security reasons

Sounds like a very good security concept. They are not allowed to do evil things, problem solved.


 No.545745

>>545719

As long as sandboxing is properly implemented, isolation is best form of secutity.

I understand >>545554 concerns - if we don't have to trust software anymore, we don't have to look at the code, and authors don't have to share the sources, but there are lot's of other reasons for going opensource route. And webasm is supposed to be easier to disassemble and understand in it's raw form, because it's not real asm after all.


 No.545747

>>545745

Yeah and as we saw from years of experience with sandboxing in all major broswers it's always been VERY secure right?


 No.545759

>>545747

Sorry, I didn't do my homework on this subject.

But it's solvable problem, and writinig one good sandbox is easier than writing all software stack.


 No.545769

>>545047

Nobody wants to download anything


 No.546245

okay, forget web for a second, how about doing something similar on OS level?

-make some lightweight and fast vm architecture for qemu

-attack virtial devices as needed

-serial for console I/O

-network, sound and screen if needed

-mount files and folders through virtfs or whatever

-run your software on the "bare metal" inside vm

There's no point to it other than curiosity, as slowdown and inconvinience won't compensate for additional security.

But I really wan't to see how well something like, letssay, grep would work if implemented as a qemu img.

I guess qubes os does something like that, but it's virtualised software runs in minimalist POSIX environment, not on "bare metal"

qemu-system-webasm :^)


 No.546246

>>546245

>attack

attach


 No.546249

>>546246

and I put sage in a wrong place, clearly I should stop posting for a while.


 No.546582

Are web developers just hopelessly naive or what?

https://github.com/WebAssembly/design/blob/master/TextFormat.md#official-text-format

> The purpose of this text format is to support:

> View Source on a WebAssembly module, thus fitting into the Web (where every source can be viewed) in a natural way.


 No.547378

tl;dw:

pizzahut.com will run code in Ring 0 and have complete control over your computer

microsoft.com will install telemetry that your Linux kernel will execute


 No.547380

>>547378

In the future, those of us who compile web browsers without web assembly support will be called autistic.


 No.547430

>>544438

At least give me a tl;dr, OP. It's 201*teen.


 No.547737

Web assembly is FUCKING GREAT. I'll take a well-defined, sandboxed VM over Javascript and its ridiculously complicated implementations any day. Not to mention the performance.

Also, every retard who goes "hurr muh closed source" should try reading some minified Javascript.


 No.547763

>>544438

Behold, the website of the future:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>title</title>
</head>
<body>
<canvas id="c"></canvas>
<script>
var canvas = document.getElementById("c");
gl = initWebGL(canvas);
// 10mb asm.js blob containing:
// * code to render directly to canvas while avoiding the DOM
// * code to override all native functionality (right click menus, keyboard shortcuts, text highlighting, copy/paste, save...)
// * code to stream data in proprietary formats over WebRTC as you browse the page to avoid sending a full document
// * code to encode images in a <video> tag in order to abuse EME
// * code to proxy data requests to third parties in order to circumvent ad blockers and hostfiles
</script>
</body>
</html>


 No.547773

File: 1458573627883.jpg (13.42 KB, 300x300, 1:1, 1311976432536.jpg)


 No.547774

>>545095

It's because Oracle is so full of shit that they can't keep their software 0-day free.


 No.547779

>>544649

Get a laptop fan you huge faggot


 No.547787

File: 1458574825355.jpg (163.52 KB, 501x585, 167:195, merchant.jpg)

>>547763

This is what will happen. Flipboard already does this for the smarthphone/tablets.

http://engineering.flipboard.com/2015/02/mobile-web/

Welcome to the future.


 No.547805

File: 1458576840639.png (20.24 KB, 501x585, 167:195, 1456961721871-4.png)

>>545554

See:

>>547763

>>547787

Don't think for a moment this isn't going to be a regression back to the 1980s when you had to run binaries to use BBSs.

I really think there was a perfect technology/convenience around 1997-2006. You could surf the web, watch videos, etc without being held hostage by the devices YOU paid for and YOU are the owner of.

Always remember: big government and big business are to sides of the same coin; states want backdoors and warrantless wiretapping, businesses want to sell our personal information to the highest bidder.

And no, I am no luddite, but i cannot see how running non-free binaries from every website I visit is progress.

JavaScript was a slippery slope, and see what it led to.

http://www.gnu.org/philosophy/javascript-trap.en.html


 No.547917

>>544438

Great halfchan-tier post, next you're going to make an infographic on it with pointless swearing and "motherfucking" every other word like a faggot.

>>544450

>blaming hardware

>for your shitty OS destroying things


 No.547966

File: 1458587207230.jpg (239.66 KB, 800x1000, 4:5, 1365811306650.jpg)

>>547737

>Also, every retard who goes "hurr muh closed source" should try reading some minified Javascript.

>it was possible for it to be difficult before so there's no difference now that it's literally impossible


 No.548004

>>544438

It sucks because it is not The Right Way™.

It's awesome because it is slowly going to replace 90% of all proprietary Windows/OSX software, so maybe 10 years in the future most software is OS independent, because it only needs web browser.

This won't hurt Linux, because we are extremely elitist as fuck and will enforce GTK/Qt even if WebAssemly is successful.

This only opens more opportunities for Linux. Normalfags will save us with their cancer.


 No.548037

>>544589

>implying

The video game industry will never let such things happen.

The people who write software ==NOT== in the cloud will not allow this to happen.

Local storage will never let such things happen.

Video rendering and editing will never let such things happen.


 No.548127

>>545047

No, no, you don't understand: People want stuff that just werks.

Said people also likely don't know how to use a computer.


 No.548180

>>548004

i'm an elitist and hate gtk and qt

when i think of ways to build a gui, the first thing that comes to mind is google how to display html, css and javascript in a frame in the given language


 No.548287

>>545354

looks like some unholy abomination of assembler and lisp, emacs autists will love it


 No.548384

>>544450

Those are Nichicon, incredibly high quality Japanese made Capacitors.

They are probably being used outside their rated applicatin.


 No.548391

>>548004

I am sorry, but I don't want to put all my data into an obscure monolithic database. You already know how that worked for the Windows registry, and it isn't nearly as invasive as using WebStorage for everything.

>Fucked up while configuring a program and now it is a mess

>Want to reset it to factory defaults

>Since modern browsers just want to offer their users "the best browsing experience", all options regarding the manipulation of WebStorage have been removed

>Your options are:

>a) Grab a SQLite client and attempt to delete all entries referencing that program

>b) Remove the entirety of the WebStorage database file and just fuck every webapp's config up

>c) The program which configuration got fucked up was the browser. You have to restore the browser to defaults. Just fuck every webapp's shit up too.

I mean, I have nothing against trying to popularize some "universal VM" architecture for great multiplat capabilities, but the entirety of the web browser stack is cancer.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]