Wyre to Cybersecurity@sh.itjust.worksEnglish • 8 months agoGitHub disables XZ Repositorywww.phoronix.comexternal-linkmessage-square19fedilinkarrow-up1227arrow-down14
arrow-up1223arrow-down1external-linkGitHub disables XZ Repositorywww.phoronix.comWyre to Cybersecurity@sh.itjust.worksEnglish • 8 months agomessage-square19fedilink
minus-square@sugar_in_your_tea@sh.itjust.workslinkfedilinkEnglish1•8 months agoAwesome! It’s impressive that it’s decently close in performance with no unsafe code. Thanks for your hard work! And that Go implementation is pretty fast too! That’s quite impressive.
minus-square@Killing_Spark@feddit.delinkfedilinkEnglish1•8 months agoSadly it does have one place with unsafe code. I needed a ringbuffer with an efficient “extend from within” implementation. I always wanted to contribute that to the standard library to actually get to no unsafe.
minus-square@sugar_in_your_tea@sh.itjust.workslinkfedilinkEnglish1•8 months agoAh, I saw a PR from like 3 years ago that removed it, so it looks like you added it back in for performance. Have you tried contributing it upstream? I’m not a “no unsafe” zealot, but in light of the xz issue, it would be nice.
minus-square@Killing_Spark@feddit.delinkfedilinkEnglish1•8 months ago Have you tried contributing it upstream? I didn’t yet just because I didn’t get around to it (and because I am not sure the std lib even wants this feature). I’m not a “no unsafe” zealot, but in light of the xz issue, it would be nice. I don’t think the two relate. I wouldn’t drop any dependency, the ringbuffer is implemented in the same repo.
minus-square@sugar_in_your_tea@sh.itjust.workslinkfedilinkEnglish1•8 months agoYeah, they’re not really related. I’m just thinking there might be more scrutiny on compression due to the exploit. That said, yours doesn’t support encoding anyway, so it’s kind of moot.
Awesome! It’s impressive that it’s decently close in performance with no unsafe code. Thanks for your hard work!
And that Go implementation is pretty fast too! That’s quite impressive.
Sadly it does have one place with unsafe code. I needed a ringbuffer with an efficient “extend from within” implementation. I always wanted to contribute that to the standard library to actually get to no unsafe.
Ah, I saw a PR from like 3 years ago that removed it, so it looks like you added it back in for performance.
Have you tried contributing it upstream? I’m not a “no unsafe” zealot, but in light of the xz issue, it would be nice.
I didn’t yet just because I didn’t get around to it (and because I am not sure the std lib even wants this feature).
I don’t think the two relate. I wouldn’t drop any dependency, the ringbuffer is implemented in the same repo.
Yeah, they’re not really related. I’m just thinking there might be more scrutiny on compression due to the exploit.
That said, yours doesn’t support encoding anyway, so it’s kind of moot.