Posted Update on rakudo.js to Paweł Murias
I'm working on getting it to compile the whole setting.
The setting executes a bunch of code at compile time (it has BEGIN blocks, constant declarators etc.) so the code t…
Posted Nqp-js update. to Paweł Murias
nqp-js/rakudo.js is now targeting ECMAScript 6
Scott McWhirter helped a ton with the transitions (as well as with some general cleanup).
Most of the modern browsers now support ECMAScript 6 so I feel it makes sense to target it.
When targeting old ones that don't we can use pol…
Posted Adding profiling support to nqp-js to Paweł Murias
Currently the focus of the work on the js backend is on making nqp-js emit code that runs at a reasonable speed (so that compiling Rakudo and its setting doesn't take eons and I can iterate on it more easily).
The js profile…
Posted Working on getting the Perl 6 setting to compile. to Paweł Murias
Currently rakudo.js is at the point where:
node rakudo.js -e 'say "Hello World"'doesn't.
What's needed for the later is to get rakud…
Posted Optimizing nqp-js-on-js to make it fast enough to compile Rakudo to Paweł Murias
Having failed to find a working profiler on npm I ended up webpacking nqp-js-on-js and profiling it directly in Chrome.
I implemented them.
The second big slowdown was actually the slurp() function.
Posted Short summary of the current state of the rakudo-js grant to Paweł Murias
Posted What should Rakudo-js aim for first? to Paweł Murias
I'm considering applying for a TPF grant to allow me to fully focus on working on getting Rakudo to target JS. To focus the grant application (and pin down the deliverables) I need to choose a use case for rakudo-js to focus on. Possible ones (ideas for new ones are appreciated).
Posted Compiling QAST fragments to js from nqp-js to Paweł Murias
# save this as hello-world.nqp use QAST::Compiler; my $sc := nqp::createsc('TEST_SC'); nqp::scsetdesc($sc, "description"); my $qast := QAST::Block.new( :blocktype('immediate'), QAST::Op.new(…
Posted First inchstone. to Paweł Murias
No responses to comments.Responses to Comments from Paweł Murias
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.