moarvm Questions

3

Solved

I am writing a library that uses NativeCall, it would be very convenient for me to be able to return a Raku Hash from an exported function. How can I do this? For example, in Ruby, if I wanted to r...
Garth asked 11/2, 2023 at 22:58

1

Solved

That is, variables like $*scalar, @*array and %*hash. I'm asking this question mainly because I want to have an idea of how much of a burden they are on the overall performance of the grammar/regex...
Suzerainty asked 19/9, 2022 at 21:49

1

Solved

I wonder if is possible to have only precompiled modules or some sort of MoarVM bytecode. The idea is to protect the source code at some grade - at least i don't want to be in plain text
Bauer asked 16/5, 2021 at 19:42

2

Solved

When running Raku code on Rakudo with the MoarVM backend, is there any way to print information about how a given Str is stored in memory from inside the running program? In particular, I am curiou...
Padre asked 2/3, 2021 at 20:41

1

Solved

I wonder how I can debug the Moarvm bytecode. Is there a document that describes for instance howto convert raku to moarvm and howto dump the generated bytecode. If i try to i.e. run: rakudo-m --ta...
Steroid asked 24/7, 2020 at 21:51

1

raku -version This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. Currently it looks like I can't start any Raku Perl6 program with a runtime lower than about ...
Mollescent asked 3/2, 2020 at 9:26

1

Solved

I'm rewriting my P5 socket server in P6 using IO::Socket::Async, but the data received got truncated 1 character at the end and that 1 character is received on the next connection. Someone from Per...
Wed asked 23/11, 2018 at 21:36

2

Solved

I have to run data analysis on about 2 million lines of data and each line about 250 bytes long. So total about 500 megabytes of data. I am running latest Rakudo on Virtualbox Linux with 4G memory....
Brister asked 3/8, 2018 at 16:49

2

I am playing with perl6 version which built on MoarVM on windows. I created some perl6 file and want to compile it to exe. I tried the following: perl6 --target=MAST r.pl>r Now I want to comp...
Weakminded asked 27/11, 2014 at 21:1

5

Solved

Running under moar (2016.10) Consider this code that constructs a set and tests for membership: my $num_set = set( < 1 2 3 4 > ); say "set: ", $num_set.perl; say "4 is in set: ", 4 ∈ $num...
Crum asked 26/11, 2016 at 4:32
1

© 2022 - 2024 — McMap. All rights reserved.