top | item 42984070

(no title)

blopker | 1 year ago

Nice work! I'm happy to see the server is in Dart, no Firebase!

I wish the Dart server ecosystem was more mature though. Being able to compile Dart into a static binary is so nice for deployment.

discuss

order

hoppp|1 year ago

I wrote some dart servers years ago, there is a nice framework called aqueduct that makes it very easy and productive.

I stopped using it because I needed to make money and my work was with nodejs.

satvikpendem|1 year ago

Serverpod and Dart Frog are both pretty good backend Dart frameworks, what are you looking for?

blopker|1 year ago

Dart is crazy because it runs on every platform, compiles to native, has real parallelism via isolates, native async, and native type safety.

There's not really a backend that takes advantage of all that. In theory, one server binary could handle REST, web sockets, background workers, and have generated type safe client packages for every platform. Dart also has a great Rust ffi story. It would be great to see that leveraged.

ServerPod is a great start, but it's really Flutter focused. The web apis feel like second class.

Additionally, database management isn't a solved problem yet. ServerPod uses yaml to define models, and the other main option is just a Prisma wrapper. Dart needs something like Drizzle.

desumeku|1 year ago

> I wish the Dart server ecosystem was more mature though. Being able to compile Dart into a static binary is so nice for deployment.

Considering that both are made by Google, I can imagine that they just use Go for everything servers.

igor_st|1 year ago

Agree, Dark is pretty nice, but ecosystem is not mature.