logoalt Hacker News

languagehackertoday at 2:31 PM5 repliesview on HN

I feel like if you need to utilize a tool like this, odds are pretty good you may have picked the Wrong Tool For the Job, or, perhaps even worse, the wrong architecture.

This is why it's so important to do lots of engineering before writing the first line of code on a project. It helps keep you from choosing a tool set or architecture out of preference and keeps you honest about the capabilities you need and how your system should be organized.


Replies

Arubistoday at 2:43 PM

It’s almost as though choosing a single-threaded, GIL-encumbered interpreted scripting language as the primary interface to an ecosystem of extremely parallelized and concurrent high-performance hardware-dependent operations wasn’t quite the right move for our industry.

show 1 reply
markstostoday at 4:12 PM

Sometimes the "right tool for the job" philosophy leads to breaking down a larger problem into two small problems, each which has a different "right tool".

Choosing a single tool that tries to solve every single problem can lead to its own problems.

victorbjorklundtoday at 2:54 PM

Strange opinion. Plenty of apps have more than one language. I might end up using this.

Why? Because my app is built in Elixir and right now I’m also using a python app that is open source but I really just need a small part of the python app. I don’t wanna rewrite everything in Elixir because while it’s small I expect it to change over time (basically fetching a lot of data sources) and it will be pain to keep rewriting it when data collections needs to change (over a 100 different sources). Right now I run the python app as an api but it’s just so overkill and harder to manage vs just handling everything except the actually data collection in Elixir where I am already using Oban.

geooff_today at 2:44 PM

I disagree, using python for a web-server and something like celery for background work is a pretty common pattern.

My reading of this is it more or less allows you to use Postgres (which you're likely already using as your DB) for the task orchestration backend. And it comes with a cool UI.

show 1 reply
whalesaladtoday at 2:33 PM

What leads you to this conclusion