« first day (4571 days earlier)      last day (377 days later) » 

1:45 AM
@bwoebi Have you followed Dmitry's JIT IR branch at all? Curious if it will be more accessible to contributors than directly emitting native code.
 
 
8 hours later…
9:52 AM
@Krzysiek maybe? my gut instinct is to say that it should be a dedicated syntax, because it feels like a 'language' thing.
 
@LeviMorrison I know about it yeah, I'm not sure about the accessibility … like it sort of is a step forwards and backwards at the same time. Like, yay for having to do things only once and it being less arch dependent and boo for it being another sort of DSL which is distant from the actual asm.
 
10:31 AM
hmm - a mildly insightful article about PHP devever.net/~hl/mildlydynamic
 
10:48 AM
@Danack I've started implementing with as $var
 
cool!
 
11:25 AM
I'm struggling to obtain closure zval in ZEND_VM_HANDLER, for now I'll try to make new closure from EX(func)->internal_function though I'm not sure this is a correct way of doing this.
 
tbh, that is almost certainly beyond my skill level to help with, but do you have a WIP for people to look at? as it's usually easier for people to answer questions about specific lines of code.
 
 
2 hours later…
1:15 PM
@bwoebi It seems like a big improvement to me in terms of maintainability (e.g. no manual jumps, not dealing with registers, single virtual arch). Having a separate optimization step also means it doesn't need all the special fast paths. Whether that results in better or worse performance, I don't know. The fact that it took me like a day to make a simple change to the current JIT (unlock readonly props during cloning) should be quite telling.
 
That's awkward, I've ran out of childs in zend_ast_decl :D
 
 
1 hour later…
2:47 PM
@Danack It works :) wip commit
 
@Krzysiek That's pretty awesome.
 
There is a leak somewhere and $f->call($class, 3); causes segfault, but works better than expected :)
 
As I said, I don't know much about the parser or that side of the engine, but that seems sensible-ish to me.
 
3:18 PM
I've created PR to keep track of progress
 
 
1 hour later…
4:46 PM
@IluTov okay, … have you tried to do that change on dmitrys branch as well? What was your experience?
 
 
2 hours later…
6:20 PM
@Krzysiek fyi....feel free to ignore that guy on the PR. He doesn't quite know how to behave properly.
 
Yeah, I'm aware
 
 
2 hours later…
8:04 PM
@bwoebi I haven't tried to change anything there, but it looks more understandable. But obviously that's a weak argument at this point :)
 
IGP
There's probably a better place to ask for this but does anyone have a link to a presentation about sql anti patterns and how to fix them? I remember coming across it while browsing some questions regarding postgresql and polymorphic relationships on SO, but can't sem to find it again and I'm beating myself up over not saving it that first time. It had examples on the implementation of adjacency lists, decomposing polymorphic relationships into proper foreign constraints and so on.
 
8:26 PM
Dec 3, 2020 at 14:46, by Danack
here are slide version of that book: https://www.slideshare.net/billkarwin/sql-antipatterns-strike-back
Dec 3, 2020 at 14:46, by Danack
@yessure couple of things - i) you should probably buy this book: https://www.amazon.co.uk/SQL-Antipatterns-Programming-Pragmatic-Programmers/dp/1934356557 ...let me find a link to a particular bit of it.
probably.
 
IGP
@Danack Right on the money. Thanks!
 
 
1 hour later…
9:55 PM
o/
 

« first day (4571 days earlier)      last day (377 days later) »