Hacker News new | ask | show | jobs
by kukkeliskuu 413 days ago
I don't have any experience in Rails, but similar experience with Django. I am running several apps on my own, while still working elsewhere full-time.

The largest one has around 250 views, of maybe 80 are just basic admin views. It is basically comparable to an ERP of a medium-side company with various levels of permissions etc. I was able to get most of the functionality into production in just one month -- I was not working full-time at that time. I have estimated it with some friends, and such an ERP in the corporate world would normally take a team two years to do -- one to spec and another to implement.

It has 1-2M monthly page views depending on the season, and the highest hitting pages are read-only and heavily cached, so the server load is minimal. I am further increasing the performance by making those pages static HTML using django-distill and using Cloudflare to cache/serve them.

The key thing is to keep things as simple as possible. I avoid REST/heavy frontend frameworks whenever possible. For most views for most apps, normal HTML form request-response user interface based on Bootstrap is perfectly fine.

I started by sprinkling Javascript when it was really needed, for example client side sorting so I can avoid server load. Now I use AlpineJS/HTMX for the interactivity. It has been great, although much slower to implement.

1 comments

I'm not a huge fan of Ruby, but even if you admit that Rails is superior to Django, it would be a hard sell to invest in Ruby ecosystem instead of Python

I'm doing something similar to OP with Django right now

> , it would be a hard sell to invest in Ruby ecosystem instead of Python

Why? The Ruby ecosystem is great, as good as ever. What do you think it's missing?

Mass adoption in domains beyond just backend webdev. Python is increasingly the lingua franca of data.

Ruby ecosystem is great, but it's not Python great.

But what if you're looking for a backend for webdev? Which seems to be the case if we're comparing Rails and Django.
Each to their own of course, and not arguing that the Ruby ecosystem is amazing (although I thought so in 2008), with Python’s eleventy different package managers, I wouldn’t call the ecosystem great. It’s one of the main reasons I get bummed out having to use the language. Sure there’s lots of work going on to improve that, but it’s still smattered all over the place.
Every Python developer is now an "AI developer" and I can't find a bog-standard python BE dev without paying the AI tax. Having a sizeable but out of vague market of Ruby (or .NET) devs right now at a significant comparable discount is a nice treat.
Have you tried posting specifically for Django/FastAPI developers? I have personally seen many such postings.

Ruby ≈ Rails

Python >> Django

I am a Python and Django developer and I do not even want to do "AI". I prefer to do what I have lots of experience of and know I am good at. I cannot be the only one.
It's not "cool"
A I
> This past week at RubyKaigi in Ehime, Yukihiro "Matz" Matsumoto, the creator of the Ruby programming language, gave a presentation on “Programming Language for AI Age”. In the keynote presentation, he discussed how Ruby can dominate in the AI age, due to its conciseness, expressiveness, and extensible nature with DSLs.

The talk isn't available online yet, but I'm excited to see what he has to say.

Ruby has AI libraries.

Also a reminder that all the heavy lifting in the AI ecosystem is done by C++ libraries, and Ruby has a great FFI for interfacing with C++. Also most app makers are just interfacing with web APIs anyway. Either way, you're covered.