Don't Clobber the Frame Pointer
nsrip.com
Don't Clobber the Frame Pointer
1–10 of 46 posts
Re: Don't Clobber the Frame Pointer
#2Re: Don't Clobber the Frame Pointer
#3GoLang 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)...
But it's good enough and I guess it compiles quick which was a major goal for golang.
Re: Don't Clobber the Frame Pointer
#4GoLang 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)...
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.
Re: Don't Clobber the Frame Pointer
#5GoLang 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)...
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.
Re: Don't Clobber the Frame Pointer
#6Earlier quoted context omitted.
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.
Major Rust cryptography libraries (see for instance Ring) use assembly, too. It's a pretty normal thing to do.
Re: Don't Clobber the Frame Pointer
#7Earlier quoted context omitted.
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.
Major Rust cryptography libraries (see for instance Ring) use assembly, too. It's a pretty normal thing to do.
Re: Don't Clobber the Frame Pointer
#8Earlier quoted context omitted.
Major Rust cryptography libraries (see for instance Ring) use assembly, too. It's a pretty normal thing to do.
Sure but golang has its own special assembly flavor rather than using standard gcc flavor inline assembly. Probably because it's a soup to nuts compiler but still.
Re: Don't Clobber the Frame Pointer
#9Earlier quoted context omitted.
Major Rust cryptography libraries (see for instance Ring) use assembly, too. It's a pretty normal thing to do.
Sure but golang has its own special assembly flavor rather than using standard gcc flavor inline assembly. Probably because it's a soup to nuts compiler but still.
Any chance you can explain that to rubes like me?
Re: Don't Clobber the Frame Pointer
#10Earlier quoted context omitted.
Sure but golang has its own special assembly flavor rather than using standard gcc flavor inline assembly. Probably because it's a soup to nuts compiler but still.
>soup to nuts compiler Any chance you can explain that to rubes like me?