<?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: Edwin Miguel Abreu Cruz</title>
    <description>The latest articles on DEV Community by Edwin Miguel Abreu Cruz (@codepro47).</description>
    <link>https://dev.to/codepro47</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4275249%2F8a6b8921-6378-481b-9e62-8a5e2a09d829.jpg</url>
      <title>DEV Community: Edwin Miguel Abreu Cruz</title>
      <link>https://dev.to/codepro47</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codepro47"/>
    <language>en</language>
    <item>
      <title>Building FlowPDF: A Multi-Language Document Engine Powered by Rust</title>
      <dc:creator>Edwin Miguel Abreu Cruz</dc:creator>
      <pubDate>Tue, 01 Dec 2026 00:51:31 +0000</pubDate>
      <link>https://dev.to/codepro47/building-flowpdf-a-multi-language-document-engine-powered-by-rust-4h97</link>
      <guid>https://dev.to/codepro47/building-flowpdf-a-multi-language-document-engine-powered-by-rust-4h97</guid>
      <description>&lt;p&gt;What if you could build a document generation engine once and make it available across multiple programming languages?&lt;/p&gt;

&lt;p&gt;That is one of the ideas behind &lt;strong&gt;FlowPDF&lt;/strong&gt;, an open-source document generation and processing project built around a shared core written in Rust.&lt;/p&gt;

&lt;p&gt;We started working on FlowPDF with an architectural goal: maintain a single document engine while making its capabilities accessible to developers working with different programming languages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why build a document engine with Rust?&lt;/strong&gt;&lt;br&gt;
Document generation is more complex than simply writing content into a PDF file.&lt;/p&gt;

&lt;p&gt;It involves layout calculations, positioning, text rendering, font handling, graphics, pagination, and binary output processing.&lt;/p&gt;

&lt;p&gt;We chose Rust as the foundation of FlowPDF because we wanted a shared native core that could serve multiple language ecosystems.&lt;/p&gt;

&lt;p&gt;Rather than maintaining five independent implementations, our approach is to develop the engine once and expose it through language-specific SDKs.&lt;/p&gt;

&lt;h2&gt;
  
  
  One core, five ecosystems
&lt;/h2&gt;

&lt;p&gt;FlowPDF currently provides integrations for five programming ecosystems:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Ecosystem&lt;/th&gt;
&lt;th&gt;Distribution&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;C# / .NET&lt;/td&gt;
&lt;td&gt;NuGet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Python&lt;/td&gt;
&lt;td&gt;PyPI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Java&lt;/td&gt;
&lt;td&gt;Maven Central&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;JavaScript / TypeScript&lt;/td&gt;
&lt;td&gt;npm&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rust&lt;/td&gt;
&lt;td&gt;crates.io&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The important architectural decision is that these integrations share the same Rust core.&lt;/p&gt;

&lt;p&gt;This allows us to centralize the engine's implementation while providing language-specific interfaces for developers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What can FlowPDF do?
&lt;/h2&gt;

&lt;p&gt;FlowPDF focuses on document generation and processing.&lt;/p&gt;

&lt;p&gt;Some of its capabilities include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PDF document generation.&lt;/li&gt;
&lt;li&gt;Word and Excel export.&lt;/li&gt;
&lt;li&gt;Tables and structured document layouts.&lt;/li&gt;
&lt;li&gt;Vector charts.&lt;/li&gt;
&lt;li&gt;Custom TTF font support.&lt;/li&gt;
&lt;li&gt;PDF content and metadata extraction.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our objective is to provide developers with a consistent document-generation foundation that can be used across different technology stacks.&lt;/p&gt;

&lt;h2&gt;
  
  
  The interesting part: cross-language interoperability
&lt;/h2&gt;

&lt;p&gt;Building a shared engine is only part of the challenge.&lt;/p&gt;

&lt;p&gt;The other part is making it accessible from different programming languages without losing the characteristics developers expect from their respective ecosystems.&lt;/p&gt;

&lt;p&gt;Some of the engineering challenges involved in this approach include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Native interoperability.&lt;/li&gt;
&lt;li&gt;Memory ownership and data conversion.&lt;/li&gt;
&lt;li&gt;Error handling across language boundaries.&lt;/li&gt;
&lt;li&gt;Platform-specific packaging.&lt;/li&gt;
&lt;li&gt;SDK API design.&lt;/li&gt;
&lt;li&gt;Consistency between language integrations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each ecosystem introduces different expectations and technical constraints.&lt;/p&gt;

&lt;p&gt;For example, a good C# API should feel natural to .NET developers, while a Python SDK should follow Python conventions.&lt;/p&gt;

&lt;p&gt;The shared engine should not force every language to adopt the same programming style.&lt;/p&gt;

&lt;h2&gt;
  
  
  What about performance?
&lt;/h2&gt;

&lt;p&gt;We have conducted internal benchmarks comparing FlowPDF with QuestPDF.&lt;/p&gt;

&lt;p&gt;Our tests were conducted using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;.NET 10.&lt;/li&gt;
&lt;li&gt;Windows x64.&lt;/li&gt;
&lt;li&gt;Release configuration.&lt;/li&gt;
&lt;li&gt;Invoice and document-generation scenarios.&lt;/li&gt;
&lt;li&gt;Native Rust execution and execution with C# post-processing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The results showed significant differences across the tested scenarios.&lt;/p&gt;

&lt;p&gt;However, these are internal .NET benchmark results. They should not be interpreted as performance measurements for Python, Java, or Node.js.&lt;/p&gt;

&lt;p&gt;We believe that reproducible benchmarks, transparent methodology, and independent evaluations are essential when comparing document-generation engines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why open source?
&lt;/h2&gt;

&lt;p&gt;FlowPDF is free and open source.&lt;/p&gt;

&lt;p&gt;We want developers to be able to inspect the implementation, experiment with the SDKs, report issues, suggest improvements, and contribute to the project.&lt;/p&gt;

&lt;p&gt;We are particularly interested in feedback from developers who have experience with native libraries, document-generation systems, and multi-language software architectures.&lt;/p&gt;

&lt;h2&gt;
  
  
  Explore FlowPDF
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub repository:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://github.com/CodePro47RD/FlowPDF" rel="noopener noreferrer"&gt;https://github.com/CodePro47RD/FlowPDF&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://codepro47rd-github-io.translate.goog/FlowPDF/?_x_tr_sl=es&amp;amp;_x_tr_tl=en&amp;amp;_x_tr_hl=es-419" rel="noopener noreferrer"&gt;https://codepro47rd-github-io.translate.goog/FlowPDF/?_x_tr_sl=es&amp;amp;_x_tr_tl=en&amp;amp;_x_tr_hl=es-419&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Package ecosystems:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;NuGet: &lt;a href="https://www.nuget.org/" rel="noopener noreferrer"&gt;https://www.nuget.org/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/flowpdf/" rel="noopener noreferrer"&gt;https://pypi.org/project/flowpdf/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Maven Central: &lt;a href="https://central.sonatype.com/artifact/io.github.codepro47rd/flowpdf" rel="noopener noreferrer"&gt;https://central.sonatype.com/artifact/io.github.codepro47rd/flowpdf&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;npm: &lt;a href="https://www.npmjs.com/package/flowpdf" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/flowpdf&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;crates.io: &lt;a href="https://crates.io/crates/flowpdf" rel="noopener noreferrer"&gt;https://crates.io/crates/flowpdf&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Project developers
&lt;/h2&gt;

&lt;p&gt;FlowPDF is developed by:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Edwin Miguel Abreu Cruz&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://edwin.cpro47.com" rel="noopener noreferrer"&gt;https://edwin.cpro47.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Felix R. Benzan&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://www.felixbenzan.com.do" rel="noopener noreferrer"&gt;https://www.felixbenzan.com.do&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  We'd like your feedback
&lt;/h2&gt;

&lt;p&gt;We are interested in hearing from developers who have built native libraries or multi-language SDKs.&lt;/p&gt;

&lt;p&gt;A few questions we would love to discuss:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What are the biggest challenges when maintaining one native core across multiple programming languages?&lt;/li&gt;
&lt;li&gt;How would you approach API consistency while preserving the conventions of each ecosystem?&lt;/li&gt;
&lt;li&gt;What would you consider essential before adopting a Rust-powered document engine in production?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We are building FlowPDF in the open and would appreciate technical feedback from the developer community.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub contributions, bug reports, and technical discussions are welcome.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>opensource</category>
      <category>programming</category>
      <category>rust</category>
    </item>
  </channel>
</rss>
