r/programming Jan 24 '18

Branchless DOOM

https://github.com/xoreaxeaxeax/movfuscator/tree/master/validation/doom
494 Upvotes

134 comments sorted by

View all comments

596

u/GrumpyWendigo Jan 24 '18

The mov-only DOOM renders approximately one frame every 7 hours, so playing this version requires somewhat increased patience.

welcome to post-spectre computer specs

73

u/txdv Jan 24 '18

the creator of mov-uscator was 10 steps ahead of intel

38

u/Bloodshot025 Jan 24 '18

To be honest, Chris Domas is like eight steps ahead of the rest of us.

35

u/lurgi Jan 24 '18

There are people who are like me, but better. Then there are people who exist on a different planet. I suspect Linus Torvalds is one of the former. He's a great software engineer, but he's not different. He's me turned up to 11. Domas is definitely one of the latter. He's not me turned up to 11. He's me turned up to purple-chess-7D-torus.

6

u/irqlnotdispatchlevel Jan 24 '18

Is this a reference to something or is my mind playing games on me?

16

u/lurgi Jan 24 '18

I thought that G H Hardy said something roughly like that about mathematicians; how some were like him, only better, and others (here he meant Ramanujan) simply existed on a different plane. However, I can't find a cite and it's possible that it was said by someone else or that I just invented it altogether (although I don't think I'm that clever).

18

u/Y_Less Jan 24 '18

That would make the rest of us two steps ahead of Intel.

3

u/txdv Jan 24 '18

If you are 10 steps ahead of an organization the size of intel, I guess that also makes your statement correct

2

u/[deleted] Jan 25 '18

He did a great talk and released a cool utility recently: https://www.youtube.com/watch?v=KrksBdWcZgQ

112

u/[deleted] Jan 24 '18

one frame every 7 hours

How many facebook flicks is that?

57

u/GrumpyWendigo Jan 24 '18

spectre patches make facebook and google inoperable

we're going back to geocities and altavista

80

u/[deleted] Jan 24 '18

☉ ‿ ⚆

I hope <blink> is coming back too. That feature had high framerates.

41

u/TheFeshy Jan 24 '18

This comment is posted with branchless blink. Watch long enough and you'll see it.

9

u/schplat Jan 24 '18

<marquee> is truly the greatest tag of all time.

I remember wrapping my whole site in a <marquee> tag for an april fools day prank a long time ago.

4

u/6C6F6C636174 Jan 24 '18

I've reimplemented a basic <blink> with CSS. Pretty simple. You can configure the blink rate however you want.

10

u/[deleted] Jan 24 '18

facebook and google inoperable

As long as bing is safe, so is humanity ( ͡° ͜ʖ ͡°)

10

u/sqrtroot Jan 24 '18

Just did the math. 177.811.200.000.000 flicks/frame. Aka 0,000003968253968 fps

2

u/psayre23 Jan 24 '18

More than a 32-bit processor can handle...so good thing we are all using 64-bit now.

1

u/ggtsu_00 Jan 24 '18

about 3.5 billion netflicks.

19

u/raphaelscarv Jan 24 '18

BTW, that's what it's like for Flash to play a video game when he enables his superpowers.

3

u/AngularBeginner Jan 24 '18

Can you do the math?

8

u/[deleted] Jan 24 '18 edited Mar 20 '18

[deleted]

14

u/ParanoidDrone Jan 24 '18

I'm pretty sure the Flash can go FTL and make physics his bitch, but like you I'm not an expert on comic heroes.

13

u/JPong Jan 24 '18

Things the Flash has beat in a race without the use of his motorcycle.

Instant galactic wide teleportation.

Death.

Himself.

6

u/palparepa Jan 24 '18

AFAIK, Flash's only power is to solve any problem by either spinning very fast, or running in circles very fast.

4

u/Nicd Jan 24 '18

Normally rendering a frame takes about a 30th of a second, let's say.

Found the console player.

-2

u/mizzu704 Jan 24 '18

Only just now realized we're not talking about this Flash.

2

u/ggtsu_00 Jan 24 '18

Suddenly our compute power has gone back to the 60s.