When comparing FLTK vs Electron, the Slant community recommends Electron for most people. In the question“What are the best cross-platform GUI toolkits?” Electron is ranked 12th while FLTK is ranked 15th. The most important reason people chose Electron is:
Electron receives updates frequently (multiple times each month). For example, the recent updates (as of July 15, 2016) are: * 1.2.6 (released July 6) * 1.2.5 (released June 23) * 1.2.4 (released June 22) * 1.2.3 (released June 16) * 1.2.2 (released June 8)
Ranked in these QuestionsQuestion Ranking
Pro GUI designer
Fast Light User-Interface Designer (FLUID) included.
Uses a limited and lightweight design and restricts itself to solely GUI functionality. Because of this restriction, the FLTK hello world example is only about 100 KiB.
It's simple design and lack of more advanced C++ features makes it easy for beginners.
Pro Active development
Electron receives updates frequently (multiple times each month). For example, the recent updates (as of July 15, 2016) are:
1.2.6 (released July 6)
1.2.5 (released June 23)
1.2.4 (released June 22)
1.2.3 (released June 16)
1.2.2 (released June 8)
Pro Healthy community
Github is behind electron and there is a lot of big companies using it to make their cross platform apps.
Pro Great documentation
Electron has a nice website with great documentation. It also features a lot of samples.
Pro Solid API
Con Does not look like a native application
Because it uses non-native widgets, it doesn't look like a native application on any platform.
Con Can be too simple for some projects
FLTK offers far fewer widgets than most other toolkits.
Con Needs to run chromium
Runs chromium in the background which consumes a lot of resources.
Con Apps can have memory issues
Apps made with Electron are likely to have memory issues unless you specifically design the app with efficient coding.