<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by vigneash sundar on Medium]]></title>
        <description><![CDATA[Stories by vigneash sundar on Medium]]></description>
        <link>https://medium.com/@vigneashsundar?source=rss-4aef9a8241f7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*7XU2hdk8HYk12cRv.jpeg</url>
            <title>Stories by vigneash sundar on Medium</title>
            <link>https://medium.com/@vigneashsundar?source=rss-4aef9a8241f7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 00:17:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vigneashsundar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Getting started with Flutter — Part 1, how it works?]]></title>
            <link>https://medium.com/@vigneashsundar/getting-started-with-flutter-part-1-how-it-works-d4924c89a598?source=rss-4aef9a8241f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4924c89a598</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[native-app]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[vigneash sundar]]></dc:creator>
            <pubDate>Sat, 08 Dec 2018 09:57:33 GMT</pubDate>
            <atom:updated>2018-12-08T09:57:33.081Z</atom:updated>
            <content:encoded><![CDATA[<h3>Getting started with Flutter — Part 1, how it works?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dnH9jqNuMJeeo1NXTI7eXw.jpeg" /></figure><p>Flutter is the latest arsenal from google which directly competes with react native. well !!, can we even compare react native with Flutter ? Is this even a competition to the vast react native community ? or can a flutter app even be pushed onto production like react native? By the end of this article we should have got our answers straight.</p><p>So, I was completely reluctant to learn dart language. I don’t know, probably because there was never a need for me to learn dart, as there was nothing interesting for me to play around. In fact learning rust was more important to me over learning dart. But I never knew that a single presentation of Flutter 1.0 would change my bucket list forever. Yep, now dart has entered into my top 5 programming languages. Reason is obviously Flutter, this super amazing framework which we can use to build native mobile application for almost any device.</p><h3><strong>Flutter:</strong></h3><p>Flutter can be considered as a high performance react style application development environment. I would say Flutter acts more like a game engine than an application development engine. Let’s think for a minute, why does a non native application suffer performance issues ?</p><blockquote>yep, because of UI. All those fancy graphics going through layers of call stack before rendering onto the screen.</blockquote><p>This where Flutter handles the issue very differently, instead of using CPU to render UI, Flutter uses GPU in your phone to render UI over a SKIA canvas, on a frame rate of 60 FPS. While the dart code runs on a dart vm on a different thread on CPU. If there is any state change in the application, UI re-rendering happens in the GPU resulting in a smooth UI render.</p><p>Here is the GPU pipeline from flutter architecture presentation,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*XuEcY1l9s0bILS3wgyf2Ag.png" /><figcaption>Flutter System Presentation</figcaption></figure><p>Let’s try to understand what really happens in UI Thread and GPU Thread.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*lzel5PzlnBLAlYZH2P4XFA.png" /><figcaption>UI Rendering pipeline</figcaption></figure><h3>UI Thread</h3><p>On every <strong>Vsync</strong> cycle, dart code in dart vm running on CPU checks for any change on animation that needs to be rendered, any state changes, layout changes to be updated on next refresh cycle to GPU.</p><p>Based on the changes it creates a layer tree to be rendered and send this to GPU.</p><h3>GPU Thread</h3><p>Now, using given rendering tree SKIA canvas renders the UI with the help of GPU thus giving out a smooth rendering.</p><p>Well this doesn’t end here, this rendering has to closely match with UI of the native platform rite, so all we need to do is create themes that match closely to the given native platform. That’s it!.</p><p>This is how Flutter works on a low level. Hope this helps in getting an idea of what flutter is, so coming back to our question. can flutter even be a comparison to react native?</p><h3>Conclusion</h3><p>Absolutely we can compare flutter with react native. React native uses native UI coupled with javascript vm, where flutter uses rendered UI coupled with dart vm. I think flutter does native handling better than react native, as most of the code is compiled ahead of time, we get to have many optimization on speed of the application. So, yes flutter can absolutely be used in a production level application, in-fact I have already lined up my app development queue on to flutter. Its super crazy to create concept to code in just matter of hours.</p><p>Flutter is here to stay, in-fact it could even rule the native application creation market :)</p><p>PS: I am writing this article after a hectic day at morning 4:00 AM without any sleep, do point out grammar errors. I have made my best in looking out for red lines.</p><p>References:</p><p>Flutter architecture -<a href="https://docs.google.com/presentation/d/1cw7A4HbvM_Abv320rVgPVGiUP2msVs7tfGbkgdrTy0I/edit#slide=id.gbb3c3233b_0_213">https://docs.google.com/presentation/d/1cw7A4HbvM_Abv320rVgPVGiUP2msVs7tfGbkgdrTy0I/edit#slide=id.gbb3c3233b_0_213</a></p><p>Great article by Adam — <a href="https://buildflutter.com/how-flutter-works/">https://buildflutter.com/how-flutter-works/</a></p><p>Flutter Documentation — <a href="https://flutter.io/docs">https://flutter.io/docs</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4924c89a598" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Node.JS (Intro)]]></title>
            <link>https://medium.com/@vigneashsundar/node-js-intro-51fae5cbe131?source=rss-4aef9a8241f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/51fae5cbe131</guid>
            <category><![CDATA[node]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[vigneash sundar]]></dc:creator>
            <pubDate>Sat, 18 Apr 2015 08:27:31 GMT</pubDate>
            <atom:updated>2015-04-18T08:27:31.377Z</atom:updated>
            <content:encoded><![CDATA[<p>Hearing this buzz word all way around you in IOT space and small scale VPS’s ?? Okay ! now you got its name properly, WAIT , what’s that ? how could a JavaScript run in a server ? isn&#39;t JavaScript meant to be running inside a browser?? Oops did it find a way to exit browser’s clutch ?</p><p>Node.JS is not totally JavaScript on the whole, Node.JS is a kind of symbiot (spiderman 1 game fan). It co-exists with C and JavaScript Virtual machine.</p><p>Node.JS is based on Google V8 high performing JavaScript engine. V8 is the very same JavaScript engine which powers Google Chrome. It is possible to get runtime values and variables from V8 engine using C code. This means that one can share variable and function data between a C code and a code written in JavaScript.</p><p>Using above people at Joyent created a server side code in C and which would have custom defined API , which can be programmed and used in JavaScript. Like the shell thing which pops up when you type node and press enter in a node.JS configured machine. That’s the UI (CLI) to be programmed in JavaScript and backend has lots of C code for making the server to run. Here is an architecture image of Node.JS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*fmfok0Vp03iahY1TERVFLg.png" /><figcaption>Node.JS architecture</figcaption></figure><p>As we can see, C implementations are done for threading and other event loops. Okay ! , so now you started wondering in which “I” should program ?</p><p>You need to code in JavaScript , all times u don’t need to touch the C part. provided if you really want to make some real good implementations and you are requiring a native module of you’re code.</p><p>That’s it, you would have got a basics of how Node.JS works and some buzz words around it. Next post I would write about concepts of Node.JS</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51fae5cbe131" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>