1.94K subscribers
3.49K photos
136 videos
15 files
3.72K links
Блог со звёздочкой.

Много репостов, немножко программирования.

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
The existence of "fairly big" implies the existence of "unfairly big"

#лингво
🍌2👌1
Надеюсь, вы отмечаете сегодняшний праздник, день распада СССР
🔥22🤡13😁3🖕2🤔1🎉1💩1👌1
Новогодняя открытка от tgstat

(топовый пост)
❤‍🔥4
#prog #rust #rustlib

brie-tree - SIMD-optimized B+ Tree implementation that uses integer keys

A fast B+ Tree implementation that uses integer keys.
The API is similar to the standard library's BTreeMap with some significant differences:

* Lookups and insertions are 2-4x faster than BTreeMap.
* BTree can optionally be used as a multi-map and hold duplicate keys.
* Keys must be integer types or convertible to integers via the BTreeKey trait.
* The maximum integer value is reserved for internal use and cannot be used by keys.
* Elements in the tree are ordered by the integer value of the key instead of the Ord implementation of the keys.
* Cursors can be used to seek back-and-forth in the tree while inserting or removing elements.
* Iterators only support forward iteration.
👍10
Я папищек, и я...
Anonymous Poll
57%
...гетеро
43%
...нормальный/ая
🤡29😁106🥴3
This media is not supported in your browser
VIEW IN TELEGRAM
Это что такое падает белое сверху??😨😨 Это опасно? Это конец света?
🤡6🫡5💩4😱2❤‍🔥11🥰1😁1🤯1🤩1🖕1
👏14😁8🤡31
#prog #article

There is no memory safety without thread safety

Memory safety is all the rage these days. But what does the term even mean? <...> Typically, people use this term to refer to languages that make sure that there are no use-after-free or out-of-bounds memory accesses in the program. This is then often seen as distinct from other notions of safety such as thread safety, which refers to programs that do not have certain kinds of concurrency bugs. However, in this post I will argue that this distinction isn’t all that useful, and that the actual property we want our programs to have is absence of Undefined Behavior.
👍4🤔3