Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdimitar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
121.
▲
by
pdimitar
4mo ago
I kind of agree. Erlang took the "share nothing" thing to extremes by copying everything which, while improving memory safety by a huge margin, introduced (a) various GC footguns (like the shared big binaries gated behind refcount
122.
▲
by
pdimitar
4mo ago
Ah, true. You are right this assumes some familiarity. Definitely a gap. Check this out: https://www.theerlangelist.com/article/spawn_or_not Written by one of the very best Elixir mentors. I believe it will dispel most
123.
▲
by
pdimitar
4mo ago
Fair. If you have this friction then it's not worth pursuing. One thing that really helped me pick it up was saying YOLO and rewriting one part of the business stack from Ruby on Rails to Elixir. It taught me quickly and well. The offi
124.
▲
by
pdimitar
4mo ago
I invite you to ask on ElixirForum. I have never seen a truly hostile response. Sometimes posts don't get traction due to ambiguity, and some smelled like "do my homework" so people ignored them. But every post with a genuine
125.
▲
by
pdimitar
4mo ago
These are all true and I have recognized those as innate limitations of the BEAM VM. For now I am OK with those but I am already skirting at the limit and I am starting to want to jump to Golang and Rust again.
126.
▲
by
pdimitar
4mo ago
Oh yeah, definitely. If your DB server (or any storage backend) cannot have like 200+ connections alive at all times then it's absolutely pointless rewriting your app in Elixir or Golang. You'll just serve DB timeouts in your resp
127.
▲
by
pdimitar
4mo ago
Thank you. As a guy who made a career out of Elixir (and begins to regret it recently but oh well) I agree that Elixir's throughput is not amazing. However, it can get very far and we should always optimize for the most common usages.
128.
▲
by
pdimitar
4mo ago
I have been on the other side as well i.e. the Java / JVM. Hence: "informed". Your negative assumptions are tiring. Sorry that you got offended by what you quoted (and I said) but I'll drop here.
129.
▲
by
pdimitar
4mo ago
Well, I don't think you and I disagree on the premises, with the exception of you believing that I make some outrageous general claims -- which I did not. > you make it seem as if the world of software development is in some consta
130.
▲
by
pdimitar
4mo ago
Any good reason for your rude tone? If we are going to invoke the what crossed somebody's mind trope, I'd lead with that when talking to you -- did it cross your mind to speak calmly and not assume something "did not cross&qu
131.
▲
by
pdimitar
4mo ago
> "the Neo is competitive for basic office and media stuff" can be a better way to put it. Agreed in general, though in my case it would be something like this: "The Neo is a great thin client through which you can hop a
132.
▲
by
pdimitar
4mo ago
Well I agree, that's why I use Elixir and not its underlying Erlang. And I agree that most LISPs remove the stupidity of syntax. Very true.
133.
▲
by
pdimitar
4mo ago
(Upvoted for a really relevant and valuable refinement to the thread.) Admittedly that layer is almost always abstracted i.e. AWS / GCP and various other smaller hosted solutions that handle a good chunk of load balancing for us. In th
134.
▲
by
pdimitar
4mo ago
Good, thanks for the grounding. I'll have to reevaluate at one point then. As I just posted in another comment ( https://news.ycombinator.com/item?id=48384622 ), I'd probably drop Erlang/Elixir due to difficult
135.
▲
by
pdimitar
4mo ago
> that would be the reason why syntax does matter, wouldn't it? nobody wants leaky abstractions! Well I thought we were describing our current reality, not our _desired_ one? Yes nobody wants leaky abstractions and yes they are ev
136.
▲
by
pdimitar
4mo ago
I don't think you, I, him and others necessarily disagree at all here, it's just that living language has defects and I can't spend 30 minutes clarifying beforehand like I am doing a math proof. To me the strengths of Erlang
137.
▲
by
pdimitar
4mo ago
I do love immutability. If a language does not have it I am very weary of using it. I only made exception of Rust because of how good is it for so many things + you can design with immutability first and only use mutability when you truly h
138.
▲
by
pdimitar
4mo ago
Cool. I might have to revisit, if I ever find the time. Thanks, your comment aligns with what multiple other commenters expressed. Info gets stale. Fair.
139.
▲
by
pdimitar
4mo ago
You might be speed-running to a conclusion and squinting too hard if you use the word "panacea". Similar to the weird childish name-calling people do in Rust threads (somebody met one brainless zealot and now of course they'l
140.
▲
by
pdimitar
4mo ago
Well, you are kind of using my comment to vent your frustrations about AI while it has barely anything to do with it -- but you tried to link the two, unsuccessfully. Which is not fair as you have no clue of my stance on AI and are extrapol
141.
▲
by
pdimitar
4mo ago
Web / API services during bursts. Or just when you _really_ don't want to scale horizontally. Elixir / Golang can do this very well. And they do. I have supervised, led and authored such projects that are in production to thi
142.
▲
by
pdimitar
4mo ago
I think we can easily agree they are two entities (syntax / runtime) that feed off of each other. And I do agree that previously the syntax mattered more. (I very much agree on Lua btw.) Personally I am very disheartened. Surely algebr
143.
▲
by
pdimitar
4mo ago
Obviously. But it's really nice to have the option, and none of us knows the future. I've been bitten by those "0.1% chance" things much more times than I would be not-embarrassed to admit, and I know I a not alone.
144.
▲
by
pdimitar
4mo ago
All true. And I loved trying Clojure for 3-4 weeks some years ago. Still want Erlang's runtime though i.e. the many green threads with share-nothing architecture that can communicate with each other.
145.
▲
by
pdimitar
4mo ago
Agreed, though I didn't mean "constants" when I said "immutability".
146.
▲
by
pdimitar
4mo ago
You are citing a commendable exception (Scala) to tear down a bigger argument which is not exactly a fair discussion. Furthermore, if you trace my comments, you'll see that I had to choose PLs years ago (12+ to be precise). Things were
147.
▲
by
pdimitar
4mo ago
Thousands of share-nothing actors (fibers / green-threads) with first-class support for communication between them, for a start. Erlang/Elixir -- immutability as well.
148.
▲
by
pdimitar
4mo ago
Sure but that's only a theoretical, as in, a non-existing argument. You don't get to tell me what I want in a laptop; I already stated it and stand by it. "Unbeatable" comes from "satisfies all my hardware requireme
149.
▲
by
pdimitar
4mo ago
Elixir has all that _and_ Erlang OTP's amazing guarantees. Hence I landed on it. Elixir also offers LiveBooks i.e. you can create pre-made recipes with which you directly remote into your staging / prod and do stuff. All that with
150.
▲
by
pdimitar
4mo ago
But that's still not a function of the syntax per se; Java has no immutability encoded in its runtime, hence it does not offer it as a syntax either.
More ›