Here's what you missed if you weren't in the #boston.pm IRC room Tuesday
night during the talk...Larry Wall (TimToady) dropped by. He was tipped
off to the talk by Matthew Wilson (diakopter) (who is a subscriber here;
thanks for giving Larry the heads-up).

Transcript:

(12/10/2013 08:42:49 PM) TimToady [[email protected]] entered
the room.
(12/10/2013 08:43:01 PM) TimToady: Howdy, boston!
(12/10/2013 08:43:10 PM) tmetro-: P5 version of json::tiny runs at near
64 iterations/s.
(12/10/2013 08:43:26 PM) tmetro-: Hi, currently live blogging a talk.
(12/10/2013 08:43:34 PM) TimToady: figgered :)
(12/10/2013 08:43:57 PM) tmetro-: Nqp-jvm hits 8 itr/s.
(12/10/2013 08:44:06 PM) TimToady: that fast! :)
(12/10/2013 08:44:36 PM) TimToady: that's like...less than an order of
magnitude, yay!
(12/10/2013 08:44:41 PM) tmetro-: Rakudo-jvm was the next fastest, but
far behind.
(12/10/2013 08:45:14 PM) TimToady: historically we've been in the
neighborhood of 3 orders of magnitude with most parrot-based code
so that's a vast improvement, and the jvm isn't really even optimized at
the rakudo level yet
you get the JIT for free, of course
(12/10/2013 08:46:30 PM) tmetro-: Right...nqp-jvm comes close or even
exceeds p5 in some cases. Rakudo is way behind that.
(12/10/2013 08:47:03 PM) diakopter: well, the JIT at one level
(12/10/2013 08:47:09 PM) diakopter: (is free)
(12/10/2013 08:47:38 PM) tmetro-: Next implementation was porting
JSON::Tiny to p5 in Marpa.
(12/10/2013 08:47:42 PM) diakopter: but there's certainly the
possibility of further optimization in qast->jast
(12/10/2013 08:50:06 PM) tmetro-: Marpa matched nqp-jvm - 8 itr/s -
though Marpa had more linear performance at low iteration counts (before
the JVM has had a chance to optimize).
(12/10/2013 08:50:55 PM) diakopter: are the slides somewhere?
(12/10/2013 08:51:05 PM) TimToady: so far rakudo does almost no
optimizations based on the information it has at CHECK time, which is
substantially more information than P5 has available, so could result in
quite fast code
(12/10/2013 08:51:35 PM) tmetro-: Rakudo-jvm was 1 itr/s. Rakudo-parrot
0.1/itr/s.
(12/10/2013 08:52:05 PM) tmetro-: (Slides will be up later. Maybe video
too.)
(12/10/2013 08:52:07 PM) TimToady: well, the parrot backend has been
improving too, so recent results are more in the order of two orders of
magnitude
(12/10/2013 08:52:55 PM) TimToady: the use of native types is also
highly sensitive to inlining optimizations, since each time you inline
you potentially remove the boxing and unboxing of each parameter
(12/10/2013 08:53:12 PM) TimToady: and those aren't done yet
(12/10/2013 08:54:14 PM) TimToady: for best performance, I still use
niecza, but expect that'll change eventually
(12/10/2013 08:56:25 PM) tmetro-: (Niecza under mono on os x was tested.
Slower than most other options tested.) [Edit: It was faster than
rakudo-parrot.]
(12/10/2013 08:56:44 PM) tmetro-: Html::template compared next.
(12/10/2013 08:57:15 PM) tmetro-: Speed differences similar to json::tiny.
(12/10/2013 08:59:30 PM) TimToady: tmetro-: okay, probably not well
suited for niecza then
(12/10/2013 08:59:48 PM) TimToady: maybe allocation bound
(12/10/2013 09:00:23 PM) ***TimToady is comparing performance of his
quiz editor in his head, which doesn't do much allocation
(12/10/2013 09:02:52 PM) tmetro-: (Awesome that we have visitors
dropping in. Would love to chat, but occupied paying attention to the
talk. What drew you guys here today? See a meeting announcement somewhere?)
(12/10/2013 09:04:51 PM) ***TimToady blames diakopter++
(12/10/2013 09:07:24 PM) diakopter: tmetro-: I joined boston.pm mailing
list a while back
(12/10/2013 09:07:59 PM) tmetro-: Cool.
(12/10/2013 09:08:25 PM) ***diakopter tells Larry to stop heckling virtually
(12/10/2013 09:09:23 PM) ***TimToady has to commute to dinner now
anyway, alas, so cannot heckle any longer
(12/10/2013 09:09:40 PM) TimToady: afk &
(12/10/2013 09:12:34 PM) tmetro-: Q&A session now.
(12/10/2013 09:32:36 PM) tmetro-: Meeting over.
(12/10/2013 09:32:44 PM) tmetro-: Good night all.
(12/10/2013 09:34:37 PM) tmetro- left the room (quit: Quit: Bye).
(12/10/2013 09:47:44 PM) diakopter left the room.
(12/10/2013 10:18:41 PM) TimToady left the room.


 -Tom

-- 
Tom Metro
The Perl Shop, Newton, MA, USA
"Predictable On-demand Perl Consulting."
http://www.theperlshop.com/

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to