Почему macro_rules! может не остановиться и что с этим делает Rust

Приветствую. В 1936 году Алан Тьюринг опубликовал статью, которая среди прочего доказала одну неприятную вещь: невозможно написать алгоритм, который для любой программы и любого входа определит, остановится программа или нет. Проблема остановки. Мы натыкаемся на неё гораздо чаще, чем кажется. Иногда прямо в Cargo.toml .

https://habr.com/ru/companies/beget/articles/996886/

#rust #рекурсия #macrorules #макросы_в_rust #crates

Почему macro_rules! может не остановиться и что с этим делает Rust

Приветствую. В 1936 году Алан Тьюринг опубликовал статью, которая среди прочего доказала одну неприятную вещь: невозможно написать алгоритм, который для любой программы и любого входа определит,...

Хабр
Anyone from #crates #rustlang support/admin team here in my timeline #rust? https://crates.io
crates.io: Rust Package Registry

crates.io serves as a central registry for sharing crates, which are packages or libraries written in Rust that you can use to enhance your projects

I am the maintainer of pokemon-rs on crates.io (https://crates.io/crates/pokemon-rs)

I experienced steady downloads throughout the v1.0.0 release of the library and in the later releases, with avg 3400 recent downloads amassed over 3 years of maintaining the crate. Suddenly last November the usage of the lib just dropped to zero, and i dont know why. Has anyone experienced the same on #crates-io? #rustlang

crates.io: Rust Package Registry

Another great #FOSDEM talk from Michael Winser at @openssf / #AlphaOmega about the terrible economics of package registries like #NPM #maven #PyPi #RubyGems #crates

https://fosdem.org/2026/schedule/event/8WJKEH-package-registry-economics/

Some charts from different registries are at https://go.xwind.io/registry-research-report

The slide below is a take on some of the common "solutions" that people come up with for funding registries (also applicable to non-registry products with large numbers of downloads) and what might happen if you choose them

Cập nhật: Verve.fm vừa ra tính năng “Crates” – dạng playlist lưu trữ album, có thể công khai hoặc riêng tư. Dù đã thu hút ~700 người dùng hoạt động, nhưng việc giữ họ quay lại vẫn là thách thức. Họ đang tìm lời khuyên để tăng tương tác và làm cho nền tảng thú vị hơn. #SideProject #vervefm #Crates #Music #Startup #Vietnamese #CôngNghệ

https://www.reddit.com/r/SideProject/comments/1qja95d/update_crates_looking_for_advice/

@tar

My fork of #mop3 with async threads works without panic now.
I have in plans to add Bluesky API to it

https://github.com/dabevlohn/mop3

#emacs #notmuch #email #mastodon #rust #crates #pop3 #email #mailbox #mpop #mail #linux #tui #rustlang #nnfedi

Usually, I read mail using emacs+notmuch. To avoid leaving tons of messages on servers, I use the POP3 protocol: all correspondence is downloaded by a periodic task with the help of an application included in the standard package of every popular distribution — mpop. Its settings are quite simple: you can describe several mailboxes in the configuration and sort mail into folders, launching notmuch tag with regular expressions for preliminary message tagging after each session. The account password can be left in the config or stored in a keychain, from which it will be retrieved using the passwordeval directive. As a result, I can process mail completely asynchronously offline.

Today, I discovered a real gift for myself: among Rust crates, there is one very suitable for my refined mail handling algorithm — mop3. This is a server responding to mail client (MUA) requests via the POP3 protocol and converting them into API queries to a Mastodon instance. Thus, I can receive posts from all authors I follow as email messages. It’s much cooler than using Emacs modules for Mastodon or TUI tools like toot, tut, etc.
#emacs #notmuch #mastodon #rust #crates #pop3 #email #mailbox #mpop #mail #linux #tui #rustlang