hot take: if C++ was truly committed to zero cost abstractions, functions would have opt-in reentrancy, the same way classes have opt-in vtables
-
Show this thread
-
Replying to @whitequark
this is the most cursed thing i have ever heard, in part because it seems like the kind of thing c++ would in fact do. then it would turn into something weird for a handful of people to be smug about managing to use correctly
2 replies 1 retweet 43 likes -
Replying to @eevee
my daily work involves using a compiler where functions are not reentrant by default (and get significantly slower if you make them reentrant)
5 replies 0 retweets 33 likes -
-
sdcc for 8051. my life these days includes things like "generating optimal 8051 assembly using an SMT solver because i'm trying to implement modern crypto on a $2 wireless SoC"
2 replies 1 retweet 19 likes -
Replying to @whitequark @eevee
I would say “that sounds terrible, I’m sorry” but that’s actually pretty awesome
1 reply 0 retweets 8 likes -
(the $2 is for the finished board off ebay, the actual SoC at qty 1 costs more from a retailer) it's ... let's say it's a constant struggle against the dark gods of an architecture that can only do math on a 8-bit accumulator and rotate one bit at a time
2 replies 0 retweets 14 likes
Wow, flashbacks to my SNES homebrew programming days in college :)
-
-
we have Rosette these days so it's actually pretty easyhttps://gist.github.com/whitequark/1f7cc43c1cc2b179a1d4a668f0089804 …
0 replies 0 retweets 9 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.