<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Posts on nullbay.dev - Rafal Wachol's Blog</title><link>https://nullbay.dev/posts/</link><description>Recent content in Posts on nullbay.dev - Rafal Wachol's Blog</description><generator>Hugo -- 0.155.3</generator><language>en-us</language><lastBuildDate>Sun, 13 Jul 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://nullbay.dev/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>How to use Dart Embedder API in C++</title><link>https://nullbay.dev/posts/dart-embedding-api/</link><pubDate>Sun, 13 Jul 2025 00:00:00 +0000</pubDate><guid>https://nullbay.dev/posts/dart-embedding-api/</guid><description>&lt;p&gt;Photo by
&lt;a href="https://unsplash.com/@javaistan?utm_content=creditCopyText&amp;amp;utm_medium=referral&amp;amp;utm_source=unsplash"&gt;Afif Ramdhasuma&lt;/a&gt;
on
&lt;a href="https://unsplash.com/photos/red-and-black-round-metal-jl4BQJs87Do?utm_content=creditCopyText&amp;amp;utm_medium=referral&amp;amp;utm_source=unsplash"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Embedding Dart into a native C++ application enables you to run Dart code
alongside your native logic, combining the power of Dart’s language features and
package ecosystem with the performance and system access of C++. This post
guides you step-by-step from setting up the project to running Dart code,
calling native functions, marshaling data, and managing isolates with message
passing.&lt;/p&gt;
&lt;p&gt;This guide also assumes that you compiled dart-sdk by yourself as described in
&lt;a href="https://nullbay.dev/posts/dart-shared-lib-jit/"&gt;previous post&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Compiling Dart SDK to a Shared Library (JIT mode)</title><link>https://nullbay.dev/posts/dart-shared-lib-jit/</link><pubDate>Thu, 10 Jul 2025 00:00:00 +0000</pubDate><guid>https://nullbay.dev/posts/dart-shared-lib-jit/</guid><description>&lt;p&gt;If you&amp;rsquo;re working on integrating Dart into another system—like a native mobile
app, an embedded environment, or a game engine—you might need Dart compiled as a
shared library. While Dart doesn’t officially distribute its engine as a shared
object, it is possible to build one yourself.&lt;/p&gt;
&lt;p&gt;In this guide, we&amp;rsquo;ll walk through the steps to build the Dart SDK as a shared
library (&lt;code&gt;.dylib&lt;/code&gt;, &lt;code&gt;.so&lt;/code&gt;, or &lt;code&gt;.dll&lt;/code&gt;, depending on your platform). We will
compile Dart SDK to Shared Library for JIT mode.&lt;/p&gt;</description></item><item><title>Using Flutter Method Channels on Linux</title><link>https://nullbay.dev/posts/flutter-linux-method-channels/</link><pubDate>Wed, 22 Sep 2021 00:07:31 +0100</pubDate><guid>https://nullbay.dev/posts/flutter-linux-method-channels/</guid><description>&lt;p&gt;Photo by &lt;a href="https://unsplash.com/@pausayrol?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Pau Sayrol&lt;/a&gt; on &lt;a href="https://unsplash.com/?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hello again! Today I will continue my Flutter Linux journey and we will touch Linux integration again. &lt;a href="https://nullbay.dev/posts/flutter-linux-plugin-development-setup/"&gt;Last time&lt;/a&gt; we managed to setup Visual Studio Code for plugin development, today we will take a closer look at &lt;a href="https://flutter.dev/docs/development/platform-integration/platform-channels"&gt;Method Channels&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you want to create a plugin with Method Channel support it&amp;rsquo;s quite easy, just generate a Flutter project from template using &lt;code&gt;flutter create -t plugin --platforms=linux &amp;lt;name of your project&amp;gt;&lt;/code&gt;. However, what if you don&amp;rsquo;t want to create a separate plugin and just add some custom code to your Flutter Linux application?
I&amp;rsquo;ve found out it&amp;rsquo;s not straightforward so I thought that I will write this article so you won&amp;rsquo;t have to figure it out by yourself.&lt;/p&gt;</description></item><item><title>Flutter Linux Plugin Development Setup</title><link>https://nullbay.dev/posts/flutter-linux-plugin-development-setup/</link><pubDate>Thu, 03 Jun 2021 00:07:31 +0100</pubDate><guid>https://nullbay.dev/posts/flutter-linux-plugin-development-setup/</guid><description>&lt;p&gt;This post was also posted to &lt;a href="https://medium.com/flutter-community/flutter-linux-plugin-development-setup-e30f504baadd"&gt;Flutter Community Medium&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks to Flutter support for the Linux desktop, we can now expect more beautiful apps for this great platform. However, when you want to write a custom plugin to expand your app&amp;rsquo;s functionality, you need to write some C code. I haven’t found instructions on how to do that anywhere, so here is how to set up Visual Studio Code to develop and debug Flutter plugins for Linux.&lt;/p&gt;</description></item><item><title>Hello World</title><link>https://nullbay.dev/posts/hello-world/</link><pubDate>Wed, 02 Jun 2021 23:59:34 +0100</pubDate><guid>https://nullbay.dev/posts/hello-world/</guid><description>&lt;p&gt;Welcome to my blog. I plan to upload posts about problems encountered while developing apps.&lt;/p&gt;
&lt;p&gt;Hope you will find answers to your problems too.&lt;/p&gt;</description></item></channel></rss>