Skip to content

The electron technology itself provides node.js and c/c++ (.node extension) language support. However, to enable developers using different technology stacks to utilize the electron technology, the framework provides a cross module to create service (child) processes in other languages, while also providing a unified API to manage these processes.

Theoretically, this module can support service programs created in any language. Currently, go and java demos are available for reference.

Since the go language has a relatively high compatibility (cross-platform, performance, package size, ease of use, etc.), the framework provides deep integration and more support for Go.

Examples

Go

Create a Go service

Please see the documentation: Go

Java

Create a Java service

Please see the documentation: Java

API

More features are provided via API.

Please see the documentation: cross API