[HN Gopher] Don't Clobber the Frame Pointer
___________________________________________________________________
Don't Clobber the Frame Pointer
Author : felixge
Score : 37 points
Date : 2025-01-03 06:57 UTC (1 days ago)
(HTM) web link (nsrip.com)
(TXT) w3m dump (nsrip.com)
| malkia wrote:
| GoLang assembly boggles my mind - I understand why it's there,
| but having looked at it few times makes me wonder if it could've
| been prevented somehow (I guess not, cryptographic primitives
| would be way too slow, redirecting them through some kind of ffi
| would require a shared lib, yada yada yada)...
| nimish wrote:
| They could have added crypto primitives via intrinsic, or had
| some other way of including the edge case functionality it
| solves.
|
| But it's good enough and I guess it compiles quick which was a
| major goal for golang.
| tptacek wrote:
| Major Rust cryptography libraries (see for instance Ring) use
| assembly, too. It's a pretty normal thing to do.
___________________________________________________________________
(page generated 2025-01-04 23:00 UTC)