Stable Specialization in Rust
Rust 언어에서 안정적인 specialization(특수화) 구현에 관한 글로, Rust 표준 라이브러리가 내부적으로 specialization을 사용하지만 사용자 코드에서는 보장되지 않아 문제가 발생해왔다. 다만 Iterator의 .fuse() 메서드는 FusedIterator 트레이트를 구현한 경우에 한해 specialization이 보장되는 유일한 사례로 소개된다. 이를 활용해 타입이 Send 트레이트를 구현하는지 확인하는 예시가 제시되었으며, const 컨텍스트에서는 아직 활용이 어려운 점도 언급되었다. 이 연구는 안정적인 Rust 환경에서 제한적이나마 specialization을 관찰하고 활용할 수 있음을 시사한다.

https://goldstein.lol/posts/stable-specialization/

#rust #specialization #iterator #fusediterator #send

stable specialization in Rust | max’s place

Inspired by @jonhoo's `brrr` I wrote #SIMD splitting iterator which seem to work. Now, I'm not sure if I should be proud of myself, or sad I reinvented the wheel...

For those interested: it has limitation to byte slices, but it's correct for #unaligned data (subject to future optimisations); uses nightly.

Now it needs #benchmarks

#rust #iterator #reinvented

Kürzlich habe ich einen Artikel gelesen, in dem es um Fragen in einem Vorstellungsgespräch als Java-Entwickler ging. Es wurden einige Fragen vorgestellt und die These aufgestellt, dass die meisten Bewerber diese Fragen nicht beantworten können. Aus diesem Grund möchte ich in dieser Serie auf die

https://magicmarcy.de/java-interview-fragen-3-datenstrukturen-und-algorithmen

#Java-Interview #Datenstrukturen #Algorithmen #String #Literal #Collections #HashMap #TreeMap #Iterator

Java Interview-Fragen: #3 Datenstrukturen und Algorithmen | magicmarcy.de

Kürzlich habe ich einen Artikel gelesen, in dem es um Fragen in einem Vorstellungsgespräch als Java-Entwickler ging. Es wurden einige Fragen vorgestellt und die These aufgestellt, dass die meisten Bewerber diese Fragen nicht beantworten können. Aus diesem Grund möchte ich in dieser Serie auf diese Java Fragen im Vorstellungsgespräch eingehen und sie beantworten.

magicmarcy.de

How to Prevent Iterator Exhaustion Bugs

Iterators vanish after one pass.

#python #iterator #exhaustion #bug #howto

https://www.youtube.com/watch?v=aaRk1eKTDaE

How to Prevent Iterator Exhaustion Bugs #exhaustion

YouTube

Happy 9th Anniversary!
Day 28 of RWAM. Would have been cooler with way more creatures but I was already way over my time budget :P

#art #digital #fanart #RWArtMonth #digitalart #rainworld #slugcat #lizard #monk #greenlizard #fivepebbles #iterator

How to Make Objects Iterable

Iterator interface. foreach on your object. Control iteration.

#php #iterator #iterable #howto

https://www.youtube.com/watch?v=4yLnNhMXEVA

How to Make Objects Iterable #php

YouTube

Pebbles
Day 21 of RWAM. Drew up something very inspired by the art you see after meeting Five Pebbles for the first time. I love that one.

#art #fanart #RWArtMonth #rainworld #traditional #traditionalart #ink #iterator #fivepebbles

How to Stop map From Disappearing After One Use

map is an iterator in Python 3 and gets consumed.

#python #map #iterator #exhaustion #howto

https://www.youtube.com/watch?v=Nw4cs0ovIMo

How to Stop map From Disappearing After One Use #map

YouTube

Aperiodic Aquatic Absurdity

That was nickname of my friend who doesn’t know rain world. And I immediately imagined an iterator with that name so I made a design for them.

#art #mastoArt #rainworld #iterator #oc #originalCharacter #digitalArt