Readit News logoReadit News
terussell85 commented on My Thoughts on Kotlin: Perspectives after 4 years   tylerrussell.dev/2025/01/... · Posted by u/terussell85
BoardsOfCanada · 8 months ago
I've ported a lot of services from kotlin to rust. In my experience the kotlin code is about half the size of rust, and has about 200 mb + 2*x the memory overhead. Kotlin code probably takes about half of the time (or less) to write compared to rust as well, but you're not quite as sure that is it bug free as the rust code once it's done.
terussell85 · 8 months ago
That's a great point and I'm not sure why the memory usage/performance didn't come to mind when writing this.

It's probably because, like most JVM related things, it fits into the "good enough" bracket. Most things running in the JVM are definitely not on the forefront of either CPU or memory performance.

I haven't done personal estimates, but your 200 mb + 2*x estimate feels in line to what I'd expect when compared to "memory-tight" languages.

terussell85 commented on Multi-tenant SAML in an afternoon   tylerrussell.dev/2024/10/... · Posted by u/noleary
runako · a year ago
> the marginal cost for me to have a user in your system is essentially 0

This argument essentially reduces to the notion that most Web apps should be free. The marginal cost of a Salesforce/Canva/Outlook/Office/Github/Discord/any scaled SaaS user is a tiny epsilon. If that were not true, there would not be a viable software business there; that epsilon keeps everyone paid who keeps everything running.

> You really gonna charge me 10 cents a month for a row in your database?

Apologies for the analogy, but the 10 cents is not for the storage, but for knowing which row is yours.

It's fine to want to DIY, no shade to that at all. But not every application is a fit for DIY solutions for whatever reason.

terussell85 · a year ago
Author here. I didn't actually post this so I was a bit surprised to find it in my daily browsing!

You make a valid point. And I understand there is clearly a large amount of hand waving and fallacy in my "for a row in your database" statement. I tend to write pretty flippantly. In reality, life is always more nuanced.

In reality, the crux of my opinion is more about how most of modern SaaS are so overly obsessed with pricing on user-based models, even when they don't actually make sense. There is obviously cost to host/run/maintain any piece of software, but it especially hurts with infrastructure-like companies. It's up for argument, but I think IdPs and MAUs fit in that category.

Building a company that doesn't charge on a per-seat basis with an IdP that does really makes it difficult to maintain a reasonable profit margin. For example, if I'm billing on a usage-based model (that's not user-based) and provide unlimited user access so that there is more usage, I could lose money just by having a 1,000-person company sign up. Even if all they did was sign in once a month to kick the tires. It kind of forces anyone downstream to also be user-based, which feels unfortunate.

My personal opinion is that there is a big emerging market for new companies to do what the big players already do, but charging less on flat-fee models. What's that famous quote? "Your margin is my opportunity" or whatever...

[edit: added more clarity to my pricing example]

terussell85 commented on Amazon QuickSight – Business Intelligence by AWS   aws.amazon.com/quicksight... · Posted by u/polmolea
vkb · 10 years ago
I use it regularly. It's not so much about sharing,which is easy and works well, but about getting data into Domo. Pain point to format data and schedule exports, update them, set up new exports, etc.
terussell85 · 10 years ago
Just wanted to reemphasize sibling comment's petition for feedback on Domo. I work on the data pipeline team at Domo, and we love hearing ways to make the process simpler for our users. If you haven't already, be sure to ping adammichaelc with your use case and problems.

u/terussell85

KarmaCake day27December 24, 2013View Original