would the Itanium stakeholders consider this a "success"? :)
-
-
Replying to @whitequark
Probably not, but it's more of a success than all of the compiler work going to waste!
1 reply 0 retweets 5 likes -
Replying to @pcwalton
it boggles my mind that LLVM still has an Itanium backend but (soft-)rejected an M68K one
1 reply 0 retweets 2 likes -
-
Replying to @pcwalton
I think adding a 8051 (or a 6502) backend would be a mistake, actually. you'll be working against LLVM the whole time and the generated code would be still crap no matter how much effort you sink into it
3 replies 1 retweet 3 likes -
Replying to @whitequark @pcwalton
most 8051 C code isn't even real C! the default C mode in sdcc is to make functions non-reentrant
1 reply 0 retweets 1 like -
Replying to @whitequark
I assume you’ve played with cc65 at some point… It’s impressive how it actually compiles real C, and hilarious how unidiomatic your C has to be to get it to generate anything reasonable (use chars instead of ints, avoid mul/div, use static variables everywhere, etc.)
1 reply 0 retweets 1 like -
Replying to @pcwalton
I've never used 6502 because I'm not nostalgic for a 6502 system I never had as a child and there are few other reasons to do it
2 replies 0 retweets 4 likes -
Replying to @whitequark @pcwalton
meh. there are some decent modern static 6502 cores. clock them down to 1Hz if need be. decent code density if that's important. you don't have to be nostalgic to appreciate it.
1 reply 0 retweets 0 likes -
Replying to @OhMeadhbh @pcwalton
the only compelling reason to use 8051 so far i found is "low cost" (for nRF24LE1) and "great peripherals" (FX2); unless the hardware is really, really, really awesome in some way like that, I'm going to firmly stick with something that runs Rust
3 replies 0 retweets 4 likes
To be clear, I’d never use the 6502 for anything real—I’d use a Cortex M0 or whatever or if I absolutely have to go lower than that an MSP430
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.