home.social

#cgo — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cgo, aggregated by home.social.

fetched live
  1. So I needed a WebP encoder for a Go project where I had #CGO disabled. I found there is an option using #libwebp compiled to #wasm running on #wazero, but that's pretty slow and uses lots of memory.

    So I made a pure #GoLang encoder, ported from a Rust encoder then optimized: github.com/SeriousBug/webp-go-

    I managed to get better performance than the WASM version! Both encoding speed and memory use, although compression rate and quality is a bit worse.

    #webdev #webp

  2. So I needed a WebP encoder for a Go project where I had disabled. I found there is an option using compiled to running on , but that's pretty slow and uses lots of memory.

    So I made a pure encoder, ported from a Rust encoder then optimized: github.com/SeriousBug/webp-go-

    I managed to get better performance than the WASM version! Both encoding speed and memory use, although compression rate and quality is a bit worse.

  3. So I needed a WebP encoder for a Go project where I had #CGO disabled. I found there is an option using #libwebp compiled to #wasm running on #wazero, but that's pretty slow and uses lots of memory.

    So I made a pure #GoLang encoder, ported from a Rust encoder then optimized: github.com/SeriousBug/webp-go-

    I managed to get better performance than the WASM version! Both encoding speed and memory use, although compression rate and quality is a bit worse.

    #webdev #webp

  4. So I needed a WebP encoder for a Go project where I had #CGO disabled. I found there is an option using #libwebp compiled to #wasm running on #wazero, but that's pretty slow and uses lots of memory.

    So I made a pure #GoLang encoder, ported from a Rust encoder then optimized: github.com/SeriousBug/webp-go-

    I managed to get better performance than the WASM version! Both encoding speed and memory use, although compression rate and quality is a bit worse.

    #webdev #webp

  5. So I needed a WebP encoder for a Go project where I had #CGO disabled. I found there is an option using #libwebp compiled to #wasm running on #wazero, but that's pretty slow and uses lots of memory.

    So I made a pure #GoLang encoder, ported from a Rust encoder then optimized: github.com/SeriousBug/webp-go-

    I managed to get better performance than the WASM version! Both encoding speed and memory use, although compression rate and quality is a bit worse.

    #webdev #webp

  6. Weiß jemand wo man #ersatzteile für #wohnwagen wie #dethleffs #cgo bekommen kann? In der Einfahrt zum Platz war da ein kleiner Pfosten, der einen kleinen Stromkasten schützt. Der hat Teile von Radumlauf (Plastik) und die Kederleiste kaputt gemacht. Unser #c_go ist von 2014 oder so.

    Es ist schwierig da was zu suchen, da cgo als Name in der Hinsicht wirklich Mist ist.

    #ReparierEcke #Reparieren #camping

  7. Weiß jemand wo man #ersatzteile für #wohnwagen wie #dethleffs #cgo bekommen kann? In der Einfahrt zum Platz war da ein kleiner Pfosten, der einen kleinen Stromkasten schützt. Der hat Teile von Radumlauf (Plastik) und die Kederleiste kaputt gemacht. Unser #c_go ist von 2014 oder so.

    Es ist schwierig da was zu suchen, da cgo als Name in der Hinsicht wirklich Mist ist.

    #ReparierEcke #Reparieren #camping

  8. Weiß jemand wo man #ersatzteile für #wohnwagen wie #dethleffs #cgo bekommen kann? In der Einfahrt zum Platz war da ein kleiner Pfosten, der einen kleinen Stromkasten schützt. Der hat Teile von Radumlauf (Plastik) und die Kederleiste kaputt gemacht. Unser #c_go ist von 2014 oder so.

    Es ist schwierig da was zu suchen, da cgo als Name in der Hinsicht wirklich Mist ist.

    #ReparierEcke #Reparieren #camping

  9. Weiß jemand wo man #ersatzteile für #wohnwagen wie #dethleffs #cgo bekommen kann? In der Einfahrt zum Platz war da ein kleiner Pfosten, der einen kleinen Stromkasten schützt. Der hat Teile von Radumlauf (Plastik) und die Kederleiste kaputt gemacht. Unser #c_go ist von 2014 oder so.

    Es ist schwierig da was zu suchen, da cgo als Name in der Hinsicht wirklich Mist ist.

    #ReparierEcke #Reparieren #camping

  10. Weiß jemand wo man #ersatzteile für #wohnwagen wie #dethleffs #cgo bekommen kann? In der Einfahrt zum Platz war da ein kleiner Pfosten, der einen kleinen Stromkasten schützt. Der hat Teile von Radumlauf (Plastik) und die Kederleiste kaputt gemacht. Unser #c_go ist von 2014 oder so.

    Es ist schwierig da was zu suchen, da cgo als Name in der Hinsicht wirklich Mist ist.

    #ReparierEcke #Reparieren #camping

  11. Tor Project released Arti 2.5.0, moving its next-gen Counter Galois Onion (CGO) encryption to stable status—now included in full feature builds. The update also patches two DoS issues in Arti’s Rust Tor implementation and enables congestion control by default for better performance. 🚀🔒 #Tor #Arti #CGO #Cybersecurity cyberinsider.com/tor-releases-

  12. Tor Project released Arti 2.5.0, moving its next-gen Counter Galois Onion (CGO) encryption to stable status—now included in full feature builds. The update also patches two DoS issues in Arti’s Rust Tor implementation and enables congestion control by default for better performance. 🚀🔒 #Tor #Arti #CGO #Cybersecurity cyberinsider.com/tor-releases-

  13. Tor Project released Arti 2.5.0, moving its next-gen Counter Galois Onion (CGO) encryption to stable status—now included in full feature builds. The update also patches two DoS issues in Arti’s Rust Tor implementation and enables congestion control by default for better performance. 🚀🔒 #Tor #Arti #CGO #Cybersecurity cyberinsider.com/tor-releases-

  14. Tor Project released Arti 2.5.0, moving its next-gen Counter Galois Onion (CGO) encryption to stable status—now included in full feature builds. The update also patches two DoS issues in Arti’s Rust Tor implementation and enables congestion control by default for better performance. 🚀🔒 cyberinsider.com/tor-releases-

  15. Tor Project released Arti 2.5.0, moving its next-gen Counter Galois Onion (CGO) encryption to stable status—now included in full feature builds. The update also patches two DoS issues in Arti’s Rust Tor implementation and enables congestion control by default for better performance. 🚀🔒 #Tor #Arti #CGO #Cybersecurity cyberinsider.com/tor-releases-

  16. Theres a new #golang-native #GUI framework, gogpu/ui. Still a bit rough on the edges, but avoiding #CGO looks like a real possibility now. No UI inspector as of yet, but the goland-clone example gives hope. It's #webgpu based (also implemented in #Go).

    github.com/gogpu/ui

  17. Недостающее звено при обработке медиа на Go

    Большинство медиа-библиотек для Go рано или поздно упираются в одну и ту же проблему. У них нет собственного декодера. Вместо этого они полагаются на установленный в системе пакет FFmpeg, shared библиотеки, платформозависимые DLL или внешние исполняемые файлы, которые должны присутствовать на целевой системе. На этапе разработки всё работает. Затем начинается развертывание. И внезапно вы отлаживаете отсутствующие DLL в Windows, несовместимые версии FFmpeg в Linux, различия версий из Homebrew на macOS, образы контейнеров без нужных библиотек или продуктовые серверы, где рядовое обновление пакета неожиданно ломает обработку медиа.

    habr.com/ru/articles/1042916/

    #go #ffmpeg #cgo #decoder #video #audio #media #mp4 #webm #mkv

  18. Недостающее звено при обработке медиа на Go

    Большинство медиа-библиотек для Go рано или поздно упираются в одну и ту же проблему. У них нет собственного декодера. Вместо этого они полагаются на установленный в системе пакет FFmpeg, shared библиотеки, платформозависимые DLL или внешние исполняемые файлы, которые должны присутствовать на целевой системе. На этапе разработки всё работает. Затем начинается развертывание. И внезапно вы отлаживаете отсутствующие DLL в Windows, несовместимые версии FFmpeg в Linux, различия версий из Homebrew на macOS, образы контейнеров без нужных библиотек или продуктовые серверы, где рядовое обновление пакета неожиданно ломает обработку медиа.

    habr.com/ru/articles/1042916/

    #go #ffmpeg #cgo #decoder #video #audio #media #mp4 #webm #mkv

  19. Недостающее звено при обработке медиа на Go

    Большинство медиа-библиотек для Go рано или поздно упираются в одну и ту же проблему. У них нет собственного декодера. Вместо этого они полагаются на установленный в системе пакет FFmpeg, shared библиотеки, платформозависимые DLL или внешние исполняемые файлы, которые должны присутствовать на целевой системе. На этапе разработки всё работает. Затем начинается развертывание. И внезапно вы отлаживаете отсутствующие DLL в Windows, несовместимые версии FFmpeg в Linux, различия версий из Homebrew на macOS, образы контейнеров без нужных библиотек или продуктовые серверы, где рядовое обновление пакета неожиданно ломает обработку медиа.

    habr.com/ru/articles/1042916/

    #go #ffmpeg #cgo #decoder #video #audio #media #mp4 #webm #mkv

  20. Example #1232354 of why I hate semantics on comments/names/etc:

    // #cgo noescape thisFunctionDoesNotExist
    // #cgo nocallback thisFunctionDoesNotExistNotEvenClose

    This of course happily compiles.

  21. Example #1232354 of why I hate semantics on comments/names/etc:

    // #cgo noescape thisFunctionDoesNotExist
    // #cgo nocallback thisFunctionDoesNotExistNotEvenClose

    This of course happily compiles.

  22. Example #1232354 of why I hate semantics on comments/names/etc:

    // #cgo noescape thisFunctionDoesNotExist
    // #cgo nocallback thisFunctionDoesNotExistNotEvenClose

    This of course happily compiles.

  23. Example #1232354 of why I hate semantics on comments/names/etc:

    // #cgo noescape thisFunctionDoesNotExist
    // #cgo nocallback thisFunctionDoesNotExistNotEvenClose

    This of course happily compiles.

  24. Example #1232354 of why I hate semantics on comments/names/etc:

    // #cgo noescape thisFunctionDoesNotExist
    // #cgo nocallback thisFunctionDoesNotExistNotEvenClose

    This of course happily compiles.

  25. 🟠 CVE-2025-61731 - High (7.8)

    Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pk...

    🔗 thehackerwire.com/vulnerabilit

    #CVE #vulnerability #infosec #cybersecurity #security #Tenda #patchstack

  26. 🟠 CVE-2025-61731 - High (7.8)

    Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pk...

    🔗 thehackerwire.com/vulnerabilit

    #CVE #vulnerability #infosec #cybersecurity #security #Tenda #patchstack

  27. 🟠 CVE-2025-61731 - High (7.8)

    Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pk...

    🔗 thehackerwire.com/vulnerabilit

    #CVE #vulnerability #infosec #cybersecurity #security #Tenda #patchstack

  28. 🚨 EUVD-2025-206447

    📊 Score: n/a
    📦 Product: cmd/go, cmd/go
    🏢 Vendor: Go toolchain
    📅 Updated: 2026-01-28

    📝 Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config com...

    🔗 euvd.enisa.europa.eu/vulnerabi

    #cybersecurity #infosec #euvd #cve #vulnerability

  29. 🚨 EUVD-2025-206447

    📊 Score: n/a
    📦 Product: cmd/go, cmd/go
    🏢 Vendor: Go toolchain
    📅 Updated: 2026-01-28

    📝 Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config com...

    🔗 euvd.enisa.europa.eu/vulnerabi

    #cybersecurity #infosec #euvd #cve #vulnerability

  30. 🚨 EUVD-2025-206447

    📊 Score: n/a
    📦 Product: cmd/go, cmd/go
    🏢 Vendor: Go toolchain
    📅 Updated: 2026-01-28

    📝 Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config com...

    🔗 euvd.enisa.europa.eu/vulnerabi

    #cybersecurity #infosec #euvd #cve #vulnerability

  31. Did you know `zig cc` might be a better C #compiler than #GCC / #Clang? And that you can use it to compile your #CGO-dependent #golang projects as well?

    I just needed to cross-compile something for x86_64-linux-musl on aarch64-macos-none. Everything else kept giving me headaches (#docker, #qemu)… but using #zig just worked.

    andrewkelley.me/post/zig-cc-po

  32. Did you know `zig cc` might be a better C #compiler than #GCC / #Clang? And that you can use it to compile your #CGO-dependent #golang projects as well?

    I just needed to cross-compile something for x86_64-linux-musl on aarch64-macos-none. Everything else kept giving me headaches (#docker, #qemu)… but using #zig just worked.

    andrewkelley.me/post/zig-cc-po

  33. Did you know `zig cc` might be a better C #compiler than #GCC / #Clang? And that you can use it to compile your #CGO-dependent #golang projects as well?

    I just needed to cross-compile something for x86_64-linux-musl on aarch64-macos-none. Everything else kept giving me headaches (#docker, #qemu)… but using #zig just worked.

    andrewkelley.me/post/zig-cc-po

  34. Did you know `zig cc` might be a better C #compiler than #GCC / #Clang? And that you can use it to compile your #CGO-dependent #golang projects as well?

    I just needed to cross-compile something for x86_64-linux-musl on aarch64-macos-none. Everything else kept giving me headaches (#docker, #qemu)… but using #zig just worked.

    andrewkelley.me/post/zig-cc-po

  35. Did you know `zig cc` might be a better C #compiler than #GCC / #Clang? And that you can use it to compile your #CGO-dependent #golang projects as well?

    I just needed to cross-compile something for x86_64-linux-musl on aarch64-macos-none. Everything else kept giving me headaches (#docker, #qemu)… but using #zig just worked.

    andrewkelley.me/post/zig-cc-po

  36. Working on a #SailfishOS app with a #Golang backend using #CGo.

    So far works well!

  37. Working on a #SailfishOS app with a #Golang backend using #CGo.

    So far works well!

  38. Working on a #SailfishOS app with a #Golang backend using #CGo.

    So far works well!

  39. Working on a #SailfishOS app with a #Golang backend using #CGo.

    So far works well!

  40. Working on a #SailfishOS app with a #Golang backend using #CGo.

    So far works well!

  41. [Перевод] Go, cgo и Docker: практичная кросс-платформенная сборка

    Команда Go for Devs подготовила перевод статьи о том, как упростить сборку Go-проектов с cgo, используя Docker. Авторы на реальном примере показывают, как избавиться от платформенной боли, сложных зависимостей и ручной настройки окружения, при этом сохранив воспроизводимость продакшен-сборок. Практичный разбор для тех, кто сталкивался с cgo и кроссплатформенной сборкой.

    habr.com/ru/articles/978754/

    #go #cgo #docker #кроссплатформенность #бинаризация

  42. [Перевод] Go, cgo и Docker: практичная кросс-платформенная сборка

    Команда Go for Devs подготовила перевод статьи о том, как упростить сборку Go-проектов с cgo, используя Docker. Авторы на реальном примере показывают, как избавиться от платформенной боли, сложных зависимостей и ручной настройки окружения, при этом сохранив воспроизводимость продакшен-сборок. Практичный разбор для тех, кто сталкивался с cgo и кроссплатформенной сборкой.

    habr.com/ru/articles/978754/

    #go #cgo #docker #кроссплатформенность #бинаризация

  43. [Перевод] Go, cgo и Docker: практичная кросс-платформенная сборка

    Команда Go for Devs подготовила перевод статьи о том, как упростить сборку Go-проектов с cgo, используя Docker. Авторы на реальном примере показывают, как избавиться от платформенной боли, сложных зависимостей и ручной настройки окружения, при этом сохранив воспроизводимость продакшен-сборок. Практичный разбор для тех, кто сталкивался с cgo и кроссплатформенной сборкой.

    habr.com/ru/articles/978754/

    #go #cgo #docker #кроссплатформенность #бинаризация

  44. TOR wdraża nowy silnik szyfrowania. Po ponad 20 latach nowy mechanizm załata podatność na ataki typu tagging

    Każdy z nas, kto choć na chwilę szukał sposobu na zapewnienie anonimowości w sieci, spotkał się zapewne z pojęciem sieci TOR (The Onion Routing). I choć technologia ta pochodzi z lat 90, do chwili obecnej jest szeroko stosowana między innymi przez dziennikarzy, badaczy cyberbezpieczeństwa i każdego kto chce pozostać anonimowy...

    #Aktualności #Cgo #Darknet #Darkweb #ForwardSecrecy #Tor

    sekurak.pl/tor-wdraza-nowy-sil