Artwork

เนื้อหาจัดทำโดย Adam Bien เนื้อหาพอดแคสต์ทั้งหมด รวมถึงตอน กราฟิก และคำอธิบายพอดแคสต์ได้รับการอัปโหลดและจัดหาให้โดยตรงจาก Adam Bien หรือพันธมิตรแพลตฟอร์มพอดแคสต์ของพวกเขา หากคุณเชื่อว่ามีบุคคลอื่นใช้งานที่มีลิขสิทธิ์ของคุณโดยไม่ได้รับอนุญาต คุณสามารถปฏิบัติตามขั้นตอนที่แสดงไว้ที่นี่ https://th.player.fm/legal
Player FM - แอป Podcast
ออฟไลน์ด้วยแอป Player FM !

From Mathematical Sets To Java Collections and Maps

1:19:17
 
แบ่งปัน
 

Manage episode 507683342 series 2469611
เนื้อหาจัดทำโดย Adam Bien เนื้อหาพอดแคสต์ทั้งหมด รวมถึงตอน กราฟิก และคำอธิบายพอดแคสต์ได้รับการอัปโหลดและจัดหาให้โดยตรงจาก Adam Bien หรือพันธมิตรแพลตฟอร์มพอดแคสต์ของพวกเขา หากคุณเชื่อว่ามีบุคคลอื่นใช้งานที่มีลิขสิทธิ์ของคุณโดยไม่ได้รับอนุญาต คุณสามารถปฏิบัติตามขั้นตอนที่แสดงไว้ที่นี่ https://th.player.fm/legal
An airhacks.fm conversation with Maurice Naftalin (@mauricenaftalin) about:
retirement philosophy and work-life balance for developers, transitioning from paid work to passion projects, the challenge of relaxation and meditation versus constant activity, the importance of experiencing boredom in a fast-paced world, Java collections framework design and evolution over 30 years, the Collection interface as base for sets lists and queues but not Maps, mathematical foundations of sets using Zermelo-Fraenkel axioms, differences between mathematical sets and Java set implementations, NavigableSet and SortedSet using comparators versus hash-based equality, non-commutative equality between HashSet and NavigableSet implementations, CopyOnWriteArraySet for concurrent read-heavy operations with snapshot isolation, ConcurrentSkipListSet as thread-safe tree structure using skip lists algorithm, skip lists simulating tree behavior through parallel linked lists with sparse copies, Queue interface uncomfortable fit with Collection interface focusing on head/tail operations, BlockingQueue implementations for producer-consumer workflow scenarios, Deque (double-ended queue) enabling work-stealing patterns in Fork-Join framework, Map interface separate from Collection hierarchy representing key-value pairs, Map.of() factory methods using array-based optimization limited to 10 elements, WeakHashMap using weak references on keys for memory-sensitive caching, IdentityHashMap using reference equality (==) useful for serialization graphs, EnumMap and EnumSet using bitmap optimization for performance, String.intern() optimization hack for fast string comparison using reference equality, enum design limitations with final name() method preventing override customization, Epsilon garbage collector for short-lived servers avoiding GC overhead, the remarkable durability of Josh Bloch's original Collections Framework design under time pressure, balancing API simplicity with supporting unusual use cases, converting between different data structure representations and naming conventions

Maurice Naftalin on twitter: @mauricenaftalin

  continue reading

365 ตอน

Artwork
iconแบ่งปัน
 
Manage episode 507683342 series 2469611
เนื้อหาจัดทำโดย Adam Bien เนื้อหาพอดแคสต์ทั้งหมด รวมถึงตอน กราฟิก และคำอธิบายพอดแคสต์ได้รับการอัปโหลดและจัดหาให้โดยตรงจาก Adam Bien หรือพันธมิตรแพลตฟอร์มพอดแคสต์ของพวกเขา หากคุณเชื่อว่ามีบุคคลอื่นใช้งานที่มีลิขสิทธิ์ของคุณโดยไม่ได้รับอนุญาต คุณสามารถปฏิบัติตามขั้นตอนที่แสดงไว้ที่นี่ https://th.player.fm/legal
An airhacks.fm conversation with Maurice Naftalin (@mauricenaftalin) about:
retirement philosophy and work-life balance for developers, transitioning from paid work to passion projects, the challenge of relaxation and meditation versus constant activity, the importance of experiencing boredom in a fast-paced world, Java collections framework design and evolution over 30 years, the Collection interface as base for sets lists and queues but not Maps, mathematical foundations of sets using Zermelo-Fraenkel axioms, differences between mathematical sets and Java set implementations, NavigableSet and SortedSet using comparators versus hash-based equality, non-commutative equality between HashSet and NavigableSet implementations, CopyOnWriteArraySet for concurrent read-heavy operations with snapshot isolation, ConcurrentSkipListSet as thread-safe tree structure using skip lists algorithm, skip lists simulating tree behavior through parallel linked lists with sparse copies, Queue interface uncomfortable fit with Collection interface focusing on head/tail operations, BlockingQueue implementations for producer-consumer workflow scenarios, Deque (double-ended queue) enabling work-stealing patterns in Fork-Join framework, Map interface separate from Collection hierarchy representing key-value pairs, Map.of() factory methods using array-based optimization limited to 10 elements, WeakHashMap using weak references on keys for memory-sensitive caching, IdentityHashMap using reference equality (==) useful for serialization graphs, EnumMap and EnumSet using bitmap optimization for performance, String.intern() optimization hack for fast string comparison using reference equality, enum design limitations with final name() method preventing override customization, Epsilon garbage collector for short-lived servers avoiding GC overhead, the remarkable durability of Josh Bloch's original Collections Framework design under time pressure, balancing API simplicity with supporting unusual use cases, converting between different data structure representations and naming conventions

Maurice Naftalin on twitter: @mauricenaftalin

  continue reading

365 ตอน

ทุกตอน

×
 
Loading …

ขอต้อนรับสู่ Player FM!

Player FM กำลังหาเว็บ

 

คู่มืออ้างอิงด่วน

ฟังรายการนี้ในขณะที่คุณสำรวจ
เล่น