Live data from Hacker News

Erlang: The coding language that finance forgot (2022)

efinancialcareers.com

111–120 of 155 posts

Re: Erlang: The coding language that finance forgot (2022)

#111
post #52

Earlier quoted context omitted.

IIRC Joe Armstrong said he was puzzled why people latched on to the term "BEAM" so much, and he preferred that it was simply referred to as the Erlang VM.

Beam, with one syllable, is more convenient to say out loud than Erlang VM. It also sounds cooler.

In fact, it sounds awesome!

Re: Erlang: The coding language that finance forgot (2022)

#112
post #24

The reason Erlang (and Elixir) are interesting are not the languages themselves (although Elixir is a very nice language in my opinion), but the runtime behind them, BEAM. The BEAM is the brainchild of the excellent engineers at Ericsson, the product of decades of R&D into building performant, scalable and reliable software for their telephony products. It scales like a dream, runs your application on all available c…

While the BEAM is the real magic, the languages (Erlang and later Elixir) are designed specifically to enable that. You can't just decouple the two.

[dead]

Re: Erlang: The coding language that finance forgot (2022)

#113
post #7
post #2

Who exactly claims Erlang is dead? The referenced article is SEO-infected garbage that also claims Haskell and Perl are dead.

It's only a word but the very fact the article refers to Erlang as a "coding language" and not a "programming language" is enough to give it a cheap, amateurish feel from the start IMHO. I'd just ignore it as low quality click bait if I were you.

It may indicate that it was written by someone who is relatively young. The teenagers I know (including my own) all say "coding", never say "programming". I suspect the latter sounds "old" to them. Since the young tend to be amateurs, I whole heartedly agree that it sounds amateurish. It probably is, and we're probably getting old.

Re: Erlang: The coding language that finance forgot (2022)

#114

Earlier quoted context omitted.

Elixirs syntax is only Ruby like in that it’s very readable IMO. Any similarity with Ruby stops there.

Well sure but you could be more clear. Block parameters, implicit parentheses for certain method/function calls, uppercase significance, symbolic significance for brackets.

Elixir doesn't have blocks as a separate concept like Ruby. The "blocks" are just syntax sugar for passing keyword lists of code to macros.

What do you mean by "symbolic significance for brackets?"

Re: Erlang: The coding language that finance forgot (2022)

#115

Earlier quoted context omitted.

We should not have to live like this.

No one has to, there are 1000s of alternatives but some people chose to. Don't ask me why.

I, in fact, use Elixir serverless: I just send functions to my BEAM and it runs them for me.

Re: Erlang: The coding language that finance forgot (2022)

#116

Earlier quoted context omitted.

Well sure but you could be more clear. Block parameters, implicit parentheses for certain method/function calls, uppercase significance, symbolic significance for brackets.

Elixir doesn't have blocks as a separate concept like Ruby. The "blocks" are just syntax sugar for passing keyword lists of code to macros. What do you mean by "symbolic significance for brackets?"

I’m not sure the word for it, but brackets only ever mean two things, to my knowledge. Hash or Block, in Ruby.

I spent many years in perl, so I’m of the opinion visual indicators for datatypes are actually a good thing at the point of instantiation/composition.

Not sure how to properly word it

Re: Erlang: The coding language that finance forgot (2022)

#117
post #32

Earlier quoted context omitted.

Do you think Rust will replace these over time? What are the blockers for this? Is Rust perceived as a "better" language by those in your profession but of cours e you can't rewrite everything every 5-10 years? Would finance apps be written in Rust today if all of the C++/Java applications weren't already written?

I personally like Rust a lot, but it isn't on our radar at all. Nobody has even mentioned it. Java and C++ are fine for what we do. What advantages (other than memory safety, which Java has too) do you see in Rust?

I know Rust is a systems programming language, but I've been playing with it for some time writing high-level stuff like REST/GraphQL APIs, websockets and web backends in general. And I have to admit it is a breath of fresh air.

No crazy enforced OOP with a gazillion classes and inheritance, no non-sense design patterns just because the language enforces you to use OOP for everything, an amazing type system, no null pointer exceptions, great compiler error messages and so on...

Of course there are problems, like any other language, but it is crazy how it as a systems programming language is so good at expressing domain logic.

Java has a much bigger ecosystem, but judging JUST by the language design, I'd pick Rust over Java without thinking twice.

Re: Erlang: The coding language that finance forgot (2022)

#119
post #81

Erlang isn't dying but not many people care for it in capital market. Looks at the traits of Erlang, it's designed for telecom environment which is almost opposite of capital market. 1. Fault tolerance is almost all hardware driven. Capital market participants spent billions of dollar building reliable private networks. 2. Distributed in trading doesn't mean what FAANG are doing. Trading systems for example usually r…

Funny anecdote about one of the FAANGs: before the idea of service meshes and Consul and Envoy a similar idea was being rolled out to transparently proxy, encrypt, and authenticate traffic between services. The initial implementation was on erlang and didn’t cause any operational issues for our team, from what I remember. The project was moved to another team who decided for version 2 to rewrite in Java (high made se…

I’m running into this concern at work. If you have one main app or service constellation, then you can’t make any big changes like these because they have to scale from test benchtop to production with few steps in between and there’s just no accurate way to know what you’re going to see until you try. Traffic shaping only does so much.

I’ve been moving our tools and sidecars and lesser services to do more reuse, not for the code and effort duplication reasons, but so these technologies get more burnin time before they have to do it live. We have one service that is particularly good for this because it doesn’t see a lot of traffic on average, but it bursts up to production requests levels during a certain workflow that is less time sensitive than live traffic but still gets scrutiny because it blocks a run book until it’s done. Parts of that run book can be run as often as you like if you stop before the steps that alter production state, so you can run it a few times to take the median time and see if you’ve improved or regressed.

We turn things on there and if they haven’t caught on fire we feel a lot better about flipping it on for user facing traffic.

Re: Erlang: The coding language that finance forgot (2022)

#120

Earlier quoted context omitted.

Elixir doesn't have blocks as a separate concept like Ruby. The "blocks" are just syntax sugar for passing keyword lists of code to macros. What do you mean by "symbolic significance for brackets?"

I’m not sure the word for it, but brackets only ever mean two things, to my knowledge. Hash or Block, in Ruby. I spent many years in perl, so I’m of the opinion visual indicators for datatypes are actually a good thing at the point of instantiation/composition. Not sure how to properly word it

Oh, are all the paren/bracket types interchangeable in Perl? I've never used Perl.

Yea, each set of them ([], (), {}, ) has a very distinct meaning in Elixir.

Post reply on HN