GrowGen | 整

J.Gong

2025-06-23

0.68min

Web Services in 2025

With AI tools getting better, I can now prototype web services in multiple languages in just a few hours.
Since Node.js usually consumes more resources compared to Go or Rust, I’ve also been eyeing Zig—though it still feels a bit too early for production.

Node.js + Drizzle

I used ChatGPT to generate this project, and it was almost perfect out of the box.
You can define your schema directly in code without writing SQL at all.
I haven’t tried Drizzle Kit for migrations yet.

The Dockerfile and docker-compose setup worked fine, but I had to switch the base image to node:20-slim—the Alpine image failed in all three environments I tested.

Go + Fiber + GORM

Go feels the simplest to get running.
This project was generated by Gemini.
The Dockerfile had some linking issues, but otherwise it worked well, and I didn’t need to write raw SQL.

Rust + Actix-web + Diesel

This project was the hardest for AI to generate.
It was the only one where I had to write SQL manually and run Diesel to generate the schema.

J.Gong

相关文章

Tags

fe
drizzle
sqlite
golang
fiber
gorm
rust
actix-web

© 2025 我的技术博客. 保留所有权利.

使用 Astro.build + Mantine 构建 | 部署在 Vercel