« first day (3805 days earlier)      last day (1137 days later) » 
00:00 - 18:0018:00 - 00:00

PoW blockchains are fundamentally stupid.
 
1:12 AM
Congrats @Girgias \o/
 
Thanks :D
 
What should we congratulate him for @MarkR? :)
 
400th php/php-src commit
8
 
D:
Congratulations
:D
\o/ confetti bomb
 
I'll pay you 10 grand if you add generics as your 401th commit :P
 
1:17 AM
hahaha
 
Ouch, that'll be hard, working on intersection types tho, but the variance code is making my brain fry
 
Any suiggestions on how to find a sugar momma / daddy that would finance my project?
xD
I'm tired of my job and I just want to shoot myself every day
 
@Girgias Check your discord.
@ln-s Is it a million dollar app idea?
 
Education never pays that much does it
I'll leave that to ecommerce
Don't know if it's a million dollar idea, it's what I want to do
(don't really care)
@MarkR Do you get paid millions of dollars for contributing to PHP?
 
@ln-s I don't get paid millions of dollars full stop lol
 
1:28 AM
hahaha
well then why do you do it, for the ho's and the fame or what xD because you enjoy it I would suppose
same in my case
 
I've derived the overwhelming majority my income from working in PHP, I have a vested interest in its continued success and development
 
SO you have a source of steady income which doesn't requires the majority of your time
so you are your own sugar daddy
yeah ?
 
Oh god no, it requires almost every waking moment I have. I spent most of the past month working 15 hour days :|
 
Sure, still you are getting paid for doing what you enjoy yes ?
I get paid for doing stuff that I absolutely hate
I'm thinking of just using my own savings for it, it's kind of suicide but at least I would have a good time
Then I would probably divorce for the third time and call myself Carlos and live in a cave on a random country feeding from roadkill
 
So a suicidal app idea... sure that'll get all the investors flocking :P
 
1:40 AM
hahaha
Nah it's a good idea, I kid, I just need the right kind of investor
 
1:58 AM
@Girgias πŸŽ‰πŸŽŠβœ¨β­
 
:D
 
Should send you a bottle of champagne :P do you have an Amazon wishlist?
Danack has one
Or a some-kind-of-wishlist that doesn't require me to increase my GitHub sponsorship for one month x_x basically some way to do a one-off thing
 
He spends all his github sponsorship money on hair products. True fact.
 
I wish I could donate more, but sponsoring four people :/
 
2:14 AM
@Tiffany A few days ago wallstreetbets decided to cash out a bunch of stocks and all sponsored various gorillas and such
The charity suddenly got a couple of hundred thou in sponsorships
 
Gorillas? Like real gorillas?
That's amazing
 
I want to find the video they posted to wallstreetbets now...
 
2:29 AM
@Tiffany Don't bother about Champagne if I want some I'll get in France for cheap (and good one at it) but I've got a Paypal which is in € as I haven't really thought about making an Amazon whishlist as I don't have any thing I really want ATM lol
 
Derick's is full of expensive alcohol
 
3:22 AM
@Trowski I voted "no" on Fibers just now; just wanted to let you know I was really conflicted and it's as supportive of a "no" as is possible :)
I am surprised Nikita and Dmitry have not voted yet.
And, I may change my vote yet. We'll see.
 
AAAAAAA This variance check is killing me
 
@Girgias I implemented it and I hated it too.
 
I'm trying to add intersection types to it
 
So many subtleties.
 
I've got some parts of it handled
But then more stuff comes up ;_;
 
3:37 AM
@LeviMorrison Might I ask what your concerns are?
 
3:56 AM
Huh ARM is working on porting the JIT compiler to their platform
 
 
3 hours later…
7:09 AM
@Girgias oh they emailed, that is very nice
 
Well that's how I learned about it :p
But yeah that's pretty nice
 
7:41 AM
 2314       if (__glibc_unlikely (misaligned_chunk (p)))
 2315         malloc_printerr ("do_check_malloc_state(): "
 2316                  "unaligned fastbin chunk detected");
this is being raised by pcov ... pcov has one call to calloc to allocate zstr (using zstr macros) ...
I can't reproduce the actual error, but does this seem like it could be internal ... it only started happening in 8.1
(I'm told)
 
8:20 AM
enum Suit {
    case Hearts;
    case Diamonds;
    case Clubs;
    case Spades;
}

var_dump(array_unique([
    Suit::Hearts,
    Suit::Hearts,
    Suit::Diamonds,
    Suit::Clubs,
]));
Would you expect this to work? Currently it does not, because array_unique doesn't support objects (that don't implement __toString)...
 
8:39 AM
@IluTov No, I wouldn't expect it to work
 
@NikiC But should it work? :P
 
I mean, I would expect it to work, but I know better -- it's a general problem that has no relation to enums imho
@JoeWatkins No asan / valgrind errors?
Could well be a php-src problem, but I think from a malloc assertion failure all we can really conclude is that "some kind of memory corruption is going on somewhere" ^^
 
9:01 AM
it seems to be a table dtor freeing memory allovated with hash_add_mem @NikiC
I got it... nevermind ..
 
I have no idea whether that is an actual pcov issue, I just thought to try that because it was on my mind just now ^^
 
it might be related ...
if you have a minute, can you reproduce with head of develop ?
ha, nevermind, I made it worse ...
 
Baseline: Reproduces on release when I also enable opcache
And on develop, yeah, things crash hard :D
 
9:18 AM
fa3bb62f728bcdd8be2ddcef37f785d79ca63014
might fix it ... I can't reproduce most of this wierdness ... and I'm pushing all the buttons for everything ...
 
@JoeWatkins That seems to have done it
 
cool, thanks for testing ...
 
10:09 AM
Moin moin
 
10:34 AM
@LeviMorrison Out of interest, why did you vote no on fibers?
I'm still somewhat undecided on that one...
Partly because ext/ffi is being cited as the precedent for merging an untested extension into core, and I can't say that went particularly well.
 
@NikiC Why are you doubtful of it
 
@IluTov yes, but no. It should work, but I know it doesn't… but that's probably more given my experience with internals than as an user
 
10:50 AM
JimmieBeave ・ *General Issues ・ #80875
 
11:07 AM
Morning
 
11:48 AM
> the image compression tlityype.
@cmb some software needs to come with a mental health warning.
 
cmb
heh
 
12:02 PM
morns
 
Compile errors/warnings with unixODBC ・ PDO ODBC ・ #80876
 
12:40 PM
I hate how many desktop apps these days are just web apps with a shit browser and no refresh button
 
1:03 PM
imageinterlace(): Argument #2 ($enable) must be of type ?bool, int given ・ GD related ・ #80877
 
@Jeeves "just to annoy you".
 
I have given the guy a friendly warning not to be an asshat
and before anyone says anything, yes it will definitely be a guy.
 
@DaveRandom I'll switch to DM, but you should prepare to receive some threats of violence from him.
 
awesome
I will prob just ignore as I am not good at stopping myself responding in kind to things like that
 
and to follow up on what I said on list, so I contacted the police in the UK, but apparently the process is for when someone receives a threat of violence, for the police in their country to investigate, before asking for co-operation from the country where the asshat is.
which obviously isn't going to happen due to the police not having infinite resources. So someone in Austria needs to make a complaint.
But as the guy is mentally ill, it's a big ask for someone to get involved.
1 message moved to friendly bin
 
1:21 PM
@NikiC It's an interesting thing, and it looks like there was a good amount of userland testing in all the AMP packages, and react. But I still have concerns with production viability, and am worried similar to how FFI went.
/cc @Trowski
I'm hoping to play with it a bit more in the evenings this week to see if it changes my mind, but I'm kinda busy so it's hard to say how much play time it will get.
 
@Jeeves Well, fuck the guy in that bug report, but fair cop the docs were wrong. Fixed, but not going to respond to the ticket.
 
cmb
1:37 PM
@Sara the docs are correct for PHP 7; that change was likely to gross regarding strict_types. @NikiC, should we change to bool|int (and deprecate int)?
 
Yeah, I did notice that the type change was a wee bit aggressive.
null|bool|int, specifically, btw
And I'd be okay with that change. It won't hurt 8 as it expands the accepted set, but it'll help migrations as the bug reporter so.... eloquently put it.
 
@LeviMorrison TBF, I'd vote again yes on FFI - I always had the feeling it was something experimental - and it was - stabilized over time; the API was fine generally.
 
@cmb However, I do think we should break it juuuuust a little bit to piss this guy off more. How about we have it return bool?
 
cmb
that function signature is badly broken; why did it deal with int in the first place?
 
@cmb no
To be clear, the user in question is rhsoft
 
cmb
1:52 PM
But how to deal with it for PHP 7.4 and 8.0 (strict_types)?
 
@cmb ? true : 1
 
cmb
I mean the parameter.
 
You mean in the documentation?
Document as bool and indicate int in changelog, as we did in many other places I believe?
@bwoebi The API was not fine, unfortunately
And it did not change
 
cmb
But this means one has to imageinterlace($im, PHP_MAJOR_VERSION >= 8 ? true : 1); or am I missing something?
 
Yes, that is correct
 
cmb
1:55 PM
well, I call that ugly, though :)
 
It is, and will go away in time
 
cmb
okay, but what about the ?int return; shouldn't that be ?bool as well?
 
@cmb It should indeed
 
@NikiC That 100% checks out.
Now my money is on him explicitly looking for BC breaks just to bitch about 'em
 
2:09 PM
@LeviMorrison @NikiC Fibers have been very well tested by all the Amp packages. Packages like http-client and postgres have many concurrency tests. The context creation switching code is based off boost, which is not as complicated as you might think.
 
Also noticed github.com/php/php-src/commit/… while there
 
You could grab v3 of http-server and do a few stress tests on the examples.
 
php.net/manual/en/ref.dba.php#48382 would this comment be okay to delete? I don't see the example the comment refers to on either this page or the dba_open page
 
FFI is a bit cumbersome in that CData is almost like a stdClass and needs a wrapper to get support from IDEs and static analysis tools.
It's also a bit annoying that most functions have ZEND_SEND_PREFER_REF arguments, and try to sneak in changing the value I pass in the argument.
I can't come up with a better, more complete API, so I'm using what I have. It's not what I cannot use...
 
@sj-i The PREFER_REF is exactly what I had in mind
 
2:12 PM
@NikiC I don't think you should have put this on an active branch (8.0): github.com/php/php-src/commit/…
It sucks that we didn't make that bool for 8.0.0, but you've broken the return type in a patch release.
 
@LeviMorrison @NikiC API I'm really confident about, since it is basically a mirror of Ruby fibers.
 
@Sara I'd consider it a bug that it accepts and returns a different type
 
Can a composer library (B) include package A and A also includes B ?
I suppose that would be a redundant dependency ?
 
Changing a method return type is not possible due to inheritance, but for free-standing functions I think this is mostly harmless?
 
cmb
I agree that this is more like a bugfix, but OTOH I don't like to document "returns bool as of PHP 8.0.5". Then again, the function is likely rarely used, and the return value is not properly documented anyway (returns the int which has been set, prior to PHP 8.0.0).
 
2:19 PM
@NikiC That's... a reasonable argument. Still feels like too much break potential for too little benefit.
 
@cmb Ah, this is one of the completely useless functions that returns back the value you pass it, instead of the previous value, right?
 
cmb
yeah, right
 
Oh shit. It totes does, doesn't it?
 
Probably not really intended to be used as a combined getter and setter, only as getter or only as setter
 
/facepalm
Well, more likely it folds any non-zero int to 1, since it round trips through the object, but still.... /facepalm
 
2:23 PM
@Sara true
 
cmb
nope, internally the value is stored as int, not as bitfield
 
/me boggles
 
heh
 
Ah, gd... bless your heart.
 
So basically, this is a completely typical PHP function :)
 
2:24 PM
Checks out.
 
cmb
imageinterlaced is just a thin wrapper of libgd.github.io/manuals/2.3.1/files/…
and that is a macro
<?php
$im = imagecreatetruecolor(8, 8);
imageinterlace($im, 2147483648);
var_dump(imageinterlace($im));
?>
int(-2147483648)
 
hahahaha
 
cool so it overflows to the negative end
:D
Speaking of which
will be ever have uint
 
Probably not.
 
sigh ...
 
2:29 PM
@cmb Oh god, what a terrible BC break we introduced. You can no longer use imageinterlace to truncate integers!!!
I was relying on that for all my code :(
 
public function test(int $num) { if($int < 0) throw new \Exception("Number must be greater than 0"); } boring to have to do that
 
Requisite mention of: xkcd.com/1172
Horrible idea, but.... side-load it into generics?


#[ArgValidator]
function positive($value): void {
($value > 0) or throw new \ValueError("Value must be greater than zero");
}

function test(int<positive> $num) {... }
 
This clearly calls for #[Positive] int
 
Ah, yeah, that fits better.
 
I'm more familiar with uint
but sure
 
2:34 PM
Different feature
int that is non-negative and uint are different things
uint would be able to represent large integers
 
Sure
 
@ln-s A->B->A is not rendundant, it's a circular dependency. Typical dependency graphs should be DAG (directed acyclic).
 
why not ?
 
Also, nit-pick. "positive" and "non-negative" are different sets
 
@makadev Wondering if it's possible
But I don;t think so, and yes I meant circular
yes positive and uint are different

public function test(int $num) { if($int < 0) throw new \Exception("Number must be greater or equal to 0"); } boring to have to do that
better
@Sara
 
2:39 PM
Point though being that uint only covers the non-negative case. Validator attributes potentially cover far more.
#[Attribute(Attribute::TARGET_PARAM), Validator]
class GreaterThan {
public function __construct(private int $limit) {}
public function validate(int $value): bool { return $value > $this->limit; }
}
 
Sure, still that's userland I wanted something in core
:)
 
@NikiC Well, in that case - except that I'd liked some native preprocessor capabilities from header files - I could not find major issues when toying with ffi myself …
(only pain point probably being the callbacks, but that's … known?)
 
@ln-s No.
Stop asking for the kitchen sink to be bundled.
 
hahaha
ok
 
Put on your big girl pants and install composer.
 
2:48 PM
<3
 
It's. Not. Hard.
 
I know
Guess you don't enjoy sprinkles in your ice cream cone, totally fine @Sara
Wouldn't say it's a whole kitchen sink
 
cmb
@bwoebi it's even documented :)
 
if you want the kitchen sink bundled, just write ext-kitchen-sink and propose it for inclusion in case anyone wants to use kitchen-sink ... don't forget to include buzzwords ...
 
Blockchain
That name will geft it merged in like 2 secs
And let's please don't forget about AI
 
2:58 PM
yeah, you get it ...
 
ext-dogecoin
 
you win the internet, again ...
 
Now that's something that should get put in core. Elon Musk would fund PHP for the next 500 years if you did.
 
@IluTov enums is good to go apart from dmitry's nits
 
I feel like we're building on a wobbly foundation, taking ffi as an example of anything is clearly bad, if you were watching when ffi was actually rolled out ... I wouldn't want to go as far as an exception in the rfc process ... but it feels wrong to be bundling more untested, unproven, barely-understood-by-anyone code ...
that 40 odd people that couldn't read or write the code think it's a good idea to merge it doesn't increase my confidence one single bit ...
 
3:05 PM
probably the main difference is that Dmitry doesn't talk to people....whereas the people behind this RFC have been, including doing things like 'writing documentation' for their code...rather than dumping it and leaving users to figure it out.
 
there was nothing wrong with the way dmitry responded to the various problems that were discovered, the problem is that we deployed those problems in the first place, because we skipped the due process of proving an extension is a suitable candidate for inclusion in the first place ...
 
cmb
@Tiffany ah, yes; I deleted it right away :)
 
Fibers does just one thing though. It's has a fraction of the complexity of FFI.
 
cmb
@JoeWatkins the main argument was that Dmitry wouldn't be able to maintain FFI unless it is in core. Might not have been the best argument, in hindsight.
 
everything does one thing ... it doesn't really matter, like loc doesn't matter ... the fact that between one and a half and two projects have made use of the extension as it was (afaik amp and some sort of react work has happened) isn't enough to say "yes, let's deploy this barely understood thing to millions of servers" ...
 
3:13 PM
@ln-s One thing isn't a kitchen sink, but every god blessed month someone wants some one-line function included in core and it's.... tiring.
str_contains() was when I properly snapped on this topic.
println() is the latest example
 
makes sense to snap on such a thing
snapping to a primitive heh ... not so much but it's ok if you don't want it
I would never suggest make_me_coffee
 
Doesn't this have a BC break with inheritance? wiki.php.net/rfc/mysqli_bind_in_execute
@Trowski Is the vote for including this as ext/fiber? or into Zend or..?
 
@JoeWatkins That's a fair point of view. Do note that unless you explicitly use fibers, nothing about PHP has changed. Those millions of servers won't be suddenly unstable. IMO, async PHP will always be a second-class citizen if it keeps being viewed as a hack instead of having core support.
 
you know you don't control that
the people that build PHP will control it, and they likely won't be persuaded to disable the new shiny thing because a file named EXPERIMENTAL is shipped with it, or it's disabled by hardcoded configuration ... it's their job to provide the shiniest version of PHP that they can by default ...
 
@LeviMorrison I wasn't sure what made the most sense. Does it matter? I guess as ext/fiber it can be disable, which is fine.
@JoeWatkins Yes, but it doesn't affect existing code unless you explicitly use it.
 
3:21 PM
if you can provide it as ext/fiber, the need to ship it evaporates ... the argument that you need to provide an API is just a nonsense, you can provide an API as an extension, install headers ...
 
@JoeWatkins I don't really recall making that argument.
 
I thought I read that the need for it to be in core is so that third parties can interact with it ?
so what exactly is the reason it can't be an extension, or what is improved by bundling it, maybe I misunderstand something ?
 
Cannot remember if I said morning so... Morning!
How are all of my Room 11 friends?
 
Mar 13 at 17:51, by Trowski
@Crell JIT compatibility, some issues with error reporting and handling which an extension can't manipulate, better handling of destroyed fibers (the extension overloads a the catch handler, adding overhead), the ability to allow other extensions to use fibers, integration with profilers and observers.
 
> the ability to allow other extensions to use fibers, integration with profilers and observers.
that's not true
 
3:25 PM
Yep, I guess I did in chat :)
 
Well... it's sort of true. Optional dependencies are not great for extensions...
 
@Sara I think str_contains() and str_begins_with() only seem a big dael because we've struggled by without them for so long; using strpos() and carefully distinguishing between 0 and false was never really a good solution
if we had no string functions at all, I don't think it would be at all controversial to include those two
 
@LeviMorrison they're not great, if they are applicable to every extension in the world, in actual fact, they are applicable to about 5 projects, the maintainers of which are quite capable of writing the sort of build config required and I'll bet it doesn't increase the complexity of their build configuration by any appreciable amount ...
 
whereas even designing from scratch, I'm not sure I'd bother with both print and println in a web-oriented language
 
nevertheless it is not a reason, because you can do it ...
 
3:28 PM
@JoeWatkins You overstate my .m4 competency, ha.
 
the other things mentioned don't seem like very good justification to include new code, but seem like reasonable justification for improving the code we already have ...
 
For me the most compelling argument against extensions is that many companies won't install anything that isn't part of a LTS release.
Is that reason enough to put it in core… no. JIT compatibility and error handling are the more compelling reasons there.
 
what makes it incompatible with the jit exactly ?
 
The extension defines an opcode to do the fiber switch. Any extension that defines an opcode turns off JIT.
Plus the opcode for the catch handler, though that's more of an implementation detail that can go away if it were in core.
 
you can surely find solutions to this ...
 
3:31 PM
@Sara eh, str_contains is great :P
prtinln is ... less great
 
@Sara str_contains immediately replaced about 150 occurrences in my code (thx phpstorm), and my code is better for it.
 
@NikiC Yay, I'll fix those tonight tonight and merge the PR, finally.
 
@JoeWatkins Perhaps there's another way to do it, yes. I don't have nearly the internals knowledge that you do.
 
@Sara While I'm not a fan of println simply because PHPs primary sapi isn't cli, I think we're a bit too resistant to small DX improvements.
 
the story about extensions being installed or not depends entirely on them being in the Yum / Apt repositories. People install memcache/memcached/phpredis in droves, because its just one apt-get install php-memcached away
so the responsibilty lays with remi and ondrej :)
 
3:43 PM
Yeah, I get it. Companies don't want to have to deal with the complexity that compiling software themselves can bring, so they avoid it, even if it is really simple like most extensions.
 
@Trowski i believe the places where you hardcode Zend integration would be the places where you put a hook into that ext-fiber then registers on. That should be the extend of the difference between ext-fiber and direct Zend integratin
you don't hav ea patch yet with the changes you would do in Zend/ to alleviate the problems you mentioned above or?
 
@beberlei Ah yeah, so really it almost has to be in Zend because otherwise I'm stuck using things like the user opcode handler.
 
its really hard to tell what and what not works without code ;)
 
there's a weird disconnect between how php.net categorises extensions (required -> bundled -> PECL/third-party) and how Linux distros categorise them (required -> everything someone makes a package for -> really obscure things)
 
some extensions arent even in pecl and are in distributions and well used, like the php-memcache fork for 7+ (that might have changed at some point)
 
3:48 PM
@beberlei No, I don't, I was hoping for some guidance as to the best approach.
 
@Sara Agree, it's a tiny bit better than strpos, but it's something which should just be an in operator instead of a bloated function
 
you should do that work first imo ... make the changes necessary and expose api so that you can remain an extension ... I doubt dmitry will accept a patch that merges into /Zend ...
I mean that's necessary, someone has to do that work, and it should be you ... personally I think you're mad for pushing forward if you can make those problems go away (and you definitely can do that) ... why does an extension that's trying to build a user base want to adopt the php release schedule, even given you'll be given a wide birth if marked experimental, we can't change the schedule for you ...
 
@JoeWatkins Generators are in /Zend, I don't see why fibers shouldn't be there … especially with them needing an own opcode
 
you're forcing those first users, core users some might call them, to wait for one month for a bug fix
 
The user opcode to initiate a fiber is used here as the initial function for the new vm call frame. Is there a better way of handling that?
I think you looked at that before @bwoebi and said that was the best way, but maybe that was in the context of being an extension, or the simplest, or…?
@JoeWatkins I don't see this as a volatile API, so that doesn't terribly concern me.
 
4:01 PM
array_key_exists is obsolete ・ Documentation problem ・ #80878
 
I think FFI was also an example of an API that's stable because another language uses it ... weak ... the api can be stable, but there is no way you have tested in the various environments that this will be deployed too as part of src ... you can't really expect there to be no mistakes, oversights, bugs, or fire ... there's going to be some fire ...
 
@Jeeves "obsolete"
 
@JoeWatkins a big difference though is that ffi had no real-world testing at all … ext-fiber is tested, has actual integration into a large library (react/amp) … maybe not yet for years, but the initial fires are already put out at that point
 
@Trowski you know I think this stuff is really cool, I'm glad you done the work so far, of course I am ... but "that's a cool extension" is much different to "let's ship it" ... and I knew when I voted that it wouldn't make a difference ... but I do think mistakes are being made not only that harm src but also potential users of the shiny new thing ...
 
Isn't that why @Trowski offered to have it marked as "experimental" and "no API guarantees" for 8.1 ?
 
4:06 PM
Will there be some platform specific bugs, I'm certain, but several people have been testing it on different platforms.
@Derick Partially yes, but also due to a few edge-case considerations like the error handling level I mentioned in the follow up email.
@JoeWatkins It has been tested on the popular platforms, I can at least say that. There's no way though I can say "there won't be bugs."
 
just put yourself in the shoes of Joe Bloggs who discovers this new thing and decides to use some of his life to play with it, he hits a bug, which of course you fix in 60 seconds ... he still has to wait 30 days before he can deploy that fix ... now think about how frustrating that will be for you, knowing you fixed it, and the guy who used some of his life is probably now going to forget about it, and if he doesn't, if he ever discovers a second bug he would be mad not to walk away ...
and never look again, given his limited time under the sun ... which you've proven you are happy to waste in 30 day chunks ...
 
cmb
if it's in PECL, the bug might be fixed within 3 days, or might not be fixed within 3 years; this bug, for instance, would likely have been fixed for PHP 7.0.0alpha1.
@beberlei I think it's in PECL for more than a year. :)
 
4:46 PM
@JoeWatkins I've definitely been in his shoes and of course that is frustrating. However, I think the pros outweigh that con.
Something can be said too for automatic updates of bundled software. Perhaps it's more likely he already has a prior bugfix because his distribution updated the bundled PHP version.
 
5:03 PM
@JoeWatkins that's typically what a beta is for?
getting some battle-testing out of some new software with the expectations that it's not perfect yet
 
@NikiC "This requires some small changes to shutdown order. I have a patch for this already and plan to apply it afterwards." Do you want to fix this before or after I merge the PR?
I know the word afterwards is there, I just wanna make sure :)
 
@IluTov after
 
@cmb: https://github.com/libgd/libgd/issues/688#issuecomment-801232410

wow!
This explains why, when I look at PHP's equivalents of GD .c files, the main difference I notice is substituting zend_()* for a given GD function
this seems quite doable, too
 
cmb
5:38 PM
@BenMorss I don't understand. There are a few occurances of zend_error(), but otherwise there shouldn't be any zend stuff. Relevant differences are due to gdhelpers.h, mostly.
 
@LeviMorrison Do you mean production viability of concurrent PHP code or of the C code for fibers?
 
What CPUs do people use for coding?
 
I use a 3900x, rarely find it stresses even when doing full compiles with -j24
 
5:54 PM
Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
6 cores, mark has 12
 
@Dharman 3950x
 
Is 3950x better than 3900x?
 
It's the 16 core variant
 
Yeah, but is there a noticable difference when compiling on 16 cores?
 
Well, I haven't tested side by side, but compilation is "embarrassingly parallel" so it tends to scale with core count
 
5:58 PM
I have an... i5 6600 :S
 
/cc @Derick to show us up
 
hmm?
 
Your CPU is the best :P
 
Not anymore... it's old
 
You're running 24 core threadripper I seem to remember?
Do you still get full utilization when compiling
 
5:59 PM
My i5 is about five years old...
 
00:00 - 18:0018:00 - 00:00

« first day (3805 days earlier)      last day (1137 days later) »