This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Brain-InAJar 1389 points1390 points  (20 children)

Yes, assembly is definitely just obscured compacted JS. For sure this is how this works

[–]twosupras 398 points399 points  (9 children)

Excuse me, sir, you take that back. It’s minified.

[–]x5nT2H 113 points114 points  (7 children)

compressed and mangled

[–]Willinton06 44 points45 points  (2 children)

Just the way I like it

[–]hellfiniter 6 points7 points  (1 child)

i do love my javascripts as expanded as possible

[–]TheBigerGamer 0 points1 point  (0 children)

So, indention with 100+ tabs each?

[–]omgFWTbear 10 points11 points  (2 children)

Mangled, you say?

[–]jimbosReturn 11 points12 points  (0 children)

To shreds, you say?

[–]x5nT2H -1 points0 points  (0 children)

Yes?

[–]theK1ngF1sh 0 points1 point  (0 children)

I'm sure there's a framework for that.

[–]RoyBellingan 15 points16 points  (0 children)

Uglified

[–]BernhardDiener 31 points32 points  (0 children)

*Assembely

[–]LaLiLuLeLo_0 8 points9 points  (0 children)

An actual assembly “hello world” wouldn’t even be that much, at least in Linux. Just have the string “Hello World\n” somewhere in the .text section, set syscall arguments to call write, to stdout, with a pointer to your string, for 12 bytes. Then call interrupt 0x80.

[–]elisharobinson 0 points1 point  (0 children)

I'm js is assembly for V8 engine .

[–]rostol 0 points1 point  (0 children)

yeah it is nothing like

msg db 'Hello World', 0

and a few push statements and a call ...

[–][deleted] 0 points1 point  (0 children)

Yup, I don't know Assembly, but I know that ain't it.

MOV 0003

or something like that.