When comparing FLTK vs Electron, the Slant community recommends FLTK for most people. In the question“What are the best cross-platform GUI toolkits?” FLTK is ranked 12th while Electron is ranked 23rd. The most important reason people chose FLTK is:
It's simple design and lack of more advanced C++ features makes it easy for beginners.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Simplicity
It's simple design and lack of more advanced C++ features makes it easy for beginners.
Pro Fast
Well-designed widgets, coded with careful attention to rendering/execution speed.
Pro Stable
FLTK code developed more than 10 years ago still compiles and runs perfectly, without changes.
Pro Lightweight
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.
Pro GUI designer
Fast Light User-Interface Designer (FLUID) included.
Pro Healthy community
Github is behind electron and there is a lot of big companies using it to make their cross platform apps.
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 learning curve is less
Electron has less learning curve when compare to qt like other options
Pro Great documentation
Electron has a nice website with great documentation. It also features a lot of samples.
Pro Solid API
Cons
Con Can be too simple for some projects
FLTK offers far fewer widgets than most other toolkits.
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 Apps can have memory issues
Apps made with Electron are likely to have memory issues unless you specifically design the app with efficient coding.
Con High CPU Usage
Electron Has High CPU Usage
Con Needs to run chromium
Runs chromium in the background which consumes a lot of resources.
