Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
holy_city
on Sept 20, 2019
|
parent
|
context
|
favorite
| on:
Common Systems Programming Optimizations and Trick...
The false-sharing macro in the example expands to __attribute__((alligned(/* etc
/ )) or __declspec(align(/
etc*/). Is there a reason these are preferred over the alignas specifier introduced in C++ 11?
saagarjha
on Sept 20, 2019
[–]
I believe there's a note that recommends the use of alignas when available:
https://github.com/abseil/abseil-cpp/blob/fa00c321073c7ea40a...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: