Re:Golang Desktop App with Webview/Lorca, WASM and Bazel
by jchw on Tuesday August 11, 2020 @12:22PM
(#24122107)
Lazarus is fine and good, but what does it have to do with writing UIs for Go apps? Can you integrate Delphi/Lazarus code together with Golang code in some meaningful way?
[ Parent
| on HN ]
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 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.