Content pfp
Content
@
0 reply
0 recast
2 reactions

gakonst pfp
gakonst
@gakonst
crossposting this EVM optimization idea, tl;dr: 1. execute N opcodes at once, define specialized handlers 2. train a transformer to predict stack/mem view given a view of the current mem/stack and a sequence of previous/next opcodes https://twitter.com/gakonst/status/1714411279765688586
2 replies
3 recasts
14 reactions

brock pfp
brock
@brock
i’m not totally convinced this actually will result in much of a speed up personally this comes down to stack machines being extremely trivial to convert into machine code in the first place (see this talk: https://youtu.be/umSuLpjFUf8?feature=shared) i think it may end up resulting in more branch pred misses
1 reply
0 recast
0 reaction

Varun Srinivasan pfp
Varun Srinivasan
@v
wouldn't you need the transformer to be 100% accurate to be useful? in which case, does it just become a big lookup table?
0 reply
0 recast
1 reaction