Welcome to the main channel on the development of MoarVM, a virtual machine for NQP and Rakudo (moarvm.org). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
coleman Anyone interested in a Meson-based build? github.com/MoarVM/MoarVM/issues/1795 00:53
02:04 MasterDuke joined
MasterDuke i've never used meson, don't really have an opinion 02:14
coleman I'm gonna give it a shot. I'll post questions as they come up while I work in my fork. 02:16
MasterDuke cool
coleman So it doesn't seem like we're doing huge amounts of codegen. Just a few additional source files from Configure.pl and make? My analysis: github.com/MoarVM/MoarVM/issues/17...1996299090 03:48
Voldenet I'm guessing that configure.pl wasn't supposed to grow to be this large 06:53
but it kept growing with features
github.com/dontlaugh/MoarVM/blob/a...nfigure.pl 06:55
…started as short as expected
though I've never used anything that was as pain-free as Configure.pl 06:59
08:28 MasterDuke left 08:38 sena_kun joined 11:49 lizmat_ joined 11:52 lizmat left 11:53 lizmat_ left, lizmat joined 12:34 patrickb left 12:35 patrickb joined
ugexe coleman: does macOS come with python? or would we expect users to need to install python as a dependency, which is unlike the current perl situation? 13:02
i'm not sure i'd be thrilled at having to install a scripting language to install raku, although thats already the case on windows so 🤷 13:03
lizmat % python --version 13:04
zsh: command not found: python
% perl --version 13:05
This is perl 5, version 30, subversion 3 (v5.30.3) built for darwin-thread-multi-2level
ah, looks like that is a local one 13:06
% perl --version
This is perl 5, version 28, subversion 0 (v5.28.0) built for darwin-2level
looks like MacOS doesn't install python by default
% uname -v 13:07
Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:31 PST 2024; root:xnu-10063.101.15~2/RELEASE_X86_64
ugexe you are still running x86 mac?
lizmat x86 on my MBP, 1 on my MacMini 13:08
*M1
ugexe (not relevant to the perl/pythong thing, just thought you had something newer)
lizmat % uname -v
Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:34 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8103
Voldenet Hm, if meson requires python then that's pretty bad actually 13:20
sh or perl are fine though 13:21
otoh most people really only need binaries, so it depends if meson is lifechanging 13:23
ugexe yeah, honestly it’s only a matter of time before macOS stops shipping Perl although it might be many years away 13:29
lizmat also: bash as an alternative on MacOS would confine you to an old(er) version: discussions.apple.com/thread/25217...ortBy=best 13:37
[Coke] my mac has a /usr/bin/perl (5.30.3) 13:45
Nicholas my (works) mac has 5.30. and 5.34 and /usr/bin/python3 13:50
but also plenty of "binaries" in /usr/bin are written in perl. eg /usr/bin/fuser
lizmat aha!
% python3 --version
Python 3.9.6
Nicholas Looks like there would be a *lot* of rewriting for Apple to get rid of /usr/bin/perl
lizmat % python3 --version 13:51
Python 3.9.1
that last one on the x86
so it looks like there's python on MacOS after all, if you know how to invoke it :-)
coleman If this ever becomes a PR it will live side by side with the Perl, for sure. It's been a while since I set up a new mac. Do you still have to run that xcode-tools-install thingy to get clang or system headers? 14:41
I've never had any trouble building MoarVM. The Perl actually looks awesome. I even put together my own custom build container just to run the docs site CI. This is just an experiment to stay ahead of the curve. 14:47
lizmat coleman: yes 14:49
coleman I could imagine a scenario where some new distro or OS comes along that breaks the perl build but not a Meson one, or the other way around. If a library moves or isn't packaged the same way, etc. Options here can help maintenance. Building C wil always be an effort. :D 14:50
Anyways, this will take a long time. I'll update the issue with questions as they come along. 14:51
[Coke] coleman++ 16:20
18:11 tbrowder_ joined 18:12 tbrowder left, tbrowder_ is now known as tbrowder, jjatria left, xiaomiao left 18:13 xiaomiao joined 18:26 jjatria joined 19:42 ugexe left, ugexe joined 21:47 sena_kun left 21:49 sena_kun joined 23:22 sena_kun left