Re:Electron is flash for the desktop (2016)
by simion314 on Wednesday February 13, 2019 @01:23PM
(#19155300)
I am wondering what is the issue with dynamically linking Qt, are developers statically linking with MS c/c++ runtime or GUI libs ? From my experience you must install c++ runtimes on windows or if you use C# you need to ask your user to make sure to have it installed, where with Qt you ship the dlls.
[ Parent
| on HN ]
Re:Electron is flash for the desktop (2016)
by dwaite on Wednesday February 13, 2019 @02:05PM
(#19155707)
My understanding is that Windows has an odd memory allocation system where each DLL has its own allocator. Qt historically wasn't designed for that; it will allocate and return objects on the heap with the understanding that user code will free them.
They may have solved this since by using a custom allocator on windows for Qt types.
Re:Electron is flash for the desktop (2016)
by simion314 on Wednesday February 13, 2019 @02:27PM
(#19155963)
Is this related to statically linking? HOW are alternatives like Electron? can you bundle your Electron app into a big binary file ? From my experience in year back when doing desktop apps there was never a pressure to combine your dependencies into 1 big binary