frameless VS lantern

Compare frameless vs lantern and see what are their differences.

lantern

PostgreSQL vector database extension for building AI applications (by lanterndata)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
frameless lantern
9 5
869 646
-0.1% 14.1%
8.1 9.6
5 days ago 6 days ago
Scala C
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

frameless

Posts with mentions or reviews of frameless. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-22.
  • for comprehension and some questions
    3 projects | /r/scala | 22 Jan 2023
    I don't see how Spark is any "less controversial" when the Spark Delay instance for cats-effect takes an entire SparkSession implicitly.
  • Why use Spark at all?
    2 projects | /r/dataengineering | 19 Oct 2022
    To add to this I lately have used Spark with frameless for compile time safety and it's an interesting library that works well with Spark.
  • Guide for Apache Spark Setup, Job Optimisation, AWS EMR Cluster Configuration, S3, YARN and HDFS Optimisation
    1 project | /r/apachespark | 10 Apr 2021
    For type safety with dataframes, techniques like https://github.com/typelevel/frameless can be used.
  • Spark scala v/s pyspark
    1 project | /r/dataengineering | 24 Feb 2021
    The preferred way to write Spark programs is to use DataFrame API which is untyped and is essentially the same in Scala, C# and Python. It's a DSL that's used to describe AST of the computation and the end result is the same regardless of language. There's a library called Frameless (https://github.com/typelevel/frameless) that implements typed DataFrame API but it is not in wide use, it looked dead for quite some time (though now development seems to continue) and didn't play nice with IntelliJ IDEA last time I checked. Performance-wise there's no difference most of the time (since all the program does is create an AST) except when using UDFs - Python UDFs are significantly slower and you can't write "proper" UDFs in Python - ones that generate Java code.
  • Does anyone here (intentionally) use Scala without an effects library such as Cats or ZIO? Or without going "full Haskell"?
    5 projects | /r/scala | 8 Feb 2021
    Frameless is a nice way to grab some type safety back from Spark, and features opt-in Cats integration.
  • Making the Spark DataFrame composition type safe(r)
    4 projects | /r/apachespark | 4 Feb 2021
    Valid point! Have you seen the withColumnTupled API? It returns a typed tuple instead. This seems to satisfy your use case - the dataset preserves its type and doesn't require a new case class. This is kind of what you're suggesting but without case class generation. Though not sure whether attribute labels (names) are preserved in this case. It's also unclear whether this is good enough for wide tables.
  • Recommendations for specializing in Spark (Scala)
    3 projects | /r/scala | 22 Dec 2020
    I recommend using Frameless, which includes a Cats module. In general, I would encourage you to master “purely” functional programming first, because it’s foundational. Spark is a very specific technology, and probably not even the best in that class today—I would be very careful about trying to build a career around it.

lantern

Posts with mentions or reviews of lantern. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-25.
  • Are we at peak vector database?
    8 projects | news.ycombinator.com | 25 Jan 2024
    Traditional DBs already kinda support vector DBs via pg_vector extensions and such.

    There is a YC startup, latnern, that also built their own extension for postgres that is open source and is better for vector DB use cases: https://github.com/lanterndata/lantern

    But yeah! Traditional DBs already support this, if you consider this extension to be part of Postgres.

  • 90x Faster Than Pgvector – Lantern's HNSW Index Creation Time
    7 projects | news.ycombinator.com | 2 Jan 2024
    This extension is licensed under the Business Source License[0], which makes it incompatible with most DBaaS offerings. The BSL is a closed-source license. Good choice for Lantern, but unusable for everyone else.

    Some Postgres offerings allow you to bring your own extensions, for instance Neon[1], where I work. I tried to look at AWS docs for you, but couldn't find anything about that. I did find Trusted Language Extensions[2], but that seems to be more about writing your own extension. Couldn't find a way to upload arbitrary extensions.

    [0]: https://github.com/lanterndata/lantern/commit/dda7f064ca80af...

  • Show HN: Lantern – a PostgreSQL vector database for building AI applications
    4 projects | news.ycombinator.com | 13 Sep 2023
    Install and use our extension here` https://github.com/lanterndata/lantern

    Features today + Coming soon

What are some alternatives?

When comparing frameless and lantern you can also consider the following projects:

Lantern

vector-search-class-notes - Class notes for the course "Long Term Memory in AI - Vector Search and Databases" COS 597A @ Princeton Fall 2023

spark-excel - A Spark plugin for reading and writing Excel files

usearch - Fast Open-Source Search & Clustering engine × for Vectors & 🔜 Strings × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍

deequ - Deequ is a library built on top of Apache Spark for defining "unit tests for data", which measure data quality in large datasets.

lantern_extras - Routines for generating, manipulating, parsing, importing vector embeddings into Postgres tables

azure-kusto-spark - Apache Spark Connector for Azure Kusto

react-semantic-search

bebe - Filling in the Spark function gaps across APIs

cats-effect - The pure asynchronous runtime for Scala

typeclassopedia - My tinkering to understand the typeclassopedia.

Laminar - Simple, expressive, and safe UI library for Scala.js