[go-nuts] Re: Java to Golang converter

2022-05-31 Thread nandu deshmukh
Online tool : https://kalkicode.com/ai/java-to-golang-converter-online This tool is capable to Converting existing Java code to Golang. On Friday, December 17, 2021 at 1:11:13 AM UTC+5:30 alex-coder wrote: > The topic is very interesting, is anyone being worked on a subject ? > Thank you. > > чет

[go-nuts] syscall/js: wasm perf question

2022-05-31 Thread atd...@gmail.com
Hi, I am trying to optimize some wasm code that runs into the browser. So far, the performance is acceptable if not slightly faster than probably unoptimized js DOM manipulation (comparing my implementation of TODOMVC with the vanilla javascript one and react one) One issue I see is that trigg

Re: [go-nuts] Nil could be the zero value for type variables

2022-05-31 Thread Ian Lance Taylor
On Mon, May 30, 2022 at 6:39 PM Will Faught wrote: > > Currently, if I understand correctly, there's no expression for the zero > value for a type variable: Thanks for the note. There is some discussion of this at https://go.googlesource.com/proposal/+/refs/heads/master/design/43651-type-parame

Re: [go-nuts] Nil could be the zero value for type variables

2022-05-31 Thread Will Faught
Thanks for pointing out that section. I guess I'd forgotten this issue was discussed there. It looks like this exact approach (nil for all types) isn't listed there, but there's a similar one that adds nil to just type variables. Please add this one to your mental list! :) Fair enough about the n