Posted Rakudo.js update - we passed a first roast test to Paweł Murias
After spending a long time chasing a bunch of bugs (a lot of ones that boiled to a few lines of code had really weird consequences that needed to be painstakingly chased down) and implementing some missing parts I finally got Test.pm6 to compile and load.
Posted say "Hello World" works with the full setting. to Paweł Murias
Finally got the full setting to compile and load and 'say "Hello World"' works.
I'll write a bigger update once everything is cleaned up and commited.
Posted Rakudo.js update to Paweł Murias
I have added support for uncached methods (ones that are looked up dynamically by find_method on the metaclass instance rather then set by
Posted Short Rakudo.js update to Paweł Murias
Rakudo.js managed to parse (including running BEGIN blocks) all of the setting with an exception of one line that requires figuring out/measuring how to support uncached methods efficiently. (uncached methods are ones where we let the HOW handle the method call by running arbitrary code rather…
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.