<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ניר</title>
    <description>The latest articles on DEV Community by ניר (@nrbnlulu).</description>
    <link>https://dev.to/nrbnlulu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1394177%2F33f384d4-d5b1-4eab-b160-44675bcd847d.jpeg</url>
      <title>DEV Community: ניר</title>
      <link>https://dev.to/nrbnlulu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nrbnlulu"/>
    <language>en</language>
    <item>
      <title>Json + gzip vs messagePack - storage benchmark</title>
      <dc:creator>ניר</dc:creator>
      <pubDate>Mon, 18 Aug 2025 09:10:01 +0000</pubDate>
      <link>https://dev.to/nrbnlulu/json-gzip-vs-messagepack-storage-benchmark-2lgj</link>
      <guid>https://dev.to/nrbnlulu/json-gzip-vs-messagepack-storage-benchmark-2lgj</guid>
      <description>&lt;p&gt;gist here &lt;a href="https://gist.github.com/nrbnlulu/ef0c621c1754f51867750c661b1dcb89" rel="noopener noreferrer"&gt;https://gist.github.com/nrbnlulu/ef0c621c1754f51867750c661b1dcb89&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Results
&lt;/h3&gt;

&lt;p&gt;Gzip compressed JSON file size: 0.006137 MB&lt;br&gt;
Raw Msgpack file size: 0.213828 MB&lt;br&gt;
Gzip compressed Msgpack file size: 0.006373 MB&lt;/p&gt;

&lt;p&gt;--- Comparison in MB ---&lt;br&gt;
Compressing Msgpack with Gzip saves 0.207455 MB.&lt;/p&gt;

&lt;p&gt;--- Overall Space Efficiency ---&lt;br&gt;
The most space-efficient format is 'Gzip JSON' with a size of 0.006137 MB.&lt;/p&gt;

</description>
      <category>json</category>
      <category>messagepack</category>
      <category>python</category>
    </item>
    <item>
      <title>How to contribute to the Flutter engine [Windows]</title>
      <dc:creator>ניר</dc:creator>
      <pubDate>Tue, 29 Apr 2025 05:50:41 +0000</pubDate>
      <link>https://dev.to/nrbnlulu/how-to-contribute-to-the-flutter-engine-windows-11fg</link>
      <guid>https://dev.to/nrbnlulu/how-to-contribute-to-the-flutter-engine-windows-11fg</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Writing this thing because its a pain setting up the repo + the docs are outdated.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;ol&gt;
&lt;li&gt; Make sure that you don’t have any flutter executable in your PATH.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install python3 &lt;code&gt;git&lt;/code&gt; &lt;a href="https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up" rel="noopener noreferrer"&gt;depot_tools&lt;/a&gt; &lt;code&gt;Visual Studio 2017&lt;/code&gt;Windows 10 SDK` (required for non-Googlers only). Make sure to install the “Debugging Tools for Windows” feature.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;git clone &lt;a href="https://github.com/flutter/flutter.git" rel="noopener noreferrer"&gt;https://github.com/flutter/flutter.git&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;cd flutter&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;git remote rename origin upstream&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fork flutter and change the origin to your fork: &lt;code&gt;git remote add origin git@github.com:\&amp;lt;your fork\&amp;gt;/flutter.git&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add flutter/bin to PATH.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6l3gn3x9ffod81mk92vm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6l3gn3x9ffod81mk92vm.png" alt="Image description" width="615" height="580"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;make sure flutter is in your PATH &lt;code&gt;where.exe flutter&lt;/code&gt; you'd might need to restart your terminal&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56ns4h3btlfxtunbyhvm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F56ns4h3btlfxtunbyhvm.png" alt="Image description" width="370" height="82"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Setting up the engine development environment
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt; Add these to your env vars:

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;DEPOT_TOOLS_WIN_TOOLCHAIN=0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;GYP_MSVS_OVERRIDE_PATH=C:\Program Files\Microsoft Visual Studio\2022\Community&lt;/code&gt; (make sure the path is correct)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt; cd flutter/engine&lt;/li&gt;
&lt;li&gt; cp &lt;code&gt;.\scripts\standard.gclient&lt;/code&gt; &lt;code&gt;../.gclient&lt;/code&gt; copy to root folder (before engine)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cd ../&lt;/code&gt; and run &lt;code&gt;gclient sync&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt; Flutter has a tool for building the engine called &lt;code&gt;et&lt;/code&gt;. Add it to PATH: &lt;code&gt;C:\Users\temp\Desktop\flutter\engine\src\flutter\bin&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt; cd into &lt;code&gt;flutter/engine&lt;/code&gt; and run &lt;code&gt;et build&lt;/code&gt; to build the engine. (make sure &lt;code&gt;et&lt;/code&gt; is in your PATH)&lt;/li&gt;
&lt;li&gt; Go make some ☕️ 🕐&lt;/li&gt;
&lt;li&gt; In the mean time, you can configure your VS Code C++ LSP. I suggest that you first disable Dart and Flutter extensions in order to avoid them running commands you don’t want.&lt;/li&gt;
&lt;li&gt; What should be done is:

&lt;ol&gt;
&lt;li&gt; Open Code in &lt;code&gt;flutter/engine&lt;/code&gt; and make sure you have the &lt;code&gt;ms-vscode.cpptools&lt;/code&gt; extension installed.&lt;/li&gt;
&lt;li&gt; Configure VS Code to use &lt;code&gt;compile_commands.json&lt;/code&gt;, which should be in &lt;code&gt;C:\Users\temp\Desktop\flutter\engine\src\out\host_debug&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;


&lt;/li&gt;

&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1lvg8yqz7zt8jzliaiui.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1lvg8yqz7zt8jzliaiui.gif" alt="Image description" width="800" height="218"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;After several years et build should finish successfully, if not, don't start making changes you'd regret that later.&lt;/li&gt;
&lt;li&gt;Implement your patches and create a PR on Flutter.
Remember that Flutter's team requires signed commits…
___
### Running Flutter projects with your custom engine&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;as per flutter docs on GH you should use et run inside your project (as if it was flutter run ) although for some reason it didn't worked for me, so I instead ran the et tool directly like so&lt;br&gt;
&lt;code&gt;&lt;/code&gt;&lt;code&gt;ps&lt;br&gt;
dart C:\Users\temp\Desktop\flutter\engine\src\flutter\tools\engine_tool\bin\et.dart run&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>cpp</category>
      <category>dart</category>
    </item>
  </channel>
</rss>
