Live data from Hacker News

Assembly Hall of Shame

github.com

41–50 of 110 posts

Re: Assembly Hall of Shame

#42
post #13

Earlier quoted context omitted.

Huh? A millisecond is an eternity!

I remember reading once somewhere: If some app responds in 10ms or less, it is INTERACTIVE . makes you think.

Sorry for nitpicking but the logical inverse of this statement is the stronger and more appropriate version: If some app does not respond in 10ms or less, it is not interactive.

Re: Assembly Hall of Shame

#43

Earlier quoted context omitted.

The new windows notepad is a disgrace

The new mspaint fucked, then unfucked, then refucked my decades-old muscle memory of Win+R mspaint Enter Ctrl+E 1 Tab 1 Enter Ctrl+V to open Paint, resize canvas to minimum, then paste from clipboard. When you press Ctrl+E now, the Units control is selected by default, for some completely asinine reason!!!

That's pretty cool. I've never needed to do that because Paint remembers the last canvas size set manually.

Re: Assembly Hall of Shame

#46

Earlier quoted context omitted.

The new windows notepad is a disgrace

The new mspaint fucked, then unfucked, then refucked my decades-old muscle memory of Win+R mspaint Enter Ctrl+E 1 Tab 1 Enter Ctrl+V to open Paint, resize canvas to minimum, then paste from clipboard. When you press Ctrl+E now, the Units control is selected by default, for some completely asinine reason!!!

i’m on LTSC for this (and many other) reasons lol! don’t touch my mspaint and notepad

Re: Assembly Hall of Shame

#47
post #28
post #13

Earlier quoted context omitted.

I remember reading once somewhere: If some app responds in 10ms or less, it is INTERACTIVE . makes you think.

It is literally impossible to respond to input in 10ms on most platforms, for various reasons. The USB input lag of 12-30ms and the 60Hz refresh rate of most monitors being just the first two.

this is also why 60 hz refresh rate is all but dead outside of console gaming (not to mention 1000hz poll rate devices being the norm)

Re: Assembly Hall of Shame

#48
post #6

It’s crazy how computers still seem to get perceivably slow every few years, given how many instructions can be executed in 1ms. Shameful, even.. What’s that law called about programmers wasting all the compute on abstraction?

The OS should do less not more

vi should be a kernel-level system call, tunable with sysctls. For agentic management.

Re: Assembly Hall of Shame

#49
post #16

Earlier quoted context omitted.

It increments rip by one.

No, that's done by the decoder. It actually does nothing.

I mean....there are several architectures out there which has a nop that is a jump forward. Kind of a tree forest issue imho

Re: Assembly Hall of Shame

#50
post #16
post #14

Nop should be #1, because it is infinitely slow for what it does. ;)

It increments rip by one.

I thought I remembered reading somewhere re: the 8086 microcode disassembly that NOP, which is encoded as XCHG AX,AX actually does run the XCHG microcode and uses an internal scratchpad register to do the exchange.
Post reply on HN