00:05
arkiuat joined
00:13
arkiuat left
|
|||
Voldenet | it's not actually impossible to compile raku into binaries - in fact given some specific AST it's possible to write C directly from it | 00:16 | |
generating C from tiny subset of the language should be trivial due to having built-in parser for it | 00:19 | ||
for example "all types must be defined, only Str and Int are supported, only simple subs" should be relatively easy, types for scopes, signatures would need to be practically implemented in C | 00:24 | ||
otoh, scopes, dynamic variables, await can't be written in trivial C, so that'd require bundling the whole raku runtime - it's not impossible to generate bytecode and use this path | 00:27 | ||
00:27
arkiuat joined
|
|||
Voldenet | at some point I was planning to build some poc of embeddable raku (something like PerlInterpreter), it would definitely make this more feasible | 00:30 | |
arkiuat | some Str somewhere isn't getting initialized. I think this is the kind of thing that made me flee *brew and scurry back into MacPorts (which hasn't updated rakudo since v2025.05) | 00:33 | |
Voldenet | hm, is there any stack trace? | 00:34 |