Periodic reminder: Don’t compile to C.
-
-
TBF LLVM has a lot of obnoxious UB around float <-> int operations, division, sqrt, etc. too
-
I think, at a higher level, using *any* language as a compiler target requires thorough understanding of the target language semantics—even assembly language
- 12 more replies
New conversation -
-
-
If your HL lang wants trap on overflow you need to generate the cobditionals & then the UB in C never happens. If it wants wrap, model your signed types as C unsigneds.
-
I’m not saying it can’t be done, it’s just that it’s really ugly :)
End of conversation
New conversation -
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.