Skip to content

Migrate SWT to FFM #3605

Description

@vogella

We should migrate SWT GTK3 and GTK4 for use FFM. I already prototyped that and have a running Eclipse IDE based on https://github.com/vogella/eclipse.platform.swt/tree/ffm-migration.

Not yet covered: GTK4, WebKit, GLX and the AWT bridge on Linux, Win32 and Cocoa.

Also not yet done: C.java and Callback.java to FFM in the product build as they live in shared folders that the win32 and cocoa builds also compile, and those have no FFM version. That's why the product build still loads the JNI libraries.

Good news is, IDE starts without any failures and according to the SWT tests, our vogella SWT harness and our vogella Eclipse harness the IDE is pixel identical.

Image

Performance with FFM is currently worse compared to JNI, we are currently investigating.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions