Hacker Newsnew | past | comments | ask | show | jobs | submit | more pythonaut_16's commentslogin

Come on really?

Do you write perfect commit messages every single time on every project you work on?


Specialization of AI models is cool. Just like some people might be better planners and some are better at raw coding ability.


I’m not sure how much this tells me about a model’s coding ability though.

It might correlate to design level thinking but it also might not.


Or Colima https://github.com/abiosoft/colima

Free, open source, and has worked perfectly for me so far. (I think I briefly ran into issues with an Elastic Search container? so ymmv a bit)


Very much this.

I think the community tends to overestimate the ecosystem’s maturity which is one of the big things holding it back, both because it blinds the community to areas that need improvement and leads to bigger shocks when newcomers do unexpectedly run into the rough edges.


Some of the big performance wins don’t come from the raw compute speed of Erlang/Elixir.

Phoenix has significantly faster templates than Rails by compiling templates and leveraging Erlang's IO Lists. So you will basically never think about caching a template in Phoenix.

Most of the Phoenix “magic” is just code/configuration in your app and gets resolved at compile time, unlike Rails with layers and layers of objects to resolve at every call.

Generally Phoenix requires way less RAM than Rails and can serve like orders of magnitude more users on the same hardware compared to rails.

The core Elixir and Phoenix libraries are polished and quite good, but the ecosystem overall is pretty far behind Rails in terms of maturity. It’s manageable but you’ll end up doing more things yourself. For things like API wrappers that can actually be an advantage but others it’s just annoying.

ASP.NET and Springboot seem to only have theoretical performance, I’m not sure I’ve ever seen it in practice. Rust and Go are better contenders IMO.

My general experience is Phoenix is way faster than Rails and most similar backends and has good to great developer experience. (But not quite excellent yet)

Go might be another option worth considering if you’re open to Java and C#


Thank you, I really, really appreciate the thoughtful answer.

I've written APIs in Rust, they were performant but the dev experience is needlessly painful, even after years of experience using the language. I'm now using Rails for a major user-facing project, and while the dev experience is all sunshine and flowers, I can't shake the feeling that every line I write is instant tech debt. Refactoring the simplest Rails-favoured Ruby code is a thousand times more painful than refactoring even the most sophisticated system in Rust. I yearn for some kind of sensible mid-point.

Elixir seems extremely neat, but I've been blocked from seriously exploring it by (a) a sense that it may not be more any more performant than Ruby, so why give up the convenience of the latter, and (b) not having seen any obvious improvement on Ruby's hostility to gradual typing / overuse of runtime metaprogramming, which is by far my biggest pain point. I'm chuffed to hear that the performance is indeed better, that the magic in Phoenix happens at compile time, and that gradual types are being taken seriously by the language leadership.

I guess I'll have to take Phoenix for a spin.


It’s Twitch not some indie startup.

You’re not entirely wrong but you’re exaggerating the difficulty.


It’s probably best to compare download sizes on a logarithmic scale.

18mb vs 180mb is probably the difference between an instant download and ~30 seconds. 1.8gb is gonna make someone stop and think about what they’re doing.

But 18mb vs 9mb is not significant in most cases.


Thanks for pointing this out.

It does seem weird to complain about the file size of a debug build not a release build.


Private posts/feeds/groups is one of the biggest things missing from ATProto at this point.

Once they solve that it will really take off beyond just a better Twitter.


Another effort that could help is the lexicon-community. The goal is to create a number of lexicon that can be reused across apps.

https://github.com/lexicon-community/lexicon

Calendar, locations, and events is one of the first they are considering

https://github.com/lexicon-community/lexicon/pull/23


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: