Learn Go error handling architecture with wrapping, sentinel errors, custom types, errors.Is, errors.As, API boundaries, logging, and production patterns.

#Architecture #Dev #Go #Golang

https://www.glukhov.org/app-architecture/code-architecture/go-error-handling-architecture/

Go Error Handling Architecture: Boundaries and Patterns

Learn Go error handling architecture with wrapping, sentinel errors, custom types, errors.Is, errors.As, API boundaries, logging, and production patterns.

Rost Glukhov | Personal site and technical blog
Did you know that #QRcode was modeled from the game of #Go #Baduk #Weiqi?
https://www3.nhk.or.jp/nhkworld/en/shows/5001514/
#yggdrasil #rust #go

тут на результаты тестов fips возник вопрос - "как-же так, раст-же должен быть быстрее!" вот вам сравнение на одном и том-же физическом стенде:

Ванильный yggdrasil (go):

perf3 -i40 -t120 -c 204:84c1:1c59:e250:d04b:6175:6147:d4f8
Connecting to host 204:84c1:1c59:e250:d04b:6175:6147:d4f8, port 5201
[ 5] local 202:7d3c:5d59:1b52:48e2:5810:37bf:c310 port 49482 connected to 204:84c1:1c59:e250:d04b:6175:6147:d4f8 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-40.01 sec 4.68 GBytes 1.01 Gbits/sec 4747 192 KBytes
[ 5] 40.01-80.00 sec 4.71 GBytes 1.01 Gbits/sec 4682 192 KBytes
[ 5] 80.00-120.00 sec 4.71 GBytes 1.01 Gbits/sec 4701 128 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-120.00 sec 14.1 GBytes 1.01 Gbits/sec 14130 sender
[ 5] 0.00-120.01 sec 14.1 GBytes 1.01 Gbits/sec receiver

iperf Done.

yggdrasil-ng (rust):

iperf3 -i40 -t120 -c 204:a8fa:cb09:778f:882d:679a:50b1:7650
Connecting to host 204:a8fa:cb09:778f:882d:679a:50b1:7650, port 5201
[ 5] local 202:fa1d:2f1c:e479:a6a4:dd97:38ca:9875 port 60596 connected to 204:a8fa:cb09:778f:882d:679a:50b1:7650 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-40.04 sec 3.83 GBytes 822 Mbits/sec 1367 511 KBytes
[ 5] 40.04-80.04 sec 3.84 GBytes 826 Mbits/sec 1293 448 KBytes
[ 5] 80.04-120.04 sec 3.73 GBytes 802 Mbits/sec 1374 384 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-120.04 sec 11.4 GBytes 817 Mbits/sec 4034 sender
[ 5] 0.00-120.04 sec 11.4 GBytes 816 Mbits/sec receiver

iperf Done.

Тест на "голом железе":

iperf3 -i40 -t120 -c fe80::be24:11ff:fe52:a148%ens19
Connecting to host fe80::be24:11ff:fe52:a148%ens19, port 5201
[ 5] local fe80::be24:11ff:fefc:1cd7 port 54668 connected to fe80::be24:11ff:fe52:a148 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-40.04 sec 19.6 GBytes 4.21 Gbits/sec 10031 789 KBytes
[ 5] 40.04-80.04 sec 22.4 GBytes 4.81 Gbits/sec 7561 810 KBytes
[ 5] 80.04-120.04 sec 18.4 GBytes 3.95 Gbits/sec 9643 47.1 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-120.04 sec 60.4 GBytes 4.32 Gbits/sec 27235 sender
[ 5] 0.00-120.04 sec 60.4 GBytes 4.32 Gbits/sec receiver

iperf Done.

Во всех случаях yggdrasil-ы запускались в режиме autoconf. Собирались последние доступные на гитхабе версии последними версиями компиляторов.

Повторюсь, у гошечки - очень хороший компилятор, очень вылизанные библиотеки и сам ванильный yggdrasil - очень хорошо оптимизирован. Я не думаю, что @Revertron не в состоянии дотянуть свою версию по скорости до ванильного yggdrasil (другой вопрос - готов-ли он настолько упороться в эту проблему). Но расчитывать на то, что если rust использовать "не думая", можно получить какие-то особые приемущества в скорости - однозначно нет.

Alice in the Park – Autumn is Ending

A field, autumnal. Alice walks along a path. The path leads her on and on. The field is orange and dark yellow. These are dried leaves and grass. The path is clearly long. And magical. Because it's long and seemingly the same length.

https://dimalinkeng.blogspot.com/2026/06/alice-in-park-autumn-is-ending.html

#alice #wonderland #magic #fairytale #sureal #dream #sleep #forest #crossroads #walk #go #bush #road #path #choice

Contd. [en] Software Supply Chain or Software Politics

2/2

"Although no malicious functionality was identified, the case showed how #software #provenance and #governance relationships may create #strategic concerns that are not visible through traditional #technical #analysis." ...

"#AI systems such as #Mythos may transform how governments identify software vulnerabilities, but vulnerabilities are only part of the strategic picture. The lessons of #XZ, #SolarWinds, and easyjson suggest that some of the most consequential risks may not emerge from #vulnerable code, but from the software ecosystem through which code is governed, trusted, and delivered."

https://www.justsecurity.org/142183/hiding-geopolitics-software-supply-chains/

#supplychain #vulnerability #go #easyjson #vk #invasion #ukraine #russia

Hiding in Plain Sight: The Geopolitics of Software Supply Chains

Software ecosystems are strategic infrastructure, yet they remain almost invisible within national security risk assessments.

Just Security

[en] Software Supply Chain or Software Politics

1/2

"In 2025, a #software supply chain #vulnerability was discovered in the widely used #Go programming library #easyjson that drew scrutiny due to its association with engineers from the #Russian technology company #VK. The package was hosted on GitHub by a MailRu account, which is owned by VK, and the VK CEO was sanctioned in 2022 by the U.S. Treasury following the Russian #invasion of #Ukraine, due to being or having been a leader or official of the Government of #Russia, amongst other reasons." ...

./2

#supplychain #ai #mythos #xz #solarwinds

Le Chant Des Partisans ( Paroles )

YouTube

Ceux qui nous aiment prendront leur téléphone...
pourquoi ils doivent partir...

#MacronDemission

Faites ce que vous pouvez, là où vous pouvez, comme vous pouvez, avec qui vous voulez... Ce sont tous ces petits bouts de bien qui transforment le monde...

LA VICTOIRE EN CHANTANT...
LA LIBERTÉ GUIDE NOS PAS...

https://youtu.be/oGz8Ezfl00k?si=cm2SDOfz7LNeDXvf

#Liberté #Egalité #Fraternité
#solidarite #respect #partage #humanite
#Libertad #Revolution #ANTIFA #NOPASARAN #GO
#FairePeterLeSysteme
#AnarchieEcologieRadicale