fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#string

0 posts0 participants0 posts today

Строки в Go

Строки — одна из самых часто используемых структур данных в любом языке программирования. И в Go они повсюду: от простых приветствий вроде "Hello, World!" до сложных парсеров, логгеров и сетевых протоколов. На первый взгляд, с ними всё просто: создал, склеил, обрезал — и пошёл дальше. Но как это часто бывает, под простотой скрываются тонкости, игнорирование которых может привести к ошибкам и снижению производительности. Go предлагает мощные, но специфичные механизмы работы со строками. Они тесно связаны с понятиями Unicode, UTF-8, рун, неизменяемости и байтовых представлений. Понимание этих механизмов позволяет не только избежать типичных подводных камней, но и писать более эффективный код.

habr.com/ru/articles/911614/

ХабрСтроки в GoСтроки — одна из самых часто используемых структур данных в любом языке программирования. И в Go они повсюду: от простых приветствий вроде "Hello, World!" до сложных парсеров, логгеров и сетевых...
#string#go#golang

RGBDS 0.9.2 released! It adds some new features, including more string functions in RGBASM and an excludable "background" color in RGBGFX; fixes some bugs (particularly with RGBGFX); and makes some things more convenient (like #string instead of needing "{string}").

github.com/gbdev/rgbds/release

GitHubRelease v0.9.2 · gbdev/rgbdsMay the 4th be with you! ⭐ 👾 Added New 0-indexed string functions (we plan to eventually deprecate the old 1-indexed ones): STRFIND and STRRFIND: like STRIN and STRRIN STRCHAR: like CHARSUB STRSL...

🎉 Behold, the latest over-engineered solution to a problem nobody had: yet another #string #search utility, because grep's five-decade reign obviously requires an AVX2-fueled #revolution. 🚀 If you believe a 5x speed boost will change your #grep game, brace yourself for a groundbreaking experience that totally justifies its memory-mapped existence. 🙄
davidesantangelo.github.io/kre #overengineered #solutions #AVX2 #speedboost #HackerNews #ngated

davidesantangelo.github.iokrep - Blazing Fast String Search Utility