JCConf 2024
這次難得公司贊助參加 conference,看了些有興趣的議程,紀錄一下有印象的內容跟一些額外查詢的資料。
Java 21 and Beyond: State of Loom and Amber
一位外國講者 Jose PAUMARD,以聯播(錄影)的方式演講,在 youtube 有 JEP Café 系列影片。
主要分享了:
Concurrency and Structured Concurrency
- Java 5 提供 Concurrency, 跑在 Platform thread 上會受到硬體 thread 上限的限制,且有 thread 洩漏的風險。
- Java 21 提供 Structured Concurrency,在 Virtual thread 上執行時不阻塞 Platform thread,且能在預期範圍內執行,防止資源 洩漏問題。
Object Oriented Programming and Data Oriented Programming
沒有記下來說了什麼,用 ChatGPT 來做 summary
比較項目 | 物件導向程式設計 (OOP) |
---|