Atomic Addition Infix Operator
(atomicint) infix ⚛️+= Defined as: multi sub infix:<⚛️+=>(atomicint $ is rw, int $value) multi sub infix:<⚛️+=>(atomicint $ is rw, Int() $value) Performs an atomic addition on a native integer. This will be performed using hardware-provided atomic operations. Since the operation is atomic, it is safe to use without acquiring a lock. Evaluates to the result of the addition. Overflow will wrap around silently. If $value is too big to unbox to a 64-bit integer, an exception will be thrown. If $value otherwise overflows atomicint then it will be silently truncated before the addition is performed.
Скриншот документации по языку программирования с определением инфиксного оператора ⚛️+= для атомарного сложения целых чисел. Шутка строится на чрезмерно серьёзном описании необычного оператора с эмодзи атома и технических деталях о переполнении и блокировках; такой мем отправляют программистам как абсурдный пример низкоуровневого кода. EN: A programming-language documentation screenshot defining the ⚛️+= infix operator for atomic integer addition. The joke comes from the overly serious description of an unusual operator featuring an atom emoji, along with technical details about overflow and locks; programmers share it as an absurd low-level code example.
documentation screenshot / скриншот документацииcode block / блок кодаatom emoji / эмодзи атомаinfix operator / инфиксный операторinteger variable / целочисленная переменная64-bit integer / 64-битное целое числоtext paragraph / текстовый абзацwhite background / белый фонyellow border / жёлтая рамкаsyntax highlighting / подсветка синтаксиса
- @profunctor_io / 2516 2019-07-06
- Type
- image
- Size
- 750×675 · 102.5 KiB
- Mood
- абсурдный, саркастичный
- Language
- en
- Added