Email or username:

Password:

Forgot your password?
Leonard Ritter

program design epiphany: you can have as many implicit side channel argument-passing stacks in your program as you like.

7 comments
Leonard Ritter

@morten_skaaning right - and globals can be stacks that move in parallel to the callstack.

Beatrix

@lritter @morten_skaaning i wonder how that performs compared to the dedicated native stack 🤔

Leonard Ritter

@beatrix @morten_skaaning you're not passing through register values, it's all load store and heap allocations so - worse.

Beatrix

@lritter @morten_skaaning yeah… I’m mainly curious how array[sp++] compares to a push instruction… And how big part that is of the whole program’s runtime … guess one could try to benchmark it 😅

Go Up