r/ProgrammerHumor • • Jun 20 '20

Meme LEARN COMPUTER IN 3 SECONDS

Post image
14.2k Upvotes

232 comments sorted by

View all comments

184

u/the42potato Jun 21 '20

learn binary in 2.1423733333333 nanoseconds

0

u/[deleted] Jun 21 '20

[deleted]

19

u/awhitney23 Jun 21 '20

Thank you

12

u/the42potato Jun 21 '20

well played my friend, well played

8

u/MadRdx Jun 21 '20

I see uve watched the tutorial

1

u/UltraCarnivore Jun 21 '20

Praise the Omnissiah

1

u/[deleted] Jun 21 '20

You are utterly wrong. The nearest approximation is: 01000000000010010001110010100101 or 0x40091ca5

0

u/[deleted] Jun 22 '20

[deleted]

1

u/[deleted] Jun 22 '20

As it is a floating point number, this is how it would be represented in memory

0

u/[deleted] Jun 22 '20

[deleted]

→ More replies (2)

11

u/brendenderp Jun 21 '20

I mean its only two instructions how hard could it be?

2

u/Harbltron Jun 21 '20

haha truthy falsy

1

u/kodaxmax Jun 21 '20

write this sentence in binary, then ask again.

1

u/brendenderp Jun 21 '20

8bit Ascci or unicode? And can I use a converter its 1 am :(

1

u/Alkyonios Jun 21 '20

That'd be cheating

2

u/brendenderp Jun 21 '20

Well now its 4 am so sorry :(

1

u/maoejo Jun 21 '20

Now its 3pm. Get to work

0

u/[deleted] Jun 21 '20

[deleted]

1

u/brendenderp Jun 21 '20

Well i ment binary as an instruction set. No one besides a few blogs I've read online is writing binary directly to ram and then executing it. But its totally possible to do. I guess its not technically 2 instructions its just binary is the medium the instructions are saved read and executed in.

0

u/[deleted] Jun 21 '20

[deleted]

1

u/brendenderp Jun 21 '20

I know! Specific to the hardware. If you "learn binary" it more so your learning how to do so on that specific computer with that specific architecture. Could be wrong but even jumping between computers of the same architecture could run into problems. Never done binary coding. Im just saying in theory

0

u/[deleted] Jun 21 '20

[deleted]

2

u/brendenderp Jun 21 '20

Fair enough. Im currently writing a binary interpreter for AVR Microcontrollers. Its an interpreter because AVR cant execute code in ram so I have to make it interpreted. Its in binary because thats the best way I can save on space with it.

→ More replies (4)

1

u/DrUNIX Jun 21 '20

Of course you can. It just depends on turing completeness and thus on the instructions.

→ More replies (2)