163 place 0

714 Всё, что нужно знать про аллокаторы в Rust (и как написать свой)

Habr
morett1m (Beget) @ Habr · 12/22/2025 02:05 EDT

Всё, что нужно знать про аллокаторы в Rust (и как написать свой)

Мне в Rust всегда заходила одна штука. Он довольно быстро приучает не держать в голове мусор из серии «а я точно это освободил??». Большая часть рутины с памятью уезжает в автоматизм языка, и ты можно прям выдохнуть и думать про данные и инварианты, а не про то, где у тебя очередной free потерялся.Но. Как только начинаешь копать чуть глубже, выясняется, что у Rust есть вполне конкретная рука, которая раздаёт память под все эти Box::new(42), Vec::push и растущие String. Имя этой руке простое: аллокатор. Он о

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
Nathan Rennolds @ Business Insider 1 place · today 11:59 EDT

Trump warns Cuba to make a deal 'before it is too late'

President Donald Trump said in a post on Truth Social that Cuba would no longer receive oil or money from Venezuela. Read more

2,686 fresh

🔮
11.01.2026 ♍︎ Horoscope for Virgo today Dear Virgos, today will bring you a fairly diverse range of... Read more ›
Tom's Hardware
Tom's Hardware 1 place · today 09:33 EDT

Modder saves $130 by building 32GB DDR5 desktop DIMMs from scavenged laptop memory —  donor modules soldered to bare PCB flashed with custom firmware even run XMP

DIY DDR5 is no longer just a concept, but a reality, as modder VIK-on has built his first 32GB stick from scavenged parts. The memory chips came from laptop SODIMMs, while a new PCB and cooler were acquired from China. After flashing custom firmware enabling 6400 MT/s XMP, the entire build put together cost $218. Read more

2,325 fresh

The Verge
Terrence O’Brien @ The Verge 1 place · today 12:26 EDT

Instagram says it fixed the issue that let someone send all those password reset emails

If you're one of the many, many people who received a password reset email from Instagram the other day, the company says it fixed the issue. What was the issue? Unclear. We reached out to Meta for clarification and have yet to receive a response. All we know is that an "external party" triggered the […] Read more

782 fresh

Slashdot
EditorDavid @ Slashdot 1 place · today 10:34 EDT

That Bell Labs 'Unix' Tape from 1974: From a Closet to Computing History

Remember that re-discovered computer tape with one of the earliest versions of Unix from the early 1970s? This week several local news outlets in Utah reported on the find, with KSL creating a video report with shots of the tape arriving at Silicon Valley's Computer History Museum, the closet where it was found, and even its handwritten label. The Salt Lake Tribune reports that the closet where it was found... Read more

478 fresh

Slashdot
EditorDavid @ Slashdot 2 place · today 12:34 EDT

Personal Info on 17.5 Million Users May Have Leaked to Dark Web After 2024 Instagram Breach

An anonymous reader shared this report from Engadget: If you received a bunch of password reset requests from Instagram recently, you're not alone. As reported by Malwarebytes, an antivirus software company, there was a data breach revealing the "sensitive information" of 17.5 million Instagram users. Malwarebytes added that the leak included Instagram usernames, physical addresses, phone numbers, email addresses and more. The company added that the "data is available for... Read more

389 fresh

CoinDesk
Siamak Masnavi @ CoinDesk 1 place · today 10:55 EDT

Walmart and Google bet on AI agents to reshape how people shop online

The retail giant said a new Gemini integration reflects a broader shift from search-based shopping to AI systems that can act on a customer’s behalf. Read more

383 fresh

Gizmodo
Justin Carter @ Gizmodo 1 place · today 10:55 EDT

‘Star Wars’ Fans Haven’t Given Up on Ben Solo’s Cinematic Return

Disney quietly canceled a Ben Solo movie, but the character's fans are trying to loudly make a case for why it should happen. Read more

383 fresh

Eurogamer.net
Vikki Blake @ Eurogamer.net 2 place · today 12:03 EDT

Former Assassin's Creed director says the future of game design "lies in smaller teams"

Former Assassin's Creed director Alexandre Amancio has shared his thoughts about AAA development, suggesting we need "smaller teams" and admitting that big-budget developers cannot "solve a problem by throwing people at it". Read more Read more

352 fresh

Eurogamer.net
Vikki Blake @ Eurogamer.net 3 place · today 10:41 EDT

As Grok continues generating sexualised images, Epic Games boss says senators calling for a ban are trying to "censor all of their political opponents"

As X/Twitter owner Elon Musk moves Grok's widely condemned AI image manipulation feature to paid-only and users flood the "town square" with thousands of sexualised images, Epic Games boss said that senators calling for the removal of X from the Apple and Google stores are trying to "censor all of their political opponents". Read more Read more

323 fresh

The Information
Yueqi Yang @ The Information 1 place · today 11:00 EDT

Robinhood Wins a Round in Battle With Coinbase

Robinhood and Coinbase are two of the most popular trading apps, historically concentrating on equities and crypto, respectively. But more and more, they’re competing head to head. Coinbase is launching stock trading, while Robinhood is expanding in crypto. Both are also betting big on prediction markets. Yet as far as stock performance goes, the two companies couldn’t look more different. Robinhood’s shares rose 186% last year, while Coinbase’s fell 12%.... Read more

299 fresh

Tom's Hardware
Tom's Hardware 3 place · today 11:05 EDT

Asus revised the liquid metal application on its $4,000 ROG Matrix RTX 5090 cards — der8auer says retail versions come with 'much more professional' spread

The retail versions of the ROG Matrix RTX 5090 shipping out to customers will come with an updated TIM application that should help against accidental liquid metal leakage. Previously, sample GPUs showed a poor spread that would barely seal the metal in, with a crooked ring around the core. Now, we see several neatly-organized lanes that are much closer to the IHS, too. Read more

287 fresh

SlashGear
SlashGear 1 place · today 08:15 EDT

'Very Rare' Navy Ship Getting A Major Facelift In 2026

Some retired vessels from the U.S. Navy go on to serve as artificial reefs, while others are completely scrapped. But some go on to become floating museums. Read more

281 fresh

Business Insider
Kristine Villarroel @ Business Insider 2 place · today 10:04 EDT

I tried 14 high-protein drinks and ranked them from worst to best

The new year means new health goals, and for some, that means consuming more protein. I tried 14 high-protein drinks, and some had as much protein as a chicken breast. Read more

224 fresh

Engadget
Jackson Chen @ Engadget 1 place · today 11:09 EDT

Instagram says accounts 'are secure' after wave of suspicious password reset requests

If you received a bunch of password reset requests from Instagram recently, you're not alone. Malwarebytes, an antivirus software company, initially reported that there was a data breach revealing the "sensitive information" of 17.5 million Instagram users. Malwarebytes added that the leak included Instagram usernames, physical addresses, phone numbers, email addresses and more. However, Instagram said there was no breach and that user accounts were "secure." We fixed an issue... Read more

217 fresh

Tom's Hardware
Tom's Hardware · today 10:29 EDT

FCC approves 7,500 additional Starlink Gen2 satellites — service will benefit from higher throughput and lower latency worldwide

The FCC has partially approved a significant expansion of SpaceX’s next-generation Starlink constellation, authorizing 7,500 additional LEO satellites under a partial grant. Read more

216 fresh

The Verge
Terrence O’Brien @ The Verge 2 place · today 11:57 EDT

GameStop is kicking off 2026 by shutting down over 400 stores in 42 states

GameStop CEO Ryan Cohen is in line to potentially earn $35 billion in stock options, so long as the company hits a $100 billion market cap. One way to hit that target is by cutting costs, and one way of cutting costs is to close down a bunch of stores. The company closed 590 stores […] Read more

206 fresh

CNET
Kevin Lynch @ CNET 1 place · today 08:31 EDT

Livestream FA Cup Soccer: Watch Man United vs. Brighton From Anywhere

Interim Red Devils boss Darren Fletcher faces a tricky cup test against the Seagulls. Read more

171 fresh

Engadget
Jackson Chen @ Engadget 2 place · today 13:07 EDT

Don't be surprised if you see even more drones delivering groceries across the US since the Alphabet-owned Wing announced another service expansion with Walmart over the next year. The partnership said that drone delivery services will be available at 150 more Walmart locations in Los Angeles, St. Louis, Cincinnati, Miami and more metros that have yet to be announced. According to Wing, its top 25 percent of customers have ordered... Read more

169 fresh

The most popular news from the same source for the last week
Habr Habr
Habr
GeorgyKurakin @ Habr 1 place · 01/09/2026 14:07 EDT

Гортанный праиндоевропейский, или как звучали ларингалы

Ларингалы – самые загадочные звуки праиндоевропейского языка, не сохранившиеся ни в одном из живых индоевропейских языков. Звуки-призраки, которых никто из ныне живущих не слышал. И звуки-атланты, на которых держатся все реконструкции праиндоевропейского. Почему учёные так уверены в их существовании? Можем ли мы хотя бы представить себе их звучание? И как их можно записать, кроме нижних индексов? Обо всём по порядку – в этой особой статье по заявкам читателей. Читать далее Read more

15

Habr
cognitronn (BotHub) @ Habr 1 place · 01/05/2026 00:44 EDT

На некоторые вопросы ответить проще, чем на другие.Много лет назад - больше, чем мне хотелось бы признать - в те времена, когда программное обеспечение устанавливалось с компакт-дисков, а для выхода в интернет нужно было ждать, пока модем дозвонится по телефонной линии, мы писали тексты с помощью текстовых процессоров.Именно так Microsoft Word получил свое название: буквально версия текстового процессора от Microsoft. А до Word были терминальные редакторы вроде WordStar - которым,... Read more

9

Habr
muxa_ru @ Habr 2 place · 01/07/2026 19:34 EDT

7 января — День Программиста! Какого?

История с тем, что украинский президент установил на 7 января «День программиста» слегка взбудоражила общественность, но не с той стороной, которую я считаю самой интересной.Вобщем, сперва будет рассказ о том, откуда берутся всякие там «Международные дни» и какова их ценность, а затем будет вопрос, на который я не смог найти ответа. Читать далее Read more

8

Habr
onlyahead @ Habr 1 place · 01/06/2026 03:20 EDT

Почему мы все хорошо живём и обязаны этим капитализму?

Как жадные до прибыли торгаши и спекулянты привели планету к прогрессу, и почему девайс с которого вы читаете эту статью заслуга капитализма. Об эпидемии чумы, Ост-Индской компании и ростовщиках с патентным правом. 1/3 статей из цикла истории Капитализма. Читать далее Read more

3

Habr
free_kedr (Femida Search) @ Habr 2 place · 01/05/2026 10:33 EDT

Как узнать айпи собеседника в телеграм в 1 клик? Дуров не фиксит это третий год…

В телеграмме есть способ раскрыть IP собеседника в 1 клик, не скидывая ему никаких файлов, картинок и даже не заставляю его переходить по сомнительным ссылкам.Телеграм даже не предупреждает о том, что вас скамят. Но как? Читать далее Read more

3

Habr
projectgeek (YouGile) @ Habr 2 place · 01/05/2026 05:51 EDT

Лучшие системы управления проектами и задачами в 2026 году. Полный обзор российских сервисов

В этом обзоре мы собрали системы управления проектами, которые задают стандарты и полностью заменяют западные решения, а также нишевые продукты, которые закрывают узкие сценарии. Все системы включены в Реестр отечественных программ и соответствуют стандартам безопасности. Читать далее Read more

2

Habr
enamored_poc @ Habr 1 place · 01/06/2026 04:30 EDT

10 полезных Python-библиотек для автоматизации повседневных задач

Каждый раз, когда мы пишем «быстрый скрипт на коленке», мы тратим время на одни и те же вещи: настройку логов, парсинг конфигов и создание прогресс-баров. В этой статье разберем 10 легковесных утилит (от tqdm до beartype), которые закроют рутинные задачи и позволят вам сфокусироваться на логике, а не на «обвязке». Читать далее Read more

1

Habr
bull1251 @ Habr 2 place · 01/08/2026 08:56 EDT

Современные подходы к безопасности ИИ часто сводятся к внешним запретам и попыткам заставить системы выглядеть «этичными». Однако системный анализ и опыт биологической эволюции указывают на то, что подобные методы прямого ограничения могут оказаться неэффективными при масштабировании систем до уровня искусственного интеллекта общего назначения (AGI).В данной статье анализируется переход от биологических основ принятия решений к математическим моделям кооперации искусственного интеллекта. Мы рассмотрим, поче Read more

1

Habr
ALT0105 @ Habr 1 place · 01/08/2026 12:55 EDT

Преобразование Фурье и спектр излучения — одно и то же?

У меня нет классического образования в области радиотехники, но связь представлений сигнала во временной и частотной областях меня сильно интересует. При попытке сформировать в голове ясное представление возникают примерно такие вопросы.Рассмотрим базовую ситуацию для любого радиоканала.Передатчик излучает немодулированную несущую (Рис. 1) Читать далее Read more

2

Habr
MaFrance351 (Timeweb Cloud) @ Habr 3 place · 01/09/2026 03:05 EDT

Сам себе VoLTE. Запускаем сотовую сеть 4G LTE с поддержкой звонков и SMS

Приветствую всех! Два года назад я уже рассказывал о том, как запустить у себя дома базовую станцию 4G LTE. Тем не менее, в той сети работал только мобильный интернет, тогда как при попытке позвонить или отправить SMS связь немедленно обрывалась.Самое время восполнить это упущение. Сегодня мы поднимем сеть, в которой будут работать все эти функции. Заодно разберёмся, как работают звонки в LTE-сетях, как запустить такую сеть при помощи SDR и... Read more

2

Most popular sources

  • You see 302 news out of 302.
  • Sources 61 out of 61.
Business Insider 22% 3
Tom's Hardware 18% 4
Engadget 12% 5
Slashdot 8% 4
The Verge 8% 1
View sources »

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

11.01.2026 14:04
Last update: 13:45 EDT.
News rating updated: 20:51.

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 © 2026