»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend! Set by sorear on 4 February 2011. |
|||
00:06
Limbic_Region joined
00:16
cdarroch left
00:32
ymasory joined
00:43
demetro left
00:45
khisanth_ joined
00:46
Khisanth left,
khisanth_ is now known as Khisanth
01:19
ajs joined
01:27
woosley joined
01:34
jaldhar joined
01:42
wooden joined,
wooden left,
wooden joined
01:57
kid51 joined
02:00
whiteknight left
|
|||
kid51 | This question was just posed in #parrot: "can anyone recommend an article or document i can read to get started w/ nqp?" | 02:16 | |
sorear | perhaps the squaak tutorial; IIRC that was rewritten to use nqp not long ago | 02:22 | |
Why can't I define a subregex? | 02:23 | ||
method versus submethod and $~MAIN versus $~Regex are orthogonal in the implementation, but only three combinations are supported by the syntax | 02:24 | ||
kid51: ^ | 02:26 | ||
02:26
bubaflub joined
|
|||
sorear | hello bubaflub. | 02:30 | |
bubaflub | hi sorear | ||
sorear | weclome to #perl6 | ||
bubaflub | sorear: thanks | ||
someone in #parrot was asking for a resource on where to learn npq | |||
i pointed them to moritz++ 's blog | |||
any other suggestions? | |||
MindosCheng | Welcome to perl6! | ||
sorear | squaak | ||
bubaflub | i haven't done too much nqp myself | 02:31 | |
great | |||
MindosCheng: thanks. | |||
02:31
starcoder left
02:32
ymasory left,
starcoder joined
|
|||
bubaflub | sorear: anything besides squaak? or is it perl6-ish enough that general perl6 stuff will do? | 02:36 | |
02:36
arlinius joined
02:44
kid51 left
02:48
leprevost joined
02:49
ymasory joined
02:50
dayangkun joined
02:59
Limbic_Region left
03:09
wooden left,
icwiener left,
agentzh joined
03:21
dayangkun left,
dayangkun joined
03:23
bubaflub left
03:27
Su-Shee left
03:28
Su-Shee joined
03:31
ymasory left
03:47
aesop joined
03:51
mtk left
03:53
Chillance left
03:59
mtk joined
04:05
ajs left
04:12
bubaflub joined
04:13
leprevost left,
lue left,
leprevost joined
04:14
lue joined
04:22
bubaflub left
04:25
aesop left
04:27
leprevost left,
donri left
04:35
ggoebel joined
04:44
aesop joined
04:52
justatheory left
04:53
aesop left
05:02
kanishka joined
05:05
aesop joined
|
|||
mberends | hi sorear, I have been following your gtk remarks and also read some documentation. I would with regret ignore gtk3 for now because it is not "ready" in the same way that Perl 6 implementations are not "ready". The Gnome developers decided at their latest conference in March 2011 to postpone the release of stable gtk 3.0 to September 2011 so that the team have time to improve it. | 05:08 | |
The Ubuntu developers had already decided not to base their 2011.04 release on gtk3 because of shortcomings in its implementation whose details I do not know. It would not be a wasted effort to target gtk 2.x in the meantime because the changes, though numerous, are evolutionary, not revolutionary. To paraphrase, gtk3 is still gtk. | |||
05:16
aesop left
|
|||
mberends | To minimize installation dependency hurdles I would recommend burning a LiveCD out of www.debian.org/CD/live/ not because lots of people use it, but because what it contains as base libraries is common to the greatest number of derived Linux distributions. It is a quick way to temporarily start up a perfectly clean and standardized reference platform to discover what you need to install to get your own project running on almost everyone else's | 05:17 | |
computer. I just hope that your computer with 384MB ram is happy booting it. | |||
05:29
aesop joined
|
|||
woldrich | Heh, I'd recommend email :) | 05:39 | |
05:39
kanishka left,
noganex joined,
mtk left
05:43
noganex_ left
|
|||
sorear | eh? | 05:53 | |
(hi) | |||
(I'm back) | |||
06:12
Mowah joined
|
|||
mberends | rakudo: my $d=42; say ++$d++; say $d | 06:14 | |
p6eval | rakudo 4bf132: OUTPUT«4344» | ||
mberends | sane | 06:15 | |
niecza: my $d=42; say ++$d++; say $d | 06:16 | ||
p6eval | niecza v4: OUTPUT«===SORRY!==="++" and "++" are not associative at /tmp/foKy_STZ64 line 1:------> my $d=42; say ++$d++⏏; say $dUnhandled exception: "++" and "++" are not associative at /tmp/foKy_STZ64 line 1:------> my $d=42; say ++$d++⏏; | ||
..say… | |||
sorear | stds++ | ||
stds-- std++ | |||
mberends | so is ++$d++ a misfeature? | 06:17 | |
diakopter | pugs: my $d=42; say ++$d++; say $d | 06:18 | |
p6eval | pugs: OUTPUT«*** Can't modify constant item: VInt 43 at /tmp/6lHe3DZPjU line 1, column 15-21» | ||
06:21
gabiruh joined
|
|||
sorear | mberends: i'd call rakudo's failure to handle :assoc<non> operators a bug | 06:22 | |
mberends | yes, it is an unwanted surprise to users accustomed to the C style norms. | 06:24 | |
rakudo: say "misfeature".WHAT ~~ "bug".WHAT # with loaded questions you can prove anything ;) | 06:27 | ||
p6eval | rakudo 4bf132: OUTPUT«Bool::True» | ||
06:34
Exodist joined
|
|||
Exodist | whats the terminology for a... compund object would you call it? that thing based on quantum something.. Where a variable may be one thing, or it may be the other, depends on what is needed when it is used? | 06:35 | |
I ask here cause I know I read about it somewhere in the perl6 spec... | |||
mberends | junction? | 06:36 | |
Exodist | thats it, thank you. | 06:37 | |
06:38
birdwindupbird joined
|
|||
moritz | good morning | 06:39 | |
Exodist | got another 20 minutes till it is morning here | 06:40 | |
mberends | hi moritz | ||
sorear | Exodist: the correct answer is "allomorphic" | 06:41 | |
TimToady++ taught me that word | |||
Exodist | Is it just me, or has this channel shrunk significantly since I was last here (couple months I think, wow...) | 06:42 | |
moritz | /names says 197 nicks... I don't think that's much less than it used to | ||
I kinda remember it having around 130 | |||
diakopter | it was higher, but then a giant netsplit ate a bunch I think | ||
sorear | s/netsplit/channel takeover/ | 06:43 | |
moritz | giant net squid | ||
Exodist | octocat snezed | ||
*sneased | |||
sorear | (on the plus side, they made enough noise that we were able to convince #freenode to drop the channel and set new metaops) | ||
Exodist probably needs to go to bed before he spells more words that way... | 06:44 | ||
sorear | sneezed. | ||
Exodist | oh, it was litterally taken over at some point? | ||
sorear | yes, some twerp stole 'audreyt' and /kicked out all the lurkers | 06:45 | |
Exodist | ... I don't know whats more [blank stare] about that, the fact that the person did it, or the fact that he got audreyt's account.... | 06:46 | |
woldrich | what's wrong with people. | ||
sorear | au|irc doesn't use audreyt anymore | ||
audreyt was never registered | |||
Exodist | brb, dog needs out | ||
then how did th account gain ops? | |||
*really brb this time | 06:47 | ||
sorear | "effectively" | ||
06:47
Teedev joined
|
|||
diakopter | the account 'audreyt' was never registered, to clarify what sorear said | 06:47 | |
sorear | Exodist: have you been gone long enough to miss the new implementation? :> | 06:48 | |
Exodist | sorear, most likely, I started a new job bac in december, I think thats when I was last on | 06:51 | |
(back) | |||
sorear | I had already started for a while in December | ||
Exodist | how did the account get ops if it was never registered | ||
sorear | Exodist: you don't need to register an account to give a nickname persistant ops | 06:52 | |
Exodist | sorear, I think I stopped paying attention though a month or 2 before that as my faux go at it fizzled (back as my new language attemp is ramping up, though its not perl6) | ||
sorear, my misunderstanding, I assumed that since it wasn't registered it was never used, and thus should not have had ops. | |||
and that the person came in and convinced someone to op them | 06:53 | ||
sorear | niecza: "foobar" ~~ / [ foo | \w+ ] { say "got here: $/.pos" } / | ||
p6eval | niecza v4: OUTPUT«got here: Cursor()<instance>.pos» | ||
sorear | niecza: "foobar" ~~ / [ foo | \w+ ] { say "got here: $/.pos()" } / | ||
p6eval | niecza v4: OUTPUT«got here: 6» | ||
sorear | look! LTM! | ||
Exodist | been so long since I looked at perl6 grammars stuff that I am a bit rusty, but I remember LTM being a hickup, so congrats | 06:54 | |
sorear | "hickup"? | 06:59 | |
06:59
dayangkun_ joined
|
|||
Exodist | bad word use on my part, they were difficult. | 06:59 | |
diakopter | hiccup | ||
Exodist | bas language abuse on my part :-) | 07:00 | |
*bad | |||
wow, I really should probably call it a night. | |||
07:00
dayangkun_ left
07:26
Teedev left
07:51
nymacro joined
|
|||
tadzik | self.awake :) | 07:51 | |
sorear | hello tadzik | ||
tadzik | hmm, I wouldn't actually mind a longer timeout | 07:52 | |
hello sorear | |||
07:52
Mowah left,
woosley left
07:55
sftp left
07:56
sftp joined
|
|||
dalek | ecza: 891ede5 | sorear++ | lib/Kernel.cs: Incremental method table generation for single inheritance |
07:58 | |
ecza: 6128027 | sorear++ | lib/ (2 files): New multiple dispatch model Proto and dispatch subs are now inferred at MRO construction time, instead of always deferring set calculation to call time. This opens the door to lexical multis and type-based dispatch. |
|||
sorear asleep soon; looks forward to trying to get those things in tomorrow | 07:59 | ||
08:24
Teedev joined,
Teedev left
08:29
birdwindupbird left
08:36
birdwindupbird joined
08:46
frettled joined
08:51
marcio_ferreira joined
09:05
dayangkun left
09:07
dayangkun joined
09:28
masak joined
|
|||
masak | yo zebrists. | 09:28 | |
phenny | masak: 01 Apr 23:10Z <Tene> tell masak about ethanschoonover.com/solarized | ||
masak | Tene: that page is beautiful, and perfectly captures the kind of color esthetic/awareness I'd like to see in my color picker. | ||
just like CRUD screens are thoughtless and user-unaware, most of today's color pickers are tailored to bits and bytes, not to brains. | 09:29 | ||
Tene | I thought you'd like that. I'm always glad when I get things like that right. | 09:30 | |
:) | |||
masak | :) | ||
I'm pretty good at mentally deciphering a six-digit hex number into an actual color. but on some deeper level, I don't *care*. | |||
moritz finds the text on that page slightly difficult to read, due to lack of contrast | |||
masak | moritz: ssh! it's scientific, so it can't be wrong! :P | 09:31 | |
but yes, I agree. backgrounds needn't be #fff, but text should be #000, or so near as making no difference. | 09:32 | ||
I thought I'd try making a Yapsi release today. I just need to run a small errand first. | 09:33 | ||
Tene | masak: and your thoughts on the reverse? | ||
masak | Tene: sorry, could you rephrase that question? | ||
Tene | masak: given light text on a dark bg, does the bg need to be #000? does the text need to be #fff? | ||
masak | hm. | 09:34 | |
I... don't know. would need to experiment a bit with that. | |||
moritz is not good at design, but good at identifying bad design | |||
masak | Tene: but I generally have that kind of setup in dark environments at night, and then I think colors need not be bright at all. a #777 text would probably be fine. | 09:35 | |
Tene | 'k | ||
masak | I think I'd definitely prefer the bg to be #000 in that case. | ||
& | 09:37 | ||
09:40
bacek left
09:41
orafu left
09:45
orafu joined
09:55
_twitch joined
10:08
benabik_ joined,
benabik left,
benabik_ is now known as benabik
10:14
agentzh left
10:21
MayDaniel joined
10:24
LarsTorben joined
|
|||
LarsTorben | !!! DAS neue LINUX www.snowlinux.de THE NEW linux !!!!! | 10:24 | |
10:24
LarsTorben left
10:25
araujo left
|
|||
masak | LarsTorben: you might want to consider a PR strategy for your product that doesn't piss people off. | 10:26 | |
sorear | masak: you need to set your client to ignore things said by people who immediately quit after talking | 10:28 | |
dalek | ecza: f6aa8d6 | sorear++ | / (3 files): Use new dispatcher API when compiling protoregexes |
10:29 | |
ecza: 58a9396 | sorear++ | lib/Cursor.cs: Remove old protoregex handlers |
|||
10:30
bacek joined
|
|||
dalek | ecza: 2eec5c9 | sorear++ | test2.pl: Test multi regex without proto regex |
10:35 | |
masak | sorear: interesting notion. I wonder if my client does that. | 10:36 | |
10:51
MayDaniel left
10:54
allbery_b is now known as geekosaur,
benabik left
10:56
benabik joined
11:00
benabik left
11:01
benabik joined
|
|||
moritz finds it hilarious that spammers are too silly to even include a http:// in their URLs | 11:10 | ||
11:15
karupanerura joined,
Chillance joined
|
|||
masak | moritz: he was in a hurry! no time for protocol. :P | 11:19 | |
11:21
whiteknight joined
11:36
kanishka joined
11:37
birdwindupbird left,
birdwindupbird joined
11:38
birdwindupbird left,
birdwindupbird joined
11:39
birdwindupbird left,
birdwindupbird joined
11:42
kanishka left
11:43
envi joined
11:49
birdwindupbird left,
birdwindupbird joined
11:50
birdwindupbird left,
birdwindupbird joined
11:53
Patterner left
11:54
lateau joined
11:55
Psyche^ joined,
Psyche^ is now known as Patterner
11:56
lateau left,
lateau joined
11:58
ggoebel left
12:01
kanishka joined
12:04
benabik_ joined,
masak left
12:05
benabik left,
benabik_ is now known as benabik
12:06
kanishka left
12:19
dayangkun left
12:22
Axius joined,
kanishka joined
12:31
ccc joined
12:39
cjk101010 joined
|
|||
felher | How would one let rakudo run all tests in perl6/roast and get an overview? Is there already something or should one just script something like: >> for i in **/*.t; do rakudo $i 2>&- 1>&- || echo "test $i failed"; done << | 12:52 | |
moritz | TEST_JOBS=3 make spectest | 12:53 | |
tha's the list of known tests | |||
erm, tests that are known to pass | |||
and if you want to run ALL tests, use 'make spectest_full' | |||
felher | moritz: Ah, it clones roast. K, thnx! | 12:55 | |
13:00
kid51 joined
13:11
sftp left
13:31
Axius left
13:32
sftp joined
13:34
araujo joined
13:42
Mowah joined
13:45
arlinius left
|
|||
tadzik | brainstorming. Modules go to lib/, execs go to bin/, where do generic things go, like examples? res/, misc/? | 13:48 | |
13:51
Axius joined
13:56
Axius left
13:59
Axius joined
|
|||
woldrich | examples/ ? | 14:01 | |
tadzik | well, something more general I suppose | ||
woldrich | that's where I put mine. And most other people as well, as far as I can tell | ||
tadzik | seen supernovus | 14:02 | |
aloha | supernovus was last seen in #perl6 74 days 16 hours ago saying "Well, that set of optimizations seems to have helped, went from 1m16.339s with the old page generation method to 0m41.936s with the new one.". | ||
woldrich | doc/ ? | ||
14:02
kid51 left
|
|||
tadzik | woldrich: where would you expect such things to be after you installed a module? in ~/.perl6/where? | 14:02 | |
woldrich | I wouldn't expect it to be installed at all ... | 14:03 | |
tadzik | int eresting; | ||
woldrich | str ange? | 14:04 | |
tadzik | !at-all | ||
I see that supernovus puts those in docs/ | |||
14:04
ajs joined
|
|||
ajs | Hmm... so it an April fools post is published on a blog no one reads, is it still funny? essays.ajs.com/2011/04/clamchowder-...shell.html | 14:05 | |
;-) | |||
*if | |||
woldrich | I'd prefer doc, without the 's' suffix. :p | ||
important stuff, this | |||
tadzik | I guess I'll implement it and see who complains | ||
yeah, doc/ feels more unixy | |||
I wonder how creepy would it be to install /doc.+/ | 14:06 | ||
woldrich | I assume you know about the good old File::ShareDir? | 14:07 | |
tadzik | I don't think so | 14:08 | |
woldrich | might be worth reading the docs, then | ||
14:10
arlinius joined
14:13
lateau left
14:30
kanishka left,
hudnix left
14:33
risou joined
14:36
Axius left,
jimmy1980 left
14:41
hudnix joined
14:44
czp joined
14:49
czp left
14:55
JimmyZ joined
14:56
ccc left
15:08
marcio_ferreira left
15:15
justatheory joined
15:21
jimmy1980 joined
|
|||
sorear | good * #perl6 | 15:23 | |
tadzik | hello sorear | ||
15:25
marcio_ferreira joined
|
|||
tadzik | loliblogged! ttjjss.wordpress.com/2011/04/02/abo...d-friends/ | 15:26 | |
15:26
Axius joined
|
|||
sorear reads the TPF GSoC 2011 ideas list | 15:36 | ||
moritz | tadzik: the META.info spec looks fine... with some small nits as always :-) | 15:46 | |
tadzik: for one github doesn't like your links to json.org - not sure if that's your fault or github's | 15:47 | ||
tadzik: the second is that I'd rename s:g/repo/source/ because when we support links to tarballs, "repo" will sound oh so wrong | 15:48 | ||
tadzik | I don't know either | ||
right | |||
moritz: wanna commit bit? | |||
moritz | sure | 15:49 | |
tadzik | OTOH, s/repo/source/ will be oh-so-painful to make everyone migrate on it now | 15:50 | |
so repo-* should stay supported, yet deprecated | |||
moritz: done | |||
(the commit bit) | 15:51 | ||
sorear studies Perl6MultiSub | 15:52 | ||
moritz | tadzik: what do you think of making source-type optional, and use the schema to guess the type? | 15:57 | |
tadzik | moritz: wfm | ||
TimToady | sorear: you mean rakudo's obsolescent Perl6MultiSub? | 16:00 | |
PerlJam | what does "optional" mean exactly? When it can't be guessed, it's required? | ||
sorear | TimToady: how so? | ||
TimToady | the old MD didn't go via proto | 16:01 | |
and there was no way to ref to &foo for the collective list | |||
*refer | |||
tadzik | PerlJam: I meant "the module manager may make use of it, may not" | 16:02 | |
TimToady | that's why we respec'ed it to use 'dispatch' routines several months ago | ||
tadzik | Panda displays it on `panda info`, ignores it in every other case | ||
sorear | well, I'm actually just interested in the dispatch algorithm | ||
esp. the minutae of candidate list sorting | |||
TimToady | ah, that parts pretty good | ||
*' | |||
PerlJam | tadzik: This META.info is *only* for modules or could it be used for installed programs too? | 16:03 | |
tadzik | PerlJam: oh, it's for everything. Ufo uses it too | ||
TimToady | I don't know how many of the minutae have been carried over to 6model yet... | ||
though certainly 6model is better formed at the higher levels | 16:04 | ||
16:06
nymacro left
16:07
marcio_ferreira left
|
|||
moritz has a git fail | 16:08 | ||
I can't seem to push my commit | |||
willt ry something else | |||
tadzik: pushed | 16:09 | ||
16:14
donri joined
16:15
JimmyZ left
16:17
jimmy1980 left
16:20
justatheory left
16:21
jedai_ joined
|
|||
TimToady wanders off to tear off more bits of his house... | 16:22 | ||
16:22
jimmy1980 joined,
jimmy1980 left
|
|||
[Coke] | oooh, destruction. That part is fun. | 16:23 | |
16:23
jimmy1980 joined,
jimmy1980 left,
jimmy1980 joined
16:24
birdwindupbird left
16:25
risou left
16:26
sbp joined
16:27
ymasory joined
|
|||
tadzik | moritz: why the new branch? | 16:34 | |
moritz+= want to discuss my GSoC proposal a bit in a while? | 16:38 | ||
16:48
pmurias joined
|
|||
pmurias | sorear: mildew had multimethods implemented mostly in Perl6 | 16:49 | |
phenny | pmurias: 01 Apr 00:29Z <sorear> tell pmurias AFAICT GSoC doesn't like 'exploratory programming' much. We don't know if the CL-backend will still have decent performance after you make 1 + "2" work | ||
16:49
Axius left
|
|||
pmurias | sorear: see github.com/perl6/mu/blob/master/v6...RE.setting | 16:51 | |
16:59
_twitch left
17:00
Rotwang joined
17:02
sbp left,
sbp joined
17:16
tylercurtis joined
|
|||
felher | Where is defined how sub-routines like print/say work? (Are they even sub-routinges at all?). I noticed that they behave differently than they did in perl5 (e.g. say; doesn't print $_ anymore). | 17:18 | |
17:22
karupanerura left
|
|||
tylercurtis | In S32/IO. Perl 6 gets rid of all (I think) of the implicit argument stuff from previous versions of Perl. Instead, there's a general implicit invocant syntax for calling methods on $_ more conveniently. | 17:23 | |
So, .say insteadd of say; | |||
17:25
enigma_ymee joined
17:32
icwiener joined
17:33
pmurias left
17:43
lionheart joined
17:46
enigma_ymee left
|
|||
sorear | tylercurtis \o/ | 17:54 | |
tylercurtis | sorear: Hi. | 17:58 | |
18:04
lionheart left
18:08
MayDaniel joined
|
|||
sorear | tylercurtis: how are things for you? I'm excited, MMD in Niecza is *really* close now | 18:09 | |
18:18
sbp left,
sbp joined,
sbp left,
sbp joined
|
|||
felher | tylercurtis: Oh, k, thnx. :) | 18:20 | |
tylercurtis: btw: seems to be S16/IO. | 18:27 | ||
18:27
envi left
|
|||
colomon | sorear++ | 18:28 | |
18:46
icwiener left
18:47
icwiener joined
|
|||
tylercurtis | sorear: Things are good for me. I think this quarter my courses will be significantly less demanding time-wise, so I might actually start working on Perl 6 or Parrot-related things once more. | 18:53 | |
sorear | yay! | ||
19:01
icwiener left
19:03
GinoMan joined
19:12
cjk101010 left,
pmurias joined
|
|||
pmurias | sorear: have you decided if you will apply for GSoC this year? | 19:13 | |
19:18
justatheory joined
|
|||
sorear | pmurias: I haven't seen anything I really want to apply for | 19:18 | |
19:21
jevin left
|
|||
pmurias | sorear: and doing a niecza related project? | 19:21 | |
sorear | EINSUFFICIENTGOALS | 19:23 | |
pmurias doesn't really know what to apply for too | 19:26 | ||
19:33
justatheory left,
justatheory joined
19:39
icwiener joined
19:45
VXZ joined
|
|||
sorear | rakudo: multi sub foo(:bar(:$quux)!) { }; foo(:quux); say "alive" | 19:46 | |
p6eval | rakudo 4bf132: OUTPUT«alive» | ||
sorear | rakudo: multi sub foo(:bar(:$quux)!) { }; foo(:bar); say "alive" | ||
p6eval | rakudo 4bf132: OUTPUT«No applicable candidates found to dispatch to for 'foo'. Available candidates are::(Any :quux(:bar($quux))!) in main program body at line 22:/tmp/g7rVbbaDBi» | ||
sorear | I broke rakudo's MMD engine ... | 19:47 | |
moritz submits a bugreport | 19:55 | ||
sorear | moritz: the bug (which I noticed in the code while trying to read it) is around perl6multisub.pmc line 259 | 20:00 | |
moritz: if a parameter has 2 or more names, it is not safe to make the assumption that (the whole signature can only match if the first name is present) | 20:01 | ||
it's a slightly bogus optimization | |||
moritz | agreed | ||
20:17
marcio_ferreira joined
20:20
jevin joined
|
|||
pmurias | sorear: you have seen mildew's MMD implementation? | 20:22 | |
sorear | pmurias: yes, but I don't really understand how the mildew bootstrap works | ||
pmurias | some classes are defined in C+DSL | 20:23 | |
other ones that use those are written in Perl 6 | |||
mildew is written in Perl 5 so it doesn't bootstrap | |||
sorear | also, current versions of mildew are incompatible with current versions of gcc | ||
even with -O0 gcc 4.4 wants >2GiB to compile the .c file resulting from MildewCORE | 20:24 | ||
pmurias | the performance from the code generated by mildew was horrible so there is not much use trying to get it to work | 20:25 | |
sorear: there is a second backend in mildew that generates much smaller C files (arrays of bytecode, rather than giant switches) | 20:26 | ||
sorear: the tricky part in the boostrap of the mildew object system is that the 'use adhoc-signatures' makes the signatures be simpler objects implemented in C rather full signatures (which are a class written in Perl6) | 20:28 | ||
sorear | ahah | 20:29 | |
did mildew/smop do gather? | |||
pmurias | don't remember | 20:30 | |
it had everything that was need for that for sure | |||
coroutines etc. | |||
sorear | How did coroutines work with 'polymorphic eval'? | 20:31 | |
pmurias | polymorphic eval is basically 'while 1 {invoke the current couroutine}' | 20:33 | |
* coroutine | 20:34 | ||
perl5 interop worked using Coro | |||
dalek | ecza: d9d73c9 | sorear++ | / (2 files): Parse "multi method" correctly, add basic type-MMD tests |
||
ecza: 39cf462 | sorear++ | lib/Kernel.cs: Implement MMD longname extractor |
|||
pmurias | continuations would have require adding a .clone method to coroutines | ||
sorear | sounds a lot like the for (;;) { th = th.code(th); } at the heart of niecza | ||
pmurias | yes, seems to be the same thing | 20:35 | |
is .code polymorphic? | |||
sorear | yes | 20:37 | |
niecza requires a rigid format for the frames; they aren't general MOP-objects | 20:38 | ||
pmurias | niecza seems to have a lot in common with smop, with more things hardcoded (so faster) and loads more opcodes instead of having things in C | 20:42 | |
the main reason i stoped working on smop/mildew wasn't any big design problems but that writing a compiler+vm by myself didn't seem a fun/sensible thing | 20:44 | ||
with niecza using .net you don't have to worry with things such as writing a fast garbage collect | 20:45 | ||
using reference counting was a design problem | |||
as it's really a pain to debug | |||
sorear | I was under the impression reference counting was a sacrifice to allow p5interop | ||
pmurias | one of the plans was to integrate p5 and smop really closely (add a ->RI pointer to SV*) | 20:48 | |
sorear: reference counting is not nessary for p5interop but helps | 20:49 | ||
sorear: and use p5 types for strings etc. | 20:50 | ||
20:50
justatheory left
|
|||
pmurias | it might be fun to try that with niecza and a (rewritten) smop at some point | 20:51 | |
20:55
Patterner left,
cjk101010 joined
20:56
arlinius left,
Psyche^ joined,
Psyche^ is now known as Patterner
|
|||
pmurias | sorear: the other reason besides p5 integration for using reference counting is that writing a fast gc is a hard thing | 20:56 | |
21:02
GinoMan left,
sftp left
21:03
arlinius joined
21:08
MayDaniel left
21:09
sftp joined
21:11
starcoder left,
starcoder joined
21:20
jevin left
21:22
jevin joined
21:37
aesop left
21:44
zer0o joined,
bacek left
|
|||
sorear | moritz: Is it a known bug that Rakudo doesn't implement "constrained multis are called in order and are never ambiguous"? | 21:49 | |
plobsing | I know that bug. I complained about it previously. That's one of the reasons the multi-ackerman example on rosettacode is broken. | 21:51 | |
22:00
pmurias left
22:17
aesop joined
|
|||
Tene | phenny: tell masak to look at vimeo.com/channels/stanfordvis#19185801 | 22:18 | |
phenny | Tene: I'll pass that on when masak is around. | ||
22:20
starcoder is now known as starfoo
22:23
aesop left
22:24
Mowah left,
cjk101010 left
|
|||
sorear | plobsing: okay. | 22:34 | |
sorear is not quite following how the sorting process is intended to work | 22:35 | ||
consider the dag A -> B -> C, A -> D | |||
there are two total orders consistant with this, thus two possible outcomes from "topological sorting" | |||
1. A, [B,D], C | |||
2. A, B, D, C | 22:36 | ||
actually I miscounted | |||
22:36
aesop joined
|
|||
sorear | 3. A, B, [C,D] 4. A, D, B, C 5. A, B, C, D | 22:36 | |
Rakudo produces #1, but they're all wrong | |||
if the capture in question rejects A, then B and D are tied candidates; however, #2, #3, #4, and #5 will erroneously consider one to have won | 22:38 | ||
if the capture in question rejects both A and B, then C and D are the tied candidates, but #1, #2, #4, and #5 will fail to detect this | |||
sorear pokes TimToady, jnthn, pmichaud | 22:39 | ||
22:40
Rotwang left
|
|||
cognominal | sorear is back to BASIC? | 22:40 | |
22:43
starfoo is now known as starcoder
|
|||
sorear | cognominal: I don't get it | 22:48 | |
cognominal | en.wikipedia.org/wiki/PEEK_and_POKE | 22:50 | |
I probably betray the generation I belong to | 22:51 | ||
and my last line is a literal translation from French and sounds wrong in English :( | 22:53 | ||
23:00
spooneybarger joined
|
|||
sorear | cognominal: other than the tense (should be 'betrayed'), that line is completely fine | 23:03 | |
23:04
zby_home_ left
|
|||
dalek | ecza: 2bdc3ff | sorear++ | / (2 files): A few more MMD tests |
23:04 | |
23:07
spooneybarger left
|
|||
cognominal | Indeed, according to the american heritage dictionary, except for the "deceive" denotation, the various meanings are the same as French. | 23:29 | |
23:54
jasonmay left
|