News for hackers. Stuff that matters.
Re:Binary Translators for Weak Memory Model Architectures by dataangel on Friday July 29, 2022 @01:02PM (#32279365)
Or do what Apple did and addon an x86 memory semantics mode for ARM.
Re:Binary Translators for Weak Memory Model Architectures by lathiat on Saturday July 30, 2022 @12:08AM (#32284205)
This ("TSO") is actually an ARM standard however its only very latest ARM (v8.4-v8.7) and not many other CPU implementation currently. AWS Graviton 3 and maybe very latest phone SoCs if I understand correctly.

https://news.ycombinator.com/item?id=31664688 https://twitter.com/marcan42/status/1534053625110351872 https://twitter.com/never_released/status/153412764108259328...

Re:Binary Translators for Weak Memory Model Architectures by garaetjjte on Saturday July 30, 2022 @09:33AM (#32286679)
TSO is not architectural.
Re:Binary Translators for Weak Memory Model Architectures by TheLoafOfBread on Saturday July 30, 2022 @05:05AM (#32285367)
As far as I know, for "emulation" they are still using x86 memory model, which is making binary translation much simpler. I am not aware of any MCU/CPU, which would be able to just change its memory model / peripheral mapping as it pleases.
Re:Binary Translators for Weak Memory Model Architectures by hedgehog on Friday July 29, 2022 @02:15PM (#32280138)
Obligatory Alan Kay quote: "People who are really serious about software should make their own hardware."
Re:Binary Translators for Weak Memory Model Architectures by woodruffw on Friday July 29, 2022 @12:57PM (#32279308)
Is there supposed to be more content on this website? Both of the links on the main page lead to stubbed pages; the one for the SBT (Lasagne) has a GitHub link to a different static binary translator from 2015 (Microsoft's mctoll).

Edit: From the paper[1], Lasagne is based on mctoll?

[1]: https://binary-translation.github.io/pubs/pldi22-lasagne.pdf

Re:Binary Translators for Weak Memory Model Architectures by rurban on Saturday July 30, 2022 @06:48AM (#32285751)
obviously an too eager submission. out of 5 planned pages, only one is done yet. let's check again in two months
Re:Binary Translators for Weak Memory Model Architectures by monads on Friday July 29, 2022 @03:45PM (#32281023)
An interesting paper. Do you know books/papers to learn more about memory models?
Re:Binary Translators for Weak Memory Model Architectures by aaronbee on Friday July 29, 2022 @03:50PM (#32281070)
Russ Cox has a few good explainer blog posts: https://research.swtch.com/mm
Re:Binary Translators for Weak Memory Model Architectures by monads on Friday July 29, 2022 @03:58PM (#32281168)
Many thanks.