News for hackers. Stuff that matters.
Re:Perl Data Language: Scientific Computing with Perl by caslon on Tuesday June 08, 2021 @06:05PM (#27441607)
Perl is shipped in virtually every Linux distribution; it's much closer to standard than, say, Node.
Re:Perl Data Language: Scientific Computing with Perl by fmakunbound on Tuesday June 08, 2021 @10:33PM (#27443607)
This is a big plus compared to Python. I dread installing Python for some project that needs it. Is it wheel, pip, pip3? pip3.7, apt install pip, poetry? Maybe pyenv? Good god what goes in my .bashrc? What in my PATH?
Re:Perl Data Language: Scientific Computing with Perl by anthk on Wednesday June 09, 2021 @07:37AM (#27446729)
Also, on Perl:

Install cpanminus and then install local::lib.

cpanm local::lib

cat >> ~/.profile << EOF eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) EOF

done.

Re:Perl Data Language: Scientific Computing with Perl by aduitsis on Wednesday June 09, 2021 @04:53PM (#27453089)
Please take a look at Carton too.
Re:Perl Data Language: Scientific Computing with Perl by MontyCarloHall on Tuesday June 08, 2021 @06:08PM (#27441650)
So is ed. That doesn’t mean it’s a better coding environment than modern IDEs, even though it’s far more “standard.”
Re:Perl Data Language: Scientific Computing with Perl by caslon on Tuesday June 08, 2021 @06:23PM (#27441841)
Actually, line editors are really nice, and UNIX arguably makes a better IDE than any purpose-specific one.
Re:Perl Data Language: Scientific Computing with Perl by CyberDildonics on Tuesday June 08, 2021 @11:11PM (#27443820)
To be clear, you program using ed and the command line instead of ever using an IDE? The said programming environment, you said 'line editors are nice'.

This is the same nonsense game people play where someone says "that's like taking a ship to cross the ocean instead of a plane" and someone else says "I like taking ships, I want to get fresh air for three weeks of solitude instead arriving the next morning"

Re:Perl Data Language: Scientific Computing with Perl by caslon on Tuesday June 08, 2021 @11:32PM (#27443926)
I do for every language that isn't Common Lisp! I learned to program on a machine that had a copy of vi that refused to go into visual mode; instead of trying to fight it, I started using ed.

Everything about UNIX is oriented toward being a programming environment in itself. There are plenty of developers who just use UNIX as their IDE. Drew DeVault, as an example, is pretty notorious for it.

Complexity distracts and makes efficiency impossible. Modern IDEs are nothing but complexity. UNIX-as-IDE simplifies.

Re:Perl Data Language: Scientific Computing with Perl by thesnide on Wednesday June 09, 2021 @01:05AM (#27444411)
Confirms that the brain is incredibly plastic.

It can learn to compensate for a missing tool, arm, eye, ...

And after a while it feels just natural.

Re:Perl Data Language: Scientific Computing with Perl by caslon on Wednesday June 09, 2021 @01:44AM (#27444611)
UNIX has all of the tools, and unlike IDEs, it allows you to seamlessly add them on. UNIX is more "cybernetic enhancement" to the IDE's "prosthetic limb."

ed is actually really useful if you're wanting to rapidly iterate on a program. There's a reason Ken Thompson advocated for it up to his retirement (which was very recently, mind).

Re:Perl Data Language: Scientific Computing with Perl by anthk on Wednesday June 09, 2021 @01:35PM (#27450718)
- ed/nvi

- bc|dc/perl/little of C

- Gnuplot

- entr + make

Amazing performance with very little usage of resources.

Re:Perl Data Language: Scientific Computing with Perl by pklausler on Tuesday June 08, 2021 @06:26PM (#27441883)
Or Fortran, ironically.
Re:Perl Data Language: Scientific Computing with Perl by caslon on Tuesday June 08, 2021 @06:47PM (#27442095)
This is mostly because of the compiler situation. Intel forbids redistribution of theirs, and GNU's isn't up to snuff, which continues to handicap the language.