Gopher Academy
3.35K subscribers
920 photos
40 videos
280 files
2.01K links
🕸 Gopher Academy

🔷interview golang
https://github.com/mrbardia72/Go-Interview-Questions-And-Answers

حمایت مالی:
https://www.coffeete.ir/mrbardia72

ادمین:
@mrbardia72
Download Telegram
🔥 Evolving the Go Standard Library with math/rand/v2

Russ Cox
1 May 2024


Since Go 1 was released in March 2012, changes to the standard library have been constrained by Go’s compatibility promise. Overall, compatibility has been a boon for Go users, providing a stable base for production systems, documentation, tutorials, books, and more. Over time, however, we’ve realized mistakes in the original APIs that cannot be fixed compatibly; in other cases, best practices and convention have changed. We need a plan for making important, breaking changes too.

https://go.dev/blog/randv2


🕊 @gopher_academy | @GolangEngineers
Please open Telegram to view this post
VIEW IN TELEGRAM
👍41🍾1
📣 Secure Randomness in Go 1.22

Russ Cox and Filippo Valsorda
2 May 2024


Computers aren’t random. On the contrary, hardware designers work very hard to make sure computers run every program the same way every time. So when a program does need random numbers, that requires extra effort. Traditonally, computer scientists and programming languages have distinguished between two different kinds of random numbers: statistical and cryptographic randomness. In Go, those are provided by math/rand and crypto/rand, respectively. This post is about how Go 1.22 brings the two closer together, by using a cryptographic random number source in math/rand (as well as math/rand/v2, as mentioned in our previous post). The result is better randomness and far less damage when developers accidentally use math/rand instead of crypto/rand.

https://go.dev/blog/chacha8rand

☕️ Buy Coffee me!

🕊 @gopher_academy | @GolangEngineers
Please open Telegram to view this post
VIEW IN TELEGRAM
4
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2
#fun #x

در توییتر چه میگذرد 😂😂

☕️ Buy Coffee me!

🕊 @gopher_academy | @GolangEngineers
Please open Telegram to view this post
VIEW IN TELEGRAM
👍5
Please open Telegram to view this post
VIEW IN TELEGRAM
1
Please open Telegram to view this post
VIEW IN TELEGRAM
1
Please open Telegram to view this post
VIEW IN TELEGRAM
1
مهندسی امنیت چیه؟
توی دوتا مقاله خوب خانوم Nielet D'Mello مهندس امنیت در Datadog اومد یه توضیحاتی داده

توی قسمت اول در مورد موارد زیر توضیح میده
❇️ https://newsletter.pragmaticengineer.com/p/security-engineering

Myths and misconceptions about security engineering
History of security engineering
The present
A mental model
Towards a Secure SDLC
توی قسمت دوم هم در مورد موارد زیر توضیح میده
❇️ https://newsletter.pragmaticengineer.com/p/security-engineering-part-2

Defining the criticality of a system
Threat modeling
Scoring a system’s criticality
Security paved roads
“Defense in depth,” “least privilege,” and “zero trust.


💚 Donate
🤍 @gopher_academy
❤️ @GolangEngineers
31🍾1
🔵کتاب فلسفه طراحی نرم افزار
تمرکز اصلی کتاب روی چیزی های است که اغلب نادیده گرفته می‌شود:
ساده‌سازی ایده‌های پیچیده و تکرارپذیر کردن آنها.

نویسنده کتاب معتقد است که بزرگترین چالش در نرم افزار مقابله با پیچیدگی است. با رشد برنامه ها، افراد بیشتری به توسعه ملحق می شوند و مدیریت همه چیز پیچیده تر می شود.

در این کتاب به روش های مبارزه با پیچیدگی مانند شفاف‌سازی و سازمان‌دهی کد و اجتناب از پیچیدگی‌های غیرضروری، پیشنهاد می‌کند.

🔴 https://newsletter.francofernando.com/p/software-phylosophy


💚 Donate
🤍 @gopher_academy
❤️ @GolangEngineers
👍722
🎯چجوری این Uber چت بلادرنگ را برای مدیریت 3 میلیون Tickets در هفته ایجاد کرد؟

توی این مقاله سرویس قدیمی چت شون رو یه ری دیزاین میکنن
می تونید با جزییات بیشتر رو اینجا رو بخونید که چیکار کردن توی بهبودش

🎃https://blog.bytebytego.com/p/how-uber-built-real-time-chat-to


💚 Donate
🤍 @gopher_academy
❤️ @GolangEngineers
31👍1🍾1
🟢 یه مقاله داغ داغ که همین الان از تنور در اومده
🔵 این مقاله در مورد Isolation ها هست که سطوح Isolation در پایگاه داده چیه و چگونه پیاده سازی میشن کلن .

🔴 https://newsletter.francofernando.com/p/isolation


💚 Donate
🤍 @gopher_academy
❤️ @GolangEngineers
👍621
Please open Telegram to view this post
VIEW IN TELEGRAM
2👍1
این مقاله در مورد بحث مدیریت حافظه بصورت دستی و بدون استفاده از GoGC است که در آن توضیحات بسیار خوبی در مورد روش انجام اینکار داده شده است که توسط تیم Dgraph نوشته شده است، این سرویس یک سرویس دیتابیس گرافی توزیع شده است که به زبان گولنگ توسعه داده شده است. در لینک زیر میتوانید این مقاله رو مشاهده کنید.
https://dgraph.io/blog/post/manual-memory-management-golang-jemalloc

Summay: They said “We can do manual memory allocation in critical, memory-bound code paths. At the same time, we can get the benefits of automatic garbage collection in non-critical code paths.”


🕊 @gopher_academy | @GolangEngineers
👍22
Please open Telegram to view this post
VIEW IN TELEGRAM
1