Supported platforms

The Shiny project currently supports Windows, macOS, Linux, DragonFly BSD, and OpenBSD. Other BSD distributions or Unix systems that use X11 (see the following discussion of drivers) may work but are not officially supported at this time.

The code required to support an operating system is relatively lightweight if one of the existing drivers is able to run. For example, if OpenGL is installed on a not-yet-supported platform, then you may be able to add the operating system-specific code to wire it in. In this situation, a platform-specific Go file would need to open a window and handle any platform-specific input or device setup for the OpenGL window.

On a platform where an existing driver does not currently work, it would be a tremendous amount of work to add support. As well as the window- and user-interaction code, it would be necessary to write the graphical renderer and presentation layer from scratch or provide an API bridge to an existing one. Such an implementation would have to handle the complete set of draw primitives and transformations utilized by the main Shiny code (such a list is outside the scope of this book).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.81.201