Posts

Showing posts from June, 2018

What is sciter sdk ?

Image
Sciter brings a stack of web technologies to desktop UI development.  Web designers and developers can reuse their experience and expertise in creating modern looking desktop applications.
It means what the words are saying, literally. With the use of Sciter, one can create UI for a native application using HTML, CSS and TIScript ( which is extended version of JavaScript).
Sciter was primarily created to work with C language. But now it has extended wrapper for other languages which include Golang as well.
Sciter Quick Example



Sciter is so robust and has been used by many companies in their products. Here are the examples, Norton Comodo Avast BitDefenderSPAMFighterSTOPzilla
Their customer list is also very impressive. 

Before sometime Sciter doesn't have any free licence. But now they provide a free license. So you can use it for free which can be upgraded to paid one as well.  Hope these details are enough to decide either give a shot to Sciter or not!

Sciter : GUI Application with Golang using HTML/CSS

Image
Last Update: 03-07-2018

This is the words from Sciter's Web site,


Sciter brings a stack of web technologies to desktop UI development. Web designers and developers can reuse their experience and expertise in creating modern looking desktop applications. Various GUI frameworks offer different UI declaration and styling languages, such as QML and XAML (Microsoft WPF). On the contrary, Sciter allows using time proven, robust, and flexible HTML and CSS for GUI definition and GPU accelerated rendering.
Before using sciter I already tried other alternatives but none of them was satisfactory as an example first i tried andlabs/ui libraryi already have written a post on it. You can read it on post gui programming with golang.  But this library is still under construction and has no support for production apps.
Secondly, I go for electron but the problem was my simple calc like the app was of size 150mb. Which is 15mb of go and other was the electron. 
Before some time I found another alternativ…

multithreaded copier in golang example

Image
Here I am sharing snippet for the multithreaded copier in the golang example. 

What it does is

Read the source file meta ( specifically size )Divides the file size into 8 equal groupsGenerates goroutines for each group  for copying


The code is so self-explanatory. Still, if you find any problem to understand leave a comment 👇.

😀