r/dartlang • • Jul 29 '25

Create package "dart:db"

0 Upvotes

Greetings to the Dart team, today I come with a new proposal for a future long-term implementation. That can wait. Right now, the priority is what was announced in the 2025 Roadmap.

The idea is simple: create a new base API called "dart:db" that provides a series of interfaces that will be implemented to create connectors to different database engines. The idea is to have a construction standard for database connectors, allowing for easier use.

This idea is inspired by the JDK API called JDBC, allowing for similar benefits, such as the generated code being easier to remember and learn for each database engine, being easier to debug, and being easier to generate using artificial intelligence since the implementations will be similar between each database engine.

Something we must assume as a community is to promote the use of interfaces to generate APIs with code with a low level of coupling. This new API follows this design principle. This is important in times when programmers are going to When delegating coding to an LLM, it is necessary to encourage and remind new generations of programmers of these types of practices so they can optimally manage artificial intelligence.

I will show a series of libraries that could be a possible implementation of the "dart:db" API. It is the community's decision to adopt these over time, so the community will have greater strength within the ecosystem. The libraries are:

SQL

No SQL

Wide-Column

Document

Key-Value

Cache

As you can see, there is a wide variety of database engines on the market. There are many more options that exist on the market that I know exist. If for some reason this is approved, I would start with SQL databases and later include support for the rest of the engines according to the category to which they belong. You can consult these categories at the following link:

Thanks to this, it will be possible for the Dart language to be much more competitive in the Data and Artificial Intelligence industries. Everything will come step by step. With this already implemented, Google will be able to offer cloud services in the Data area using the Dart language as a real alternative to Python or R and thus position ourselves in other industries and gain more users and popularity.

Something additional that I would like to comment is that NVIDIA is investing to make CUDA compatible with processors with RISC-V architecture. This is good news, because Dart language has already supported that architecture for a long time. If in the future the Data industry adopts that architecture, we will be ready to enter that market.


r/dartlang • • Mar 15 '25

Exciting News for the Dart Community – Our Open-Source Products are Now Live!

0 Upvotes

Hello Dart enthusiasts!

We’re thrilled to share that after months of hard work, our suite of open-source server-side Dart products is now officially launched! We’ve been using Dart in many of our projects and, inspired by the innovation in the ecosystem, we set out to build tools that empower developers like you.

What’s New?

  • Robust Server-Side Solutions: Our open-source projects are designed to push the boundaries of server-side development using Dart. Whether you’re developing microservices, APIs, or full-scale applications, our products are built to help you build more efficiently and securely.

  • Ongoing Releases: And this is just the beginning – we have a series of exciting releases lined up for the coming weeks. Expect new features, improved integrations, and even more tools to enhance your Dart development experience.

  • Community-Driven: We’re committed to fostering innovation within the Dart community. Your feedback, ideas, and contributions have been invaluable, and we can’t wait to see how our products help you build incredible projects.

Our Vision:
We believe in the power of open source to drive progress. Our mission is to support dedicated developers and teams pushing the envelope in server-side Dart development. We’re here to offer financial support, technical resources, and an engaged community ready to collaborate.

Thank you for being part of this journey. Stay tuned for more updates, and feel free to check out our GitHub repositories and join the discussion on how we can shape the future of Dart together.

Let’s build something amazing!

Aortem.io


r/dartlang • • Nov 07 '21

Dart Language Here is how you can split a string by a given length in Dart

Post image
7 Upvotes

r/dartlang • • Nov 17 '21

Dart Language FlatMap in Dart

Post image
10 Upvotes

r/dartlang • • Jan 13 '19

Eliminate the need for semicolons (;) at the end of every line of code

1 Upvotes

Thoughts?

Keep the braces for blocks of code, but getting rid of the semicolons would be nice.


r/dartlang • • Jun 17 '14

Bad Luck Brian wants to learn Dart

Thumbnail
livememe.com
2 Upvotes

r/dartlang • • 19d ago

Tools My Dart backend framework is now 5× faster than dart:io's HttpServer

4 Upvotes

A few years ago, I tried Flutter for mobile development and really enjoyed writing Dart.

Since I mainly work on the backend, I started looking for a good backend framework written in Dart, but couldn't find one that suited my needs. So, I decided to build my own framework called DartOnDox (Dox).

But I found Dart wasn't fast enough for my backend framework, and it used too much memory and CPU. Eventually, I stopped working on it.

Fast forward to today. With AI getting so good, I decided to revisit the project and give it another shot.

This time, I rewrote the HTTP server in Rust, and the results surprised me. Dox is now 5× faster than Dart's HttpServer, close to Rust, and 2.7× faster than Go in my benchmarks.

Curious about the numbers? Here's how I run the benchmarks:
https://dartondox.dev/latest/digging-deeper/performance/#benchmark


r/dartlang • • May 08 '23

Why there isn't a client for Cassandra DB

0 Upvotes

We invested in using Dart as fullstack programming language as we like Flutter too much to be ignored but as far as server side libraries are concerned Dart community lacks many of utility and functional artefacts compared to say NodeJS or Golang.

Does anybody know a working Cassandra DB client written in Dart ?

I found the "cassandart" which is old and is NOT actively maintained to comply with latest wire protocol changes and other features with latest version of DB.


r/dartlang • • Dec 02 '14

TIL: "Dart" would've almost made it into the Netscape Browser...

0 Upvotes

I was watching the video Douglas Crockford: "The JavaScript Programming Language"/1 of 4

and learned that there was a fight between Sun and Netscape and that Sun wanted Netscape to use the real Java in their new browser, but Netscape didn't think it was a good idea and tricked/appeased Sun by renaming their scripting language from LiveScript into JavaScript...

Just imagine how awesome web development would've been if Sun had won...

All that fight about Dart or TypeScript or Angular script or Flow would've been moot.

I love Dart but I do think one language to rule them all would be more efficent. (See also: Java for Everything )


r/dartlang • • Sep 01 '21

Hashable Mixins in Dart

Post image
28 Upvotes

r/dartlang • • Aug 13 '20

Dart Language Why so many things about Dart are so complicated

0 Upvotes

Why instead of

myList.map( (val, index) {} )

I have to use

myList.asMap().entries.map((entry) { int idx = entry.key; } )

Let me spend a month with this language to make some random aside project and I ensure you after a 2-3 months of break I will forget everything because of this meaningless chaining of methods.

Dart is a modern language made in 2011


r/dartlang • • Apr 20 '24

Dart Language Rant: .toJson, .fromJson don't know JSON

4 Upvotes

I think there should be a new term, JavaScript Object Model, or JSOM.

Also .toJson should be called .toJsom and .fromJson should be .fromJsom.

Here's why...

If you want to override .toJson and/or . fromJson, you are not actually dealing with JSON strings, but with simplified data like Maps, Lists, Strings, int, bool, or null. In other words, you can't do this:

factory MyClass.fromJson(String json) {/*...*/}

...or this:

String json = myObject.toJson();

Instead, you use an intermediate data structure like a Map<String, dynamic>. But that is no longer a JSON string (remember the "notation" part that the N stands for). It's JSOM where the m stands for model.

I know my ideas are often "out there", but this one seems obvious. Or am I out to lunch?

End rant.


r/dartlang • • Dec 15 '20

Help Need Help installing Dart SDK, please look at the shared screenshots.

Thumbnail
gallery
1 Upvotes

r/dartlang • • Aug 31 '23

Dart Programming list collection tips & tricks

Thumbnail
dottutorials.net
1 Upvotes

r/dartlang • • Feb 07 '22

Too many breaking changes

0 Upvotes

I was really excited about Dart, but the breaking changes have changed my mind. I mean a breaking change in a language every few months is way out of control, right? Posting in hopes the Dart devs monitor this sub.


r/dartlang • • Nov 24 '20

flutter Startup seeking good flutter developer

0 Upvotes

Carbonara is an early-stage, high-growth startup on a mission to create a simple, easy, and organized way for popular restaurants to manage waiting guests. Built by former restaurant operators and restaurant software developers, our technology modernizes and streamlines the casual dining experience while allowing restaurants to focus on creating an exceptional experience for their diners.

Job Functions

  • Takeover development of 1-2 mobile apps written in Flutter. At first, this candidate will own both projects and then will focus as the team grows

  • Work on the development of a platform as part of an international project.

  • Writing automated unit tests

  • Collaborating closely with the teams of UX/UI designers, PMs, QAs, and other developers

  • Set up CI/CD for Flutter project

Minimum requirements include:

  • 5+ years of experience in iOS or Android Development

  • Experience in Developing cross-platform mobile applications for Android (Java/Kotlin) & iOS (Swift/Objective C), or other cross platform frameworks like React Native or Xamarin.

  • Minimum 1-year experience with Flutter or significant project developed using Flutter - we will ask you to show and tell this

  • Understanding and experience with CI/CD

  • Experience with threading, and performance tuning

  • Strong understanding of the full mobile development lifecycle

  • Good understanding of Xcode, Android Studio and VSCode.

  • An understanding of Material Design and Cupertino, rich motion APIs, smooth natural scrolling, and platform awareness for flutter.

  • Solid understanding of best practices in mobile UX design and experience working with UX designers a must

  • Effective English written and verbal communication skills

Ideally, you also:

  • Have already worked in a tech role where your decisions were of great importance

  • Have experience leading a tech team

  • Are certain that you can recruit people via your existing network to join our team

What we can offer:

  • A competitive salary and shares in the company

  • Opportunity to build and work on a product that is already in use and will be used by millions of people

  • Dynamic and flexible working conditions

  • An international, friendly and highly motivated team

About Us

We’re a small and motivated team of expats living in Oslo, Norway. Our founder is an American who built a prior restaurant software startup and has vast experience building teams and raising investment.

We work hard, often late hours, but we believe in work-life balance, and we make sure to get away from our screens and take a walk from time to time. We are an international team building an international company, and we know it takes all types to build a great organization.

CarbonaraApp.com

Are you interested?

Please send your CV and a brief note as to why you think you’d be a good fit for the role to [email protected] . Bonus points if you tell us your favorite restaurant and why you like it


r/dartlang • • Feb 10 '23

Dart Language toSet() vs Set.of()

0 Upvotes

Hey everyone!

Just started getting back to Dart after a long hiatus and am solving problems with the help of ChatGPT. Now I encountered a dilemma between using the method toSet() vs Set.of(). Is there really a difference between them?

The documentation states that both methods are used to create new sets from lists. ChatGPT is sure however that using toSet() does not create a new set and just imitates a view of a set. Pretty sure that it's incorrect as it's not stated in the docs, but i'm asking here to be 100% sure.


r/dartlang • • May 08 '24

Dart is underutilized in web backend development, so I built a minimalist framework and called it Wailuku. Check it out.

Thumbnail
github.com
0 Upvotes

Reasons to use Dart on the server

Robust Community and Support: Dart boasts a thriving community and extensive support through documentation and third-party packages.

Excellent Package Manager: Dart's package manager, Pub, provides a vast array of libraries and tools, facilitating integration with databases, authentication services, and more.

Firebase and ORM Integration: Dart's compatibility with Firebase and various ORM tools makes it an excellent choice for developing complex applications.

Underutilized on the Server Side: While Dart is popular for client-side development, especially with Flutter, its potential on the server side remains largely untapped. Wailuku aims to bridge this gap, demonstrating Dart's capabilities beyond mobile and frontend development.


r/dartlang • • Sep 16 '21

My first mobile app - try it out

Thumbnail
play.google.com
2 Upvotes

r/dartlang • • Jan 09 '21

Firebase The Most Popular Programming Languages - 1965/2020 - New update - Statistics and Data

Thumbnail
statisticsanddata.org
2 Upvotes

r/dartlang • • May 12 '23

flutter (Not just) yet another package for Dart/Flutter developers.

4 Upvotes

Recently, there's been a newly released, fast and minimalistic Dart HTTP client library - Unwired ⚡ v0.8.0

Unwired is open-sourced, unopinionated library and is accepting contributions from the Dart + Flutter community 💙

Flutter does not have out-of-the-box support for cancellable requests, and I never really liked the bloated Dio library. Using features like cancellation and interceptors is not so straightforward with Dio, defeating the purpose of writing a library in the first place.

Unwired is easy to use;
- supports cancellable HTTP requests out-of-the-box;
- includes a managed [optional] auth;
- has extendable support for multithreaded parsing.

The library is in beta and is looking for contributors before we launch the stable v1.0.0. You can start contributing here - https://github.com/Ayush-Suman/unwired

pub - https://pub.dev/packages/unwired

#flutter #flutterdev #dart #opensource #community


r/dartlang • • Dec 26 '21

Help Dart: Error while creating bloc - "Tried to read a provider that threw during the creation of its value. " I can even pay for solution

1 Upvotes

Full question: https://stackoverflow.com/questions/70447298/dart-error-while-creating-bloc-tried-to-read-a-provider-that-threw-during-th
My whole code: https://github.com/danPyk/clean_architecture

I can pay for help, cause I'm too annoyed to did not solve this, we can get along in dm.


r/dartlang • • Mar 08 '15

Is Google Dart dead?

0 Upvotes

is it a good idea to learn Google's Dart if I have a web application idea? ( I am not a programmer )


r/dartlang • • Nov 29 '22

What Does Altogic Offer? Why Do You Need It? What are the Differences?

0 Upvotes

Hi! It’s Mehmet from Altogic Team.

I came across some questions in Flutter communities: “Why should I use Altogic?”, “Why should we pick this instead of X?” “or other BaaS alternatives?”

These questions alert me that the Flutter Community needs more understanding of Altogic.

In this article, instead of explaining Altogic for a long, I would like to explain why you should switch to Altogic briefly.

Medium Blog Post