Go - Interface Contracts


  • Don't need implement interface, only method is enough
  • Compile error if signature is wrong, 
  • Although don't need declare "implements", but still compile error if implemented methods are not enough.
  • Can implement another method, return type can be *C or C


沒有留言:

張貼留言

Lessons Learned While Benchmarking vLLM with GPU

Recently, I benchmarked vLLM on a GPU to better understand how much throughput can realistically be expected in an LLM serving setup. One ...