Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

WebAssembly

Name: Anonymous 2015-06-20 4:58

http://arstechnica.com/information-technology/2015/06/the-web-is-getting-its-bytecode-webassembly/
JavaScript does have certain important advantages: it's a memory safe, sandboxed environment, meaning that (browser bugs excepted) JavaScript programs can't escape beyond the confines of the browser to access sensitive data or install persistent malware.
this is what plebs actually believe

Name: Anonymous 2015-06-20 7:06

what were you expecting from arstechnica?

Name: Anonymous 2015-06-20 8:00

Will it finally have JMP / GOTO?

Name: Anonymous 2015-06-20 8:52

thinking better learn some ASM then... found this link of hackernews the other day:

https://zarkzork.com/servasm.html

Minimal x86_64 Linux-only file webserver written in assembly language. This page is literate program with all service source code.

...

We build response headers on stack. That means that we need to push strings from last one, for example to build header:

HTTP/1.0 200 OK\r\n
Server: servasm\r\n
Content-type: text/html; charset=UTF-8\r\n
Content-Length: 42\r\n


We will push \n\r24 :htgneL-tnetnoC\n\r8-FTU=tesrahc.... To make this easy we keep pointers to the end of string instead of beggining and use 0x00 byte to mark begining of the string.

We use stack to build headers. string, so all headers are pushed from last character to the first one.

da fuck .. is this what ASM programmers do for a living? i'll just keep programming golang and javascript kthxbai

Name: Anonymous 2015-06-20 9:03

>>4
I bet it would take 10x less code in Haskell.

Name: The London Look 2015-06-20 9:52

We use stack to build headers. string, so all headers are pushed from last character to the first one.

Who would have thought this specimen would have trouble writing english. Ass. really is his language!

Name: The London Look 2015-06-20 9:52

ass is the ass pnemonic for assembly

Name: Anonymous 2015-06-20 11:04

>>4
Proof that they are a group of hackers doing this shit for the kicks.
No serious 2015 programmer would not use bulk copying instructions instead of repeated calls to push.

Name: Anonymous 2015-06-20 11:14

>>8
That's proof that assembly programmers are retarded cavemen.

Name: The London Look 2015-06-20 11:29

>>9
yeah but if I ask you whether you've loved anybody, we know you're going to have one of two responses:

1. frogwarts
2. wrinklewarts

Name: The London Look 2015-06-20 11:32

Name: The London Look 2015-06-20 11:32

Name: The London Look 2015-06-20 11:34

booohoooohooo why cant there be a anime lion wearing a cat mask

Name: Anonymous 2015-06-21 3:44

Looks like they reinvented the JVM.

Name: Anonymous 2015-06-21 4:58

>>4
How funny.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List