News for hackers. Stuff that matters.
Re:Python startup time: milliseconds matter by lmm on Wednesday May 02, 2018 @06:30PM (#16981721)
Both Tcl and Perl are dead languages walking these days, and it's Python that's displaced them. It absolutely competes in that market.
Re:Python startup time: milliseconds matter by blacksqr on Thursday May 03, 2018 @12:00AM (#16983264)
Markets are a funny thing. Both "dead" languages are thread safe and can easily run separate interpreters per thread.

See: "THREADS DONE RIGHT... WITH TCL"

https://www.activestate.com/blog/2016/09/threads-done-right-...

Re:Python startup time: milliseconds matter by lmm on Thursday May 03, 2018 @09:27AM (#16985782)
> Markets are a funny thing. Both "dead" languages are thread safe and can easily run separate interpreters per thread.

Perl threading is officially recommended against IIRC? In either case, "threads" in either of them don't share memory (except explicitly and manually), at which point what you have is multiprocessing by a different name.

Re:Python startup time: milliseconds matter by lizmat on Thursday May 03, 2018 @09:55AM (#16986033)
In Perl 5 threading things are only "shared" semantically. In reality, there is an extra interpreter running where the "shared" variables live, and any value fetches and stores are handled with the `tie` interface (see http://www.perlmonks.org/?node_id=288022 for more information).

In Perl 6 on the other hand, everything is always shared and you can use high level constructs such as atomic increments, supplies, taps, `react` and `whenever` so you don't have to think about any (dead)locking issues as a developer.

Re:Python startup time: milliseconds matter by blacksqr on Thursday May 03, 2018 @11:06AM (#16986675)
Tcl has an "easy" threading mode where each thread runs its own interpreter, and a "hold my beer" mode where you can spawn threads within a single interpreter.

Tcl also has synthetic channels, so you can stay in easy mode but open a bi-directional read/write channel with the two ends in separate threads, with readable/writable events assigned, so you can do automatic event-driven information sharing between threads.

I don't know any other language that gives you options like that.

Re:Python startup time: milliseconds matter by catach on Thursday May 03, 2018 @05:10AM (#16984430)
I do have to wonder if Tcl would have gained significantly greater mindshare if the syntax had been more Algol-like.
Re:Python startup time: milliseconds matter by pjmlp on Thursday May 03, 2018 @03:20AM (#16983990)
Quite a few sysadmins around here have a different point of view regarding Perl.
Re:Python startup time: milliseconds matter by vgy7ujm on Thursday May 03, 2018 @03:39AM (#16984067)
Dream on.