Ask HN:Why is Perl so dwarfed in data science by Python?
1–10 of 120 posts
Re: Ask HN:Why is Perl so dwarfed in data science by Python?
#2Re: Ask HN:Why is Perl so dwarfed in data science by Python?
#3Python also got heavyweight libraries such as Numpy and Pandas which put it in the front. Perl do not have have such well known libraries as far as I know.
Re: Ask HN:Why is Perl so dwarfed in data science by Python?
#4perl doesn’t have the numerical chops to keep up, and if it started to fix that now, it has 20 years of headwind to fight through for probably marginal gains. Good luck.
Re: Ask HN:Why is Perl so dwarfed in data science by Python?
#5Re: Ask HN:Why is Perl so dwarfed in data science by Python?
#6I do come across some perl every now and then but it looks like Bash on steriods to me (perhaps because of the $variables), and I never see any DataFrames or similar structure that looks familiar to me.
Idk, Perl never occurred to me and nobody ever recommended it. Is Perl good for data science? Do you have any examples? I never ran into "efficiency problems" with Python btw, I'm not using it at that scale, at what scale would I notice this? I have run out of ram at times, but that's usually when a dataset on disk is already larger than my ram. But then I usually find a tool to deal with the data anyway (for example pyosmium for super large osm/o5m fles).
Edit: I feel that Python also gives me other nice things to get started with, things like Django and Snakemake. This also leads me to recommend Python to other people, it's a broad basis for a lot of stuff. That's why even though some people recommended R when I got started, I choose Python anyway. I have no regrets, unless you are going to blow my mind with some examples...
Re: Ask HN:Why is Perl so dwarfed in data science by Python?
#7Re: Ask HN:Why is Perl so dwarfed in data science by Python?
#8Perl is expressive but the code can be hard to read. In general, Python is readable because it enforces the indentation and other language design choices. Python also got heavyweight libraries such as Numpy and Pandas which put it in the front. Perl do not have have such well known libraries as far as I know.
Re: Ask HN:Why is Perl so dwarfed in data science by Python?
#9tooling and network effects. perl doesn’t have the numerical chops to keep up, and if it started to fix that now, it has 20 years of headwind to fight through for probably marginal gains. Good luck.
Re: Ask HN:Why is Perl so dwarfed in data science by Python?
#10Perl had a mis-step with Perl "6" that caused a lot of the userbase to drift off.