<?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: Techy Sneha</title>
    <description>The latest articles on DEV Community by Techy Sneha (@techysneha).</description>
    <link>https://dev.to/techysneha</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%2F4283536%2F258070a9-ae12-4963-8621-04ab6a64798d.png</url>
      <title>DEV Community: Techy Sneha</title>
      <link>https://dev.to/techysneha</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/techysneha"/>
    <language>en</language>
    <item>
      <title>What Does No JVM Mean for PySpark Developers?</title>
      <dc:creator>Techy Sneha</dc:creator>
      <pubDate>Fri, 04 Dec 2026 20:46:12 +0000</pubDate>
      <link>https://dev.to/techysneha/what-does-no-jvm-mean-for-pyspark-developers-2b92</link>
      <guid>https://dev.to/techysneha/what-does-no-jvm-mean-for-pyspark-developers-2b92</guid>
      <description>&lt;p&gt;Understanding JVM-free data processing and how Rust-native query engines are changing the developer experience.&lt;/p&gt;

&lt;p&gt;If you work with big data, you have probably heard about Apache Spark.&lt;/p&gt;

&lt;p&gt;Spark is widely used for distributed data processing, SQL queries and large-scale analytics. However, developers exploring Spark-based workflows may also want to understand the role of the Java Virtual Machine (JVM) in their data-processing setup.&lt;/p&gt;

&lt;p&gt;What if you could use a familiar Spark-style API without requiring a JVM in your Python process?&lt;/p&gt;

&lt;p&gt;Let’s explore what this means and how Rust-native query engines approach the problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.What is the JVM?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Java Virtual Machine (JVM) is the runtime environment that executes Java bytecode.&lt;/p&gt;

&lt;p&gt;Apache Spark is primarily implemented in Scala and runs on the JVM. When Python developers use PySpark, Python communicates with Spark’s JVM-based components through its integration layer.&lt;/p&gt;

&lt;p&gt;This architecture is powerful, but it also means that setting up a traditional Spark environment can involve additional runtime and configuration requirements.&lt;/p&gt;

&lt;p&gt;For developers building smaller applications, prototypes or embedded data-processing workflows, those requirements may be worth evaluating.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Why are developers exploring JVM-free alternatives?&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Not every data-processing application needs a distributed cluster.&lt;/p&gt;

&lt;p&gt;Some developers want to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run SQL queries directly inside a Python application.&lt;/li&gt;
&lt;li&gt;Process Parquet files without starting a separate cluster.&lt;/li&gt;
&lt;li&gt;Reduce infrastructure setup.&lt;/li&gt;
&lt;li&gt;Integrate data processing into an existing application.&lt;/li&gt;
&lt;li&gt;Use familiar DataFrame programming patterns.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This has created interest in embedded query engines and native data-processing technologies.&lt;/p&gt;

&lt;p&gt;However, JVM-free does not automatically mean faster or better. The right choice depends on workload size, compatibility, memory requirements and deployment needs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;What is a Rust-native query engine?&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rust is a systems programming language designed with performance and memory safety in mind.&lt;/p&gt;

&lt;p&gt;A Rust-native query engine implements its query-processing functionality in Rust rather than relying on a JVM-based execution engine.&lt;/p&gt;

&lt;p&gt;One important technology in this ecosystem is Apache Arrow.&lt;/p&gt;

&lt;p&gt;Apache Arrow provides a columnar memory format that helps different data-processing tools exchange data efficiently.&lt;/p&gt;

&lt;p&gt;For example, Arrow can help connect data-processing workflows with tools such as pandas, Polars and PyArrow.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Introducing Krishiv Engine&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Krishiv is a Rust-native, Apache Spark-compatible compute engine for batch SQL and DataFrames.&lt;/p&gt;

&lt;p&gt;Krishiv Engine 0.3 provides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python and Rust support.&lt;/li&gt;
&lt;li&gt;Spark-style SQL and DataFrame APIs.&lt;/li&gt;
&lt;li&gt;Embedded execution inside your process.&lt;/li&gt;
&lt;li&gt;Single-node server mode with Spark Connect.&lt;/li&gt;
&lt;li&gt;Arrow-based data interchange.&lt;/li&gt;
&lt;li&gt;Query profiling through EXPLAIN ANALYZE.&lt;/li&gt;
&lt;li&gt;Parquet, CSV and JSON data support.&lt;/li&gt;
&lt;li&gt;Delta Lake read and write support and Iceberg read support.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One of its key characteristics is that it runs without requiring a JVM.&lt;/p&gt;

&lt;p&gt;Developers can install the Python package and start exploring its functionality.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Try a simple example&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can start by installing Krishiv with its PyArrow extra:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;pip install "krishiv[pyarrow]"&lt;br&gt;
Then create a session:&lt;br&gt;
import krishiv&lt;br&gt;
spark = krishiv.session()&lt;br&gt;
result = spark.sql("""&lt;br&gt;
    SELECT 1 AS answer&lt;br&gt;
""")&lt;br&gt;
result.show()&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This example creates an embedded session and runs a simple SQL query.&lt;/p&gt;

&lt;p&gt;You can also explore DataFrame operations and work with Parquet files.&lt;/p&gt;

&lt;p&gt;For more examples, visit the official Krishiv documentation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. When should you evaluate Krishiv?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Krishiv may be worth evaluating if:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You are a Python developer familiar with Spark-style APIs.&lt;/li&gt;
&lt;li&gt;You want to explore embedded batch SQL processing.&lt;/li&gt;
&lt;li&gt;You work with Parquet or other supported data formats.&lt;/li&gt;
&lt;li&gt;You want to integrate a Rust-native engine into your application.&lt;/li&gt;
&lt;li&gt;You want to investigate Spark-compatible processing without a JVM.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is important to understand the current maturity of the product. Krishiv Engine 0.3 is a developer-stage release. Not every Apache Spark operation is supported, and distributed execution and streaming are planned rather than available in this release.&lt;/p&gt;

&lt;p&gt;Always check the compatibility documentation before migrating an existing Spark workload.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Final thoughts&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The data-engineering ecosystem continues to evolve.&lt;/p&gt;

&lt;p&gt;Apache Spark remains an important technology for distributed data processing, while embedded query engines offer different approaches for application-level analytics and data processing.&lt;/p&gt;

&lt;p&gt;Krishiv brings together a Rust-native execution engine, Spark-compatible SQL and DataFrame interfaces, and embedded execution without a JVM.&lt;/p&gt;

&lt;p&gt;If you are interested in exploring another approach to Spark-style data processing, take a look at Krishiv.&lt;/p&gt;

&lt;p&gt;Explore Krishiv Engine: &lt;a href="https://krishiv.ai/engine" rel="noopener noreferrer"&gt;https://krishiv.ai/engine&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read the documentation: &lt;a href="https://krishiv.ai/docs" rel="noopener noreferrer"&gt;https://krishiv.ai/docs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;p&gt;Disclosure: I am a member of the Krishiv.ai marketing team. This article introduces Krishiv and its current capabilities. Product details reflect the Engine 0.3 documentation.&lt;/p&gt;

</description>
      <category>spark</category>
      <category>data</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
