Paweł Murias
- About: This is my JavaScript backend for Rakudo/NQP blog.
Recent Actions
-
Posted Asking for Rakudo.js grant feedback to Paweł Murias
Work on the Rakudo.js grant has been completed and now I'm add the stage where community feedback is needed. It would be super grateful for Your feedback. You can provide it in blog comments on this post.
… - Posted Rakudo.js Final Grant Update to Paweł Murias
- Posted WIP Rakudo.js Final Grant Update to Paweł Murias
-
Posted Rakudo.js update - running tests in a real Chrome to Paweł Murias
What now works
(for testing purposes a Headless Chrome controlled by puppeteer).Our test runner is in ="https://github.com/pmurias/perl6-js-roast…
-
Commented on Rakudo.js update - hunting down failing roast tests
I'm using fibers because to avoid paying the performance price of using async/await all over the place when compiling the setting etc., with fibers you only pay when you actually use gather/take....
-
Posted Rakudo.js update - hunting down failing roast tests to Paweł Murias
Currently I'm working to getting rakudo.js to pass (our choosen subset of tests) in Chrome rather then on node.js.
The way the process works is that the Perl 6 test files get com…
-
Posted Rakudo.js mini update - Firefox support to Paweł Murias
One pain point when showing Rakudo.js was that it depends on a new version of Chrome due to using not yet everywhere native JavaScript big integers.
… -
Posted Rakudo.js update - running tests in the browser using Karma to Paweł Murias
After fixing some strangling bugs and implementing some unimportant but fickly to implement
things like basic support storing fetching and ++'ing int64/uint64 variables etc. (rakudo.js is 32bit be… -
Posted Rakudo.js update - it has been merged into master (plus 6pad unveiling) to Paweł Murias
After a round of code review the js branch has been merged into master.
In other good news 6pad is up (https://perl6.github.io/6pad/).…
-
Posted Rakudo.js update - running Perl 6 in the browser with Parcel to Paweł Murias
Rakudo.js i n combination with parcel.js now supports running simple stuff in the browser. See https://github.com/perl6/perl6-parcel-example for…
-
Posted GraalVM/Truffle backend update to Paweł Murias
Recent Perl 6 survey results that the top two most wanted features are better performance and JVM support. Luckily the Truffle backend promises to kill two birds with one stone. ;)
… -
Posted The start of the GraalVM/Truffle experiment to Paweł Murias
Recently GraalVM 1.0 been released which can run Ruby, JavaScript and other dynamic and static languages on top…
-
Posted Building Rakudo.js with JavaScript from the near future to Paweł Murias
Luckily for us the JavaScript language is constantly evolving towards being a better Perl 6 target (this is a general case of the world in general evolving in this direction).
… -
Posted Rakudo.js update - working source maps and adhoc fixes to Paweł Murias
The biggest recent change is that source maps after many fixes now worked for code loaded of disk and are good enough to compile the setting with them.
Work on rakudo.js… -
Posted Rakudo.js update - NFG / unicode collation and role bug fixes to Paweł Murias
Rakudo.js update - NFG, unicode collation and more bugfixes
Rakudo.js has been in bugfixing mode recently.
Rakudo.js now uses NFG (Normal Grapheme Form) semantics in some places.
This means some string operations treat strings as sequences of graphemes instead of unicode code… -
Posted Rakudo.js update - more test fixes and NativeCalls works a little to Paweł Murias
Rakudo.js now passes 74.91% of roast test (84% of the subset specified in the grant)
For example :i and :m modifiers in regexes now work a lot better and I have added dynamic quantifiers in regexes like … -
Posted Rakudo.js update - passes 64.65% roast test to Paweł Murias
Recently I have been working mostly on fixing bugs and making rakudo.js pass more roast tests.
… -
Posted Rakudo.js update - passes 56%+ of roast tests to Paweł Murias
Rakudo.js now passes roughly of 56%+ roast test files.
Getting some of them to work is requiring fairly deep changes.
For example native values need to be passed specially and maybe boxed in the called sub/method rather than… -
Posted Rakudo.js update - builds sanely and passes some spec tests to Paweł Murias
Rakudo.js now should build in much more sane manner and passes some tests.
In directory containing a checkout of the js branch of rakudo
Once you grab a node.js (tested with 7.10.0)
$ git clone https://github.com/rakudo/rakudo.git rakudo-js-fresh
$ git checkout… -
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
Current State
rakudo.js (Rakudo compiled to JavaScript) compiles 70% of the core setting.
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:
works butnode 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.
MoarVM d… -
Posted Short summary of the current state of the rakudo-js grant to Paweł Murias
nqp-js-on-js (NQP compiled to JavaScript and running on node.js) passes it's test suit (almost, there is a bug with how regexes compiled at runtime capture stuff which I haven't yet figured out).
… -
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).
- running…
Comment Threads
No responses to comments.
Responses to Comments from Paweł MuriasAbout blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.