Go Time: Golang, Software Engineering cover image

Building desktop apps with Go + web tech

Go Time: Golang, Software Engineering

00:00

Is There a Way to Communicate With JavaScript?

The IPC mechanism, the way that it works is that you essentially bind go functions or struct methods to your application. And they get presented at the front end through a JavaScript endpoint. So instead of having to worry about messages, requests, parameters, all that sort of stuff, you actually just call functions. It's interesting because we do think of go as a server with eight HTTP interfaces and things. But it doesn't end up being quite similar because you have this front end that's communicating somehow with the back end through some kind of procedure calls. The difference is that that mechanism for communication is completely hidden for me.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app