COSCUP 2022

Your locale preferences have been saved. We like to think that we have excellent support for English in pretalx, but if you encounter issues or errors, please contact us!

Go to Generic
2022-07-31 , TR209
Language: 漢語

這個talk想帶大家了解Go 1.18新增的type parameter(generic)功能,比較不同語言generic的設計

  • Generic想解決的問題,在type parameter之前的generic (interface, code template, reflection)
  • 初步探討 Interface 跟reflection內部實作與generic實作上的差異 (monomorphisable)
  • Type parameter 的基本介紹
  • 比較Go generic與其他語言的差異
  • 從 C++ template programing 所提供operator overload, partial specialization等功能來看generic programing目前的發展狀況和其副作用

Target Audience

For developer who have basic understand of Go. It will be better if you have basic knowledge about object-oriented programing.

Difficulty

Skilled

興趣使然的工程師