576 place 0

773 [Translation] Go sync.WaitGroup и проблема с выравниванием

Habr
KOTELOV @ Habr 1 place · 10/11/2024 07:54 EDT

[Translation] Go sync.WaitGroup и проблема с выравниванием

WaitGroup — это, по сути, способ дождаться , пока несколько горутин закончат свою работу. Мы начнем с основ, а затем разберемся, как это устроено под капотом.Есть классные статьи, где рассматривается несколько примитивов синхронизации в Go: Go Sync Mutex: Нормальный и голодный режим, Go sync.Pool и механика, лежащая в его основе. Каждый из них имеет свой набор проблем, и этот не отличается. Мы сосредоточимся на проблемах выравнивания WaitGroup, и как ее  внутренняя структура менялась в разных версиях.Эта с

To see detailed statistics for the news please log in »

Read the original

Add your comment
You must be logged in with Facebook to read and write comments.

A newsletter a day!

You may get 10 most important news around midday in daily newsletter. Press the button and we will send you the most important news only, no spam attached.

or register

LIKE us on Facebook so you won't miss the most important news of the day!

News from the same source
Habr Habr
Business Insider
Katherine Tangalakis-Lippert @ Business Insider 1 place · today 05:10 EDT

Trump's $10 billion suit against Rupert Murdoch could force him to reveal more about his ties to Jeffrey Epstein

If Donald Trump's defamation suit doesn't settle, the discovery process could reveal new details about his ties to Jeffrey Epstein. Read more

2,304 fresh

🔮
20.07.2025 ♉︎ Dear Taurus, today awaits you a busy and eventful day, and it's worth preparing for... Read more ›
Tom's Hardware
Tom's Hardware 1 place · today 07:45 EDT

Nvidia's CUDA platform now supports RISC-V — support brings open source instruction set to AI platforms, joining x86 and Arm

Nvidia announces support for its CUDA software stack on RISC-V CPUs, positioning the open architecture as a potential host processor for future AI and HPC systems. Read more

1,911 fresh

Vox
Rebeca Ibarra @ Vox 1 place · today 07:30 EDT

Superman is a socialist

In a recent interview with The Times, Superman director James Gunn said that his new blockbuster tells the story of “an immigrant.” He also explained it was a story about “basic human kindness.” But that first comment — about Superman’s foreign origins — is the one that set off some pundits on the right. Fox […] Read more

1,373 fresh

GSMArena.com
GSMArena.com 1 place · today 07:31 EDT

Weekly poll: who wants a OnePlus Nord 5 or a Nord CE5?

OnePlus refreshed the Nord series with two interesting models – one brings the first Snapdragon 8-series chip to the Nord family, the other has the biggest battery of any OnePlus phone yet... kind of. The OnePlus Nord 5 sports a Snapdragon 8s Gen 3, which showed great performance in our review. It comes with Android 15 out of the box and will receive 4 OS updates. It has a large... Read more

1,039 fresh

Firstpost Tech
Firstpost @ Firstpost Tech 1 place · today 07:39 EDT

Innovation or damage control? Musk unveils 'Baby Grok' for kid-friendly AI content

The decision to create a kid-safe AI app follows backlash over Grok’s more mature offerings, making Baby Grok’s reveal seem like a timely, if not essential, shift Read more

636 fresh

Wired
Craig Grannell @ Wired 1 place · today 06:00 EDT

This Is the Commodore Comeback Fans Have Waited for—but the Odds Are Still Against It

After years of mismanagement and questionable product tie-ins, the 80s computer brand is back, now with a fan at the helm. But is the appetite for retro gaming still big enough for it to succeed? Read more

624 fresh

Business Insider
Sarah Jackson @ Business Insider 2 place · today 06:05 EDT

Priscilla Chan's recruiting pitch? We can't pay as well as tech companies, but we've got GPUs

Mark Zuckerberg's wife, Priscilla Chan, said GPUs are key to recruiting for the couple's philanthropic organization, the Chan Zuckerberg Initiative. Read more

613 fresh

Business Insider
Katherine Tangalakis-Lippert @ Business Insider 3 place · today 06:27 EDT

Starbucks corporate workers protest the latest RTO mandate: 'This is the wrong direction. Please stop.'

Starbucks' strict RTO mandate highlights the coffee giant's culture shift under its new CEO, employees told Business Insider. Read more

570 fresh

TechRadar
TechRadar 1 place · today 08:03 EDT

Hackers are exploiting a critical RCE Flaw in a popular FTP server — here's what you need to know

Attackers are exploiting a critical Wing FTP flaw which allows remote system access, although all attempts have failed so far. Read more

544 fresh

Tom's Hardware
Tom's Hardware · today 08:00 EDT

TeamGroup T-Create Expert DDR5-6000 C34 2x32GB Review: Expertly Designed For Professionals

TeamGroup's T-Create Expert lineup targets the professional market, but can its DDR5-6000 C34 memory kit outperform enthusiast memory kits? Read more

528 fresh

Business Insider
Jordan Hart @ Business Insider · today 05:56 EDT

Nike salaries revealed: How much the retail giant pays designers, software engineers, and other tech workers

Data shows how much Nike pays for software engineers, designers, and other tech jobs as CEO Elliott Hill mounts a comeback strategy. Read more

472 fresh

Firstpost Tech
Firstpost @ Firstpost Tech 2 place · today 08:23 EDT

Microsoft bars China-based engineers from Pentagon support after US scrutiny

Microsoft, a key contractor for the US government, has previously experienced high-profile breaches by Chinese and Russian hackers. It said that it had disclosed its arrangements with China-based personnel to the government Read more

408 fresh

Business Insider
Orrin Onken @ Business Insider · today 05:19 EDT

My phone addiction is poisoning my retirement. I'm setting rules to help me reclaim my golden years.

When Orrin Onken realized his phone addiction was poisoning the relaxed retirement he aspired to, he began taking steps to change his behavior. Read more

377 fresh

The Verge
Jay Peters @ The Verge 1 place · today 08:00 EDT

The Switch 2’s next killer app is already here

Hi, friends! Welcome to Installer No. 90, your guide to the best and Verge-iest stuff in the world. (If you're new here, welcome, hope you're staying cool, and also you can read all the old editions at the Installer homepage.) This week, I have been watching The Bear's fourth season, preparing for the deluge of […] Read more

365 fresh

CNET
Tyler Lacoma @ CNET 1 place · today 07:00 EDT

I Test Home Security Tech for a Living. Here Are the Best Ways to Mount a Camera at Home

Not sure which base or mount option to choose for your home cam? Here's what I like around my place and why. Read more

330 fresh

Business Insider
Emily Stewart @ Business Insider · today 04:24 EDT

From toys to TVs, return fraud is running rampant

Whether it's sending back broken items or claiming a package never arrived, Americans are committing return fraud at Amazon and other retailers. Read more

326 fresh

The most popular news from the same source for the last week
Habr Habr
Habr
Kaspersky_Lab («Лаборатория Касперского») @ Habr 1 place · 07/14/2025 23:24 EDT

Security Week 2529: атака Rowhammer реализована на видеокартах

Исследователи из канадского Университета Торонто опубликовали научную работу, в которой показали успешное применение атаки класса Rowhammer на профессиональные видеокарты Nvidia. Атака Rowhammer впервые была показана в 2014 году, она эксплуатирует физические особенности современных микросхем оперативной памяти. Из-за высокой плотности ячеек памяти есть возможность изменять значения в определенных ячейках путем отправления множества запросов по соседним адресам. Такое «простукивание» (отсюда hammer в названи Read more

3

Habr
melanny20 (Postgres Professional) @ Habr 2 place · 07/14/2025 07:30 EDT

[Translation] The performance engineer: a detective licensed to kill… bottlenecks

Picture this: a mission-critical SQL query is crawling along. Not for an hour. Not for two. Fifteen hours. A full workday of the system slowly grinding through data while the business bleeds money and users teeter on the edge of a nervous breakdown. And then — cue the dramatic music — in walks the performance engineer.After a few hours of intense analysis and a couple of pinpoint code tweaks, the... Read more

0

Habr
de-potato (Arenadata) @ Habr 2 place · 07/16/2025 06:06 EDT

Архитектура Neon: как устроен cloud-native PostgreSQL в Kubernetes

Привет, Хабр! Меня зовут Алексей Быков, я занимаюсь развитием cloud-native-платформы для обработки данных Arenadata One (AD.ONE). В этой статье мы поговорим о neon-kubernetes-реализации PostgreSQL, её устройстве, особенностях и о том, почему классический подход к Postgres в Kubernetes не позволяет в полной мере использовать преимущества гибкой облачной инфраструктуры.Тема не новая и активно развивается: уже давно существуют операторы (Zalando, Crunchy Data, CloudNativePG) для автоматизации развёртывания Pos Read more

0

Habr
mironov_vlad @ Habr 2 place · 07/16/2025 11:26 EDT

[Translation] Cheap but functional DYI robot arm

Let’s clarify right away — we’re not aiming to make this super cheap. I’d rather not lose brain cells trying to build makeshift encoders for motors, and I want to simplify creating a 3D model needed for ROS control (link to the finished model — further below). Read more Read more

0

Habr
full_moon (Magnus Tech) @ Habr 2 place · 07/17/2025 07:31 EDT

Как уместить ИИ на edge-устройствах

От AlphaGo до ChatGPT — прогресс в области искусственного интеллекта впечатляет своими масштабами. Однако за красивым фасадом скрывается серьезный разрыв между возможностями современных моделей и реальными условиями их применения. Возьмем, к примеру, GPT-3 с его (уже не такими впечатляющими) 175 миллиардами параметров, требующими 800 ГБ памяти. Такие модели существуют только в лабораториях вроде OpenAI. Что уж говорить о запуске подобных систем на устройствах с ограниченными ресурсами.При этом именно edge-у Read more

0

Habr
TantorLabs (Тантор Лабс) @ Habr 1 place · 07/17/2025 23:43 EDT

Redundant statistics slow down your Postgres? Try sampling in pg_stat_statements

pg_stat_statements is the standard PostgreSQL extension used to track query statistics: number of executions, total and average execution time, number of returned rows, and other metrics. This information allows to analyze query behavior over time, identify problem areas, and make informed optimization decisions. However, in systems with high contention, pg_stat_statements itself can become a bottleneck and cause performance drops. In this article, we will analyze in which scenarios the extension... Read more

0

Most popular sources

  • You see 298 news out of 298.
  • Sources 61 out of 61.
Business Insider 47% 15
Tom's Hardware 13% 9
Gizmodo 9% 1
Eurogamer.net 4% 3
The Verge 4% 3
View sources »

LIKE us on Facebook so you won't miss the most important news of the day!

20.07.2025 09:24
Last update: 09:10 EDT.
News rating updated: 16:10.

What is Times42?

Times42 brings you the most popular news from tech news portals in real-time chart.
Read about us in FAQ section.


Times42 © 2025