3 ms·
I am working on Sciter (https://sciter.com https://sciter.com) that appeared in Norton Antivirus in 2007, so it is used in production 12 years already. And I n
by c-smile 7y ago
I am working on Sciter (https://sciter.com https://sciter.com) that appeared in Norton Antivirus in 2007, so it is used in production 12 years already.
And I never did full rewrite. The development started as "C with classes" when std:: was not the thing so I had and still have my own array<T>, string<T>, hash_map<T>, etc.
Since then I've added GPU support, Mac and Linux versions, scripting … a lot of features. But not full rewrite and no need for that that far.
Only incremental refactorings when they needed, e.g. when all platforms got reliable C++11 compilers I started using std::function instead of those ugly inner structures.
Am I lucky or what?
- novok 7y agoWhy do you think electron is more popular than sciter? They seem to target similar things? Is 'sciter html' a bit different than 'chrome html', so you can't make a web app out of the same code base too?
- c-smile 7y ago"They seem to target similar things?" No - different. Electron was designed to run web sites pretty much as they are. It is a standalone browser combined with server (Node.Js) under common umbrella. So it the same client-browser thing - client in one process, server part in another process. Communication between them uses IPC rather than over-the-wire as in case of browser/remote-server. And Sciter is an embeddable thing - it runs in the same GUI thread as the application. So Sciter is for native applications where window layout is defined in HTML/CSS terms. So the only common things between Electron and Sciter is use of HTML/CSS. Sciter actually is closer to WPF (HTML/CSS instead of XAML) than to Electron. Or to GTK for that matter - GTK also uses CSS styled DOM as does Sciter.