Several days ago, I wrote an article which explains the channel rules in Go. That article got many votes on reddit and HN, but there are also some criticisms on Go channel design details.
https://go101.org/article/channel-closing.html
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥3👍1🕊1🍾1
✅ Profile-guided optimization in Go 1.21
Earlier in 2023, Go 1.20 shipped a preview of profile-guided optimization (PGO) for users to test. After addressing known limitations in the preview, and with additional refinements thanks to community feedback and contributions, PGO support in Go 1.21 is ready for general production use! See the profile-guided optimization user guide for complete documentation.
https://go.dev/blog/pgo
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
Earlier in 2023, Go 1.20 shipped a preview of profile-guided optimization (PGO) for users to test. After addressing known limitations in the preview, and with additional refinements thanks to community feedback and contributions, PGO support in Go 1.21 is ready for general production use! See the profile-guided optimization user guide for complete documentation.
https://go.dev/blog/pgo
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
go.dev
Profile-guided optimization in Go 1.21 - The Go Programming Language
Introduction to profile-guided optimization, generally available in Go 1.21.
🎉2👍1🔥1🕊1
🤔CGO Performance In Go 1.21
https://shane.ai/posts/cgo-performance-in-go1.21/
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
https://shane.ai/posts/cgo-performance-in-go1.21/
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
🍾3
⚃ یه مقاله خوب واسه درک بهتر PGO
🔵A Deep Look Into Golang Profile-Guided Optimization (PGO)
https://theyahya.com/posts/go-pgo/
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
🔵A Deep Look Into Golang Profile-Guided Optimization (PGO)
https://theyahya.com/posts/go-pgo/
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
🔥5👍2
خالق پاورپوینت در سن ۷۶ سالگی درگذشت
دنیس آستین، یکی از خالقان نرمافزار پاورپوینت، بهدلیل ابتلا به سرطان ریه، در خانهاش در کالیفرنیا از دنیا رفت. پسر آستین میگوید سرطان او به مغزش متاستاز کرده بود.
#DevTwitter
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
دنیس آستین، یکی از خالقان نرمافزار پاورپوینت، بهدلیل ابتلا به سرطان ریه، در خانهاش در کالیفرنیا از دنیا رفت. پسر آستین میگوید سرطان او به مغزش متاستاز کرده بود.
#DevTwitter
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
🕊19👍1
اگر میخواید با مفاهیم و علی الخصوص ابزارهای postgres مثل extension هاش آشنا شید، یا مثلا با چه ابزارهایی میتونید replication ایجاد کنید، این ریپو رو توصیه میکنم.
https://github.com/dhamaniasad/awesome-postgres
خودم فکر نمیکردم اینقدر ابزار دور و ورش باشه. یه دور شنیدن اسمشون خالی از لطف نیست.
#DevTwitter | <Amir phl/>
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
https://github.com/dhamaniasad/awesome-postgres
خودم فکر نمیکردم اینقدر ابزار دور و ورش باشه. یه دور شنیدن اسمشون خالی از لطف نیست.
#DevTwitter | <Amir phl/>
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
👍11
✅ Scrum tips (User story)
A user story helps us to capture who we are building for (as a), the actions they want to perform (want to) as well as their motives (so that).
We will fulfill three user stories:
As a blog visitor,
I want to subscribe to the newsletter,
So that I can receive email updates when new content is published on the blog;
As the blog author,
I want to send an email to all my subscribers,
So that I can notify them when new content is published;
As a subscriber,
I want to be able to unsubscribe from the newsletter,
So that I can stop receiving email updates from the blog.
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
A user story helps us to capture who we are building for (as a), the actions they want to perform (want to) as well as their motives (so that).
We will fulfill three user stories:
As a blog visitor,
I want to subscribe to the newsletter,
So that I can receive email updates when new content is published on the blog;
As the blog author,
I want to send an email to all my subscribers,
So that I can notify them when new content is published;
As a subscriber,
I want to be able to unsubscribe from the newsletter,
So that I can stop receiving email updates from the blog.
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
👍3
✅ Fixing For Loops in Go 1.22
Go 1.21 includes a preview of a change to for loop scoping that we plan to ship in Go 1.22, removing one the most common Go mistakes.
https://go.dev/blog/loopvar-preview
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
Go 1.21 includes a preview of a change to for loop scoping that we plan to ship in Go 1.22, removing one the most common Go mistakes.
https://go.dev/blog/loopvar-preview
David Chase and Russ Cox
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
👍8
✅ WASI support in Go
Go 1.21 adds a new port targeting the WASI preview 1 syscall API through the new GOOS value wasip1. This port builds on the existing WebAssembly port introduced in Go 1.11.
https://go.dev/blog/wasi
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
Go 1.21 adds a new port targeting the WASI preview 1 syscall API through the new GOOS value wasip1. This port builds on the existing WebAssembly port introduced in Go 1.11.
https://go.dev/blog/wasi
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
👍5
✅ Some pros, cons in Go from my vision
Pros
- concurrent programming is fun
- flexible like dynamic languages (will be discounted since Go 1.22)
- fast code execution (vs dynamic languages)
- short warm-up duration + small memory footprint (vs java)
- fast compilation + comparative simple (vs c++ and rust)
Cons
- generics are not powerful enough.
- error handling is verbose.
- runtime is some complicated, small code change might affect performance much.
- the compiler often implements the same logic at several different places, with some subtle differences.
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
Pros
- concurrent programming is fun
- flexible like dynamic languages (will be discounted since Go 1.22)
- fast code execution (vs dynamic languages)
- short warm-up duration + small memory footprint (vs java)
- fast compilation + comparative simple (vs c++ and rust)
Cons
- generics are not powerful enough.
- error handling is verbose.
- runtime is some complicated, small code change might affect performance much.
- the compiler often implements the same logic at several different places, with some subtle differences.
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
👍3🔥2
اگر پرمیوم هستید در تلگرام می توانید با زدن Boost از کانال گوفر آکادمی و گروه مهندسین گولنگ حمایت کنید.
https://t.me/gopher_academy?boost
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
https://t.me/gopher_academy?boost
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
👍8😁5 1
توی این مقاله دربارهی conventional commits در git صحبت کردیم که چطوری commit message های بهتری بنویسیم و بتونیم یک قاعده رو به صورت یکپارچه در تیممون داشته باشیم.
https://blog.stackademic.com/mastering-git-the-power-of-conventional-commit-messages-1bfbd1cae2c2
#DevTwitter | <AG/>
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
https://blog.stackademic.com/mastering-git-the-power-of-conventional-commit-messages-1bfbd1cae2c2
#DevTwitter | <AG/>
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
🔥8🍾3🕊1
ویدئوهای ارائههای روز جهانی آزادی نرمافزار از این آدرس در دسترس است:
https://peertube.linuxrocks.online/c/azadon_main/videos?s=1
مستقل از محتواها که احتمالا بعضی هاش براتون جالبه، آشنایی با خود شبکه پیرتوب هم دلیلی خوبی برای کلیک کردن روی لینک بالایی است (:
#جادی
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
https://peertube.linuxrocks.online/c/azadon_main/videos?s=1
مستقل از محتواها که احتمالا بعضی هاش براتون جالبه، آشنایی با خود شبکه پیرتوب هم دلیلی خوبی برای کلیک کردن روی لینک بالایی است (:
#جادی
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
👍8
یه مقاله خیلی جذاب که عمیقا به شما نکات خیلی جالبی در مورد cpu و نحوه اجرای برنامه ها در لینوکس رو نشون میده
https://cpu.land
#gocasts | Hossein
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
https://cpu.land
#gocasts | Hossein
➖➖➖➖➖➖➖➖
🕊 @gopher_academy
👍9🔥2🕊1
printable (1).pdf
2.8 MB
👍3🔥2🍾2🕊1