News for hackers. Stuff that matters.
Re:Golang Desktop App with Webview/Lorca, WASM and Bazel by R0b0t1 on Tuesday August 11, 2020 @02:56PM (#24124365)
Yes? It supports different calling conventions. Easiest would be exporting things cdecl from Go. But usually the better way to do this is to write the UI in FreePascal (or something else) and use some form of IPC like pipes or network sockets to get the data to the UI.

I've actually done this, it works well, and the Lazarus GUI libraries manage to get a natural look and feel on all platforms.

Re:Golang Desktop App with Webview/Lorca, WASM and Bazel by UnnoTed on Tuesday August 11, 2020 @05:22PM (#24126140)
Re:Golang Desktop App with Webview/Lorca, WASM and Bazel by fileeditview on Wednesday August 12, 2020 @02:33AM (#24129148)
Wow this looks really interesting.. however it seems kinda risky to start developing a commercial app when the whole documentation is in chinese.. :)
Re:Golang Desktop App with Webview/Lorca, WASM and Bazel by pkphilip on Wednesday August 12, 2020 @02:03AM (#24128992)
Wow! this is good! I didn't even know such a thing existed.

Are you the person who wrote this? if so would like to contribute in some way.

Re:Golang Desktop App with Webview/Lorca, WASM and Bazel by UnnoTed on Wednesday August 12, 2020 @09:40AM (#24131962)
I'm not the one who wrote it, i found it while looking for Nim bindings for Lazarus' LCL.
Re:Golang Desktop App with Webview/Lorca, WASM and Bazel by R0b0t1 on Tuesday August 11, 2020 @05:49PM (#24126435)
That's great. If someone has spent the effort to do that it is worth using.
Re:Golang Desktop App with Webview/Lorca, WASM and Bazel by jchw on Tuesday August 11, 2020 @07:00PM (#24126964)
This is definitely more what I had in mind, awesome!