Live data from Hacker News

The One-Person Framework in Practice

link.mail.beehiiv.com

91–100 of 172 posts

Re: The One-Person Framework in Practice

#91

Rails is unmatched. I wish there was just a similar framework in a faster language.

Ruby is plenty fast these days (people usually think Ruby didn't get faster but it did). And if we figure out how to switch to async/fibers with let's say Falcon, we are in a good place :)

Ruby isn't standing still in terms of performance either. YJIT is getting better all the time and ZJIT is on the horizon too.

For concurrency, async fibres are brilliant but not the only game in town.

Using good old processes works really well in Pitchfork or alternatively JRuby and TruffleRuby both have true non-blocking parallelism right now using Threads.

If anything TruffleRuby shows that there is nothing inherient in the Ruby language that means it cannot catch up in performance terms.

Re: The One-Person Framework in Practice

#92
post #60

I'm currently building out an app using AdonisJS. Its billed as a Rails like experience but in node. https://adonisjs.com/ I did a comparison between Rails, Adonis and Fiber (a Go "framework") before settling on Adonis (mostly due to node ecosystem and type safety). It's been excellent so far, and the creator has an excellent series of tutorial videos that can get you up to speed quickly https://www.youtube.com/watch…

I found the lack of 1st party auth system annoying. Phoenix, for example gives me a nice starting point (even magic links soon). Adonis for all its features, turns me to what I hate. The JS auth implementations.

Re: The One-Person Framework in Practice

#93

Let’s be clear - the success is not because of Ruby on Rails . You could build the same thing with nodes or python or golang or whatever. There’s nothing special about rails, except that the developers speak like it’s special. There’s nothing that can be quantified in any tangible way to indicate it’s actually better in any way. Rails has enthusiastic words, but it’s not actually better.

It's part of the success. There's a reason you don't hear similar 1-person stories with Express.

Re: The One-Person Framework in Practice

#94
post #10

Earlier quoted context omitted.

I have heard Laravel is shockingly complete and most others will pale in comparison to in terms of out of the box speed to first feature and the full CI/CD setup for most any kind of product. Speed of iteration rules above all.

Speed of iteration varies within a single projects entire lifetime. My speed of iteration in dynamically typed languages is great at first, but after running in production for 8 years, coded by a team that never wrote the original, dynamic typing hurts iteration speed. If you judge iteration speed by how fast you get to feature #3, I've got a ton of bash programs that will beat any serious language product you have o…

Speed of iteration is for speed of feedback and insight from the business/market into the product.

That can be a mix of how you see it, how the business works and how the code does anything.

It is important to understand I’m not referring to dynamically vs statically typed languages or not. It’s a distraction. Code runs fast on pretty much anything these days, and dynamically typed languages have pre-compilers.

These are sometimes matters of personal experience, interpretation, preference and opinion masquerading as facts.

Most languages have to abstract from to the web using a framework and that additional interpretation is where a lot is lost.

Featuritis is the disease, solving problems solely based on customer input (who are strangers) is important. Problems are rarely a single feature, but a sequence or group of them.

The irony of bash scripts is they can be some of the most durable and well lasting parts of a project while everything around it might change and evolve quicker. So if there’s some bash scripts being called by a language in the beginning.. so what.

My original point about Laravel is I have not seen as tightly integrated of any ecosystem to ship solutions and product where so much time is not lost in the product side of it (accounts, billing, migrations, etc). While I’m relatively new to it, at the very least it’s a worth comparison to show the holes in others.

Re: The One-Person Framework in Practice

#95

Earlier quoted context omitted.

I'm 15,000 lines into a Rust project at the moment. I like it a lot but I'd never consider it for a web centric app.

Mind to share why? As someone who likes Rust, has one project (web based) in production in Rust, and considering starting another one, I'd be glad to learn from the experience of other people.

I have several apps in production. I employ sqlx, axum, async_graphql, React frontend.

So far I don't know any better way of doing it and I have tried all the classic ways like PHP, Django etc. This is way superior. The only downside is that I am the only one who can touch the backend, but I guess if some of the projects grows enough, there will be enough incentives to find another Rust programmer besides me.

Re: The One-Person Framework in Practice

#96
post #60

I'm currently building out an app using AdonisJS. Its billed as a Rails like experience but in node. https://adonisjs.com/ I did a comparison between Rails, Adonis and Fiber (a Go "framework") before settling on Adonis (mostly due to node ecosystem and type safety). It's been excellent so far, and the creator has an excellent series of tutorial videos that can get you up to speed quickly https://www.youtube.com/watch…

I found the lack of 1st party auth system annoying. Phoenix, for example gives me a nice starting point (even magic links soon). Adonis for all its features, turns me to what I hate. The JS auth implementations.

Yeah, dealing with auth can be painful. The adonis provided auth and bouncer do a decent job of abstracting some of that away, but like most js implementations, it's got rough edges (the docs and vids really help).

I'm not familiar with Elixir/Phoenix, but from reading other recommendations in this thread and after having a quick look, I need to take a closer look :-)

Re: The One-Person Framework in Practice

#97
post #25
post #14

Earlier quoted context omitted.

I’m curious if .NET can compare here, though I have limited experience with rails or ASP.NET both seem to give you a lot to work with. Though the overlap of rails devs with .NET devs seems minimal.

I learned to code professionally in Ruby but wrote C# .Net for almost 10 years. I've probably forgotten more about .Net than I ever learned about Ruby at this point so take what I say with a grain of salt. .Net has tons of configuration and boilerplate so I can't say that it's exactly the same in that sense, but the more meta theme is that just as there is a Rails way to do things, there is a Microsoft way to do thin…

I don't want to fight you, because I don't know .Net well enough to have an opinion.

But I just want to say that I have the same feel when I develop using Spring Boot. I am extremely productive and seldom have to pull dependencies outside Spring for 80% of what I make.

Re: The One-Person Framework in Practice

#98

I think you're not giving yourself enough credits and you're giving Rails too much. I know a developer who followed a similar approach in PHP. A relative of mine is running his company as a single dev in node.js + react. My company runs on Python. The key skill is being a good generalist willing and capable to do all the roles you need. Every tech stack can be automated for most small business needs, so that you can…

I agree. Nothing beats using a well known framework for speed.

I think we also need to consider how much experience one has with a language. Most can pickup a new language relatively quickly, but it's not the same as having real experience with it.

At work, someone just started a new micro service written in Rust because they were familiar with Rust and thought they would be able to do something "fast". They spent at least half the time struggling with even basic dependencies, how to deploy it, monitor it and make it deployable. If this was a startup, they would have burned a significant amount of time that could have been spent on PMF

Re: The One-Person Framework in Practice

#99

I'd need the opinion of someone who's worked with other acclaimed technologies (his was PHP) to tell me that Rails is indeed that much better

Not what you asked for. But I could write a very similar article about Laravel.

I run multiple apps as single developer and Laravel has a great community.

Laravel has a lot of similarities to Rails.

Re: The One-Person Framework in Practice

#100
post #10

Is there any other framework which can claim that it compares well to Ruby on Rails speed of development? I.e. conventions over configurations? Asking as I don’t want to learn ruby

I have heard Laravel is shockingly complete and most others will pale in comparison to in terms of out of the box speed to first feature and the full CI/CD setup for most any kind of product. Speed of iteration rules above all.

Laravel is a great way to run apps as a one person team
Post reply on HN