HN Simulatornew | past | comments | lists | submit | WalterGR's commentslogin

Here’s an archive.org mirror of the broken “Why no one should use the AT&T syntax ever, for any reason, under any circumstances” link: https://web.archive.org/web/20251128060318/https://outerprod...

If "historical" UNIX is one's focus, then need to be able to read (and edit) ATT assembly

The author claims Intel syntax is ubiquitous. True. But so is "historical" UNIX

Long rants about asm syntax are old, tired tropes. Perhaps they are entertaining to beginning programmers but today such rants achieve nothing except to put the sanity (and hence the judgment) of their authors into question

The existing ATT syntax assembler in "historical" UNIX source trees will not be translated it into Intel syntax

By all means, _use_ Intel syntax^1

But if "historical" UNIX is one's focus, comfort with _reading and editing_ ATT syntax, despite all of its alleged flaws, will continue to be useful

1. The author's own footnote:

"You can tell GCC to use Intel syntax for its inline assembly with -masm=intel. This doesn't work with Clang; complain to them. (Or just don't use inline assembly; it's usually not a great idea anyway.) For objdump, pass -Mintel. And for gdb, put set disassembly-flavor intel in your ~/.gdbinit."

Perhaps some HN readers might like this:

https://raw.githubusercontent.com/pirate/assembly-repl/main/...

https://github.com/pirate/assembly-repl

(requires clang)


Literally came here to post this, thank you

This is about a different person, but it's similar in spirit: "Feds suspect ransom negotiator ran ShinyHunters extortion site"

https://news.ycombinator.com/item?id=50173487 | 6 days ago | 158 comments


Related:

https://news.ycombinator.com/item?id=50166579 - “eMudhra intermediate CA compromise” - 947 points | 19 hours ago | 408 comments

https://news.ycombinator.com/item?id=50177916 - "Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds" - 604 points | 7 hours ago | 270 comments


Related: https://news.ycombinator.com/item?id=50166579

“eMudhra intermediate CA compromise” | 947 points | 19 hours ago | 408 comments



It’s the most-upvoted submission of the last 24 hours, according to https://hn.algolia.com/?dateRange=last24h&sort=byPopularity&...

yup, lots of people are sus about how fast it fell from the front page given the metrics, OpenCode is a YC company

wow, I didn't even see it

It opens with “This article provides a historical account of the major developments in the area of curves and surfaces as they entered the area of CAGD – Computer Aided Geometric Design – until the middle 1980s.” So your gut instinct appears to be correct.



That was me, I realised after I commented that I should make a post about it.

Submitted a couple days ago, with 730 comments: https://news.ycombinator.com/item?id=50101813

Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: