text stringlengths 0 1.17k |
|---|
[2711.36 --> 2716.54] sort of touched on both of them already but um yeah the absent abstract syntax tree is something |
[2716.54 --> 2723.24] like i said nikita's working on um this like this never this used to never matter to me when i was |
[2723.24 --> 2729.18] working on uh regular php's engine um because i'd look at the compiler and i'd say well you know it |
[2729.18 --> 2734.16] gets the job done it probably makes it faster not to have this intermediate representation it's fine |
[2734.16 --> 2740.14] we can just compile an expression here's a ternary statement okay make emit the off codes for a ternary |
[2740.14 --> 2744.60] statement why do you need an extra abstract representation and then i started working on |
[2744.60 --> 2751.12] hhvm and i saw people who really understood how to write compilers and i saw the the way this abstract |
[2751.12 --> 2758.30] syntax tree got used in the process of compilation i'm like oh that's why that makes a lot of sense |
[2758.30 --> 2764.70] we can do a lot more optimization we can do we can do a lot fewer hacks to make these expressions work |
[2764.70 --> 2771.78] we can make things just function right without being inscrutable and i look back at the the the |
[2771.78 --> 2777.90] zen engine and i say you know there are some parts in here that are kind of kind of messed up um and and |
[2777.90 --> 2782.28] the ast is going to help us fix that it's not going to be anything visible to end users nobody's going |
[2782.28 --> 2788.92] to know what's gone in uh but it's going to make uh our life as as php engine developers a lot simpler |
[2788.92 --> 2794.40] all right let's pause the show for a minute give a shout out to a sponsor we've been working with |
[2794.40 --> 2800.48] top top for a very long time these guys are super awesome and i kind of wanted to take a moment and |
[2800.48 --> 2805.24] pause this for a bit and rather than just kind of give you an ad about what they're doing and what |
[2805.24 --> 2810.04] they're about i kind of wanted to tell you a personal story and part of that personal story is |
[2810.04 --> 2815.12] telling you a little bit about my day job so beyond just the change log and what we do here |
[2815.12 --> 2824.12] i have a full-time job at a non-profit called pure charity and uh we have a rail stack and earlier |
[2824.12 --> 2830.60] this year we had some uh developers leave the company and we had a big push coming for the |
[2830.60 --> 2838.46] summertime for for a a uh a new feature we were working on and uh it hit me that that we should |
[2838.46 --> 2844.36] call upon our awesome friends at top towel um and just to kind of give you a snapshot top towel |
[2844.36 --> 2852.04] is a matchmaking service for really awesome developer opportunities and developers to get |
[2852.04 --> 2859.48] started so we had a need for some really great ruby and rails developers and top towel helped us |
[2859.48 --> 2867.84] find developers that fit not only our budget but also our culture our coding style all sorts of things |
[2867.84 --> 2873.62] and long story short they basically perform magic because these people we work with i'm gonna give a |
[2873.62 --> 2879.72] shout out to them real quick if you don't mind guillermes uh andre and jafael all listeners of the |
[2879.72 --> 2888.44] changelot too by the way these guys are phenomenal good people good coders and just great all around |
[2888.44 --> 2894.28] great and i have to say thanks to top top because they made this possible and if you've been thinking |
[2894.28 --> 2900.30] about freelancing if you're thinking about uh trying out a new technology or you wanted some flexibility |
[2900.30 --> 2907.58] in your work life balance and doing some travel top towel is a great place to be an elite engineer |
[2907.58 --> 2913.40] go to top towel.com slash developer to get started and tell them the changelog sent you |
[2913.40 --> 2923.20] and um totally i think it might be completely left wing here but you also wrote lib ssh2 do you want |
[2923.20 --> 2928.46] to touch on that real quick before we start to tell the call um yeah i mean that's really nothing |
[2928.46 --> 2933.26] nothing particularly php related except in that um at the time i was working on a lot of streams |
[2933.26 --> 2939.68] work in php um streams are sort of this abstraction layer we have underneath all the fopen fread fwrite |
[2939.68 --> 2945.06] those sort of calls um so that you can work with different sorts of resources so you can do something |
[2945.06 --> 2950.86] like fopen an http url and that'll talk http to the remote server and you can fread off of that |
[2950.86 --> 2956.46] remote network resource and it's great um i thought gosh how cool would that be if i could do that with |
[2956.46 --> 2964.94] like scp um s s ftp no f yeah sftp files sorry it's been a while since i even touched this library |
[2964.94 --> 2973.26] um sftp files or scp resources or just even be able to ssh into a system and send a command to it |
[2973.26 --> 2979.86] you know how cool would that be um well i looked at uh open ssl and said can i actually you know pull |
[2979.86 --> 2988.94] a library out of this oh god oh god no oh god look away um open ssl is a lovely uh piece of software |
[2988.94 --> 2998.88] um but it's it's also got a very interesting code base um so i i ended up just going to uh ietf and |
[2998.88 --> 3004.48] i said where's the rfcs for secure shell oh here they are let's start implementing a transport let's |
[3004.48 --> 3010.36] start implementing a few channels let's start implementing this um next thing i know i've got |
[3010.36 --> 3016.00] this entire you know client side library for connecting to ssh servers um so that i can |
[3016.00 --> 3021.26] shove it into php and then promptly not use it because while it's cool it's actually not that |
[3021.26 --> 3027.98] um you know practically useful for anything that i'm working on um it was just sort of i was working |
[3027.98 --> 3032.60] for the university at the time and the thing about working for uh public institutions is that you have |
[3032.60 --> 3041.76] um very relaxed goals and extra time on your hands um which is actually how i own getting |
[3041.76 --> 3047.46] involved in php in the first place it sure seems like uh you enjoy diving in deep and getting into |
[3047.46 --> 3053.60] the nitty-gritty is that fair to say well i like understanding what i'm working with um you know i i |
[3053.60 --> 3060.88] i will search google for how to's and documentations with the best of them but if i'm really going to do |
[3060.88 --> 3065.50] something with something i really want to understand how it works underneath um on the hhvm project right |
[3065.50 --> 3072.78] now my main job is to make php a good open source project which really means i don't have to look at |
[3072.78 --> 3078.96] much of the code at all theoretically um i can work on the build system some of the runtime library apis |
[3078.96 --> 3084.18] things like that but i don't need to get down into the jit and start issuing machine code instructions |
[3084.18 --> 3090.46] uh to do what i need to do for my job but gosh i'd actually like to understand how that stuff |
[3090.46 --> 3097.76] actually operates wouldn't i so um so i have so i've i've got uh commits down in there and i now |
[3097.76 --> 3108.66] for no further use in my life probably uh have the abis for uh intel x8 x64 architectures and arm v8 |
[3108.66 --> 3117.54] uh i know that the first six integer arguments of a function call go to rdi rsi rdx rcx r8 and r9 |
[3117.54 --> 3123.98] the first eight simd registers go into xmm0 through xmm7 and then everything else goes on the stack |
[3123.98 --> 3130.40] um will i use that again probably not uh but it was fun to write the code that actually used it and it |
[3130.40 --> 3136.66] shortened our uh the compile time of one of our files from 100 seconds down to 10 so wow that was good |
[3136.66 --> 3142.94] that was good that was good that was really good yeah that was really good yeah we were using these |
[3142.94 --> 3148.48] recursive variadic templates which you know god bless c++11 it's a it's a beautiful extension to |
[3148.48 --> 3155.58] the c++ language but oh it hurt my head to read that thing like reading assembly was easier than reading |
[3155.58 --> 3162.98] this so that's saying a lot well after after listening to you talk for a while i'm sure uh you know there |
[3162.98 --> 3168.20] might be people out there to whom you're becoming their programming hero because you seem to have a |
[3168.20 --> 3173.80] lot of skills and a lot of knowledge i want to turn that on you and ask uh as we wrap up here uh |
[3173.80 --> 3177.88] who's a programmer that you look up to and that you would consider your programming hero |
[3177.88 --> 3183.52] oh well i'm glad you said look up to because the word hero is a really heavily loaded term for me okay |
[3183.52 --> 3189.16] um and i i'm not going to say i have programming heroes i definitely have people that i admire |
[3189.16 --> 3195.38] um a couple of people on my team that i just want to give shout outs to um mark williams um he's been |
[3195.38 --> 3200.40] on the project for a very long time he understands everything about um repo authoritative mode in our |
[3200.40 --> 3207.22] system and a bunch of the um the the weirdly arcane bits of our system when somebody has a question |
[3207.22 --> 3212.22] they go to mark because mark knows it top to bottom he's a really good compiler designer |
[3212.22 --> 3216.52] um and he's actually really friendly in his responses he's very generous with his information |
[3216.52 --> 3223.88] um similarly jordan delong i want to call out uh because this man knows the c++ spec by heart |
[3223.88 --> 3233.12] um he probably listens to it on tape every night um and and he like when when i when i come to him |
[3233.12 --> 3237.72] and i say you know i'm trying to solve this particular problem and um i i need to achieve |
[3237.72 --> 3242.84] these two things but i just don't see how they fit together he'll just be like oh well here and he'll |
[3242.84 --> 3248.00] scribble something on a piece of paper and he'll hand it to me and say try something like that i |
[3248.00 --> 3251.16] mean he'll explain it as well it's not as though he's just you know throwing a piece of paper at me |
[3251.16 --> 3257.06] but like he'll actually sketch out an implementation while we're sitting there and and and and say you |
[3257.06 --> 3260.48] could try something like this this will probably do what you want you may have to you know check the |
[3260.48 --> 3265.48] other thing over there um he smiles a lot he's a really friendly guy um so i definitely want to |
[3265.48 --> 3275.74] call those guys out um heroes gosh you know honestly anyone who who looks at a piece of open |
[3275.74 --> 3281.76] source software that they use that they make their living on that they that they uh that they care |
[3281.76 --> 3288.06] about at all and says i want to make this better i want to give back i want to do something that's not |
[3288.06 --> 3293.14] going to profit me immediately at all those are my heroes man like just open source developers in |
[3293.14 --> 3300.94] general like i love that there is this community out there and i i i had a conversation on the last |
[3300.94 --> 3306.66] night of oscon with with a guy i've known for a long time john kagashal um he's he's very concerned |
[3306.66 --> 3314.36] that some of our culture is getting lost um and some of some of our uh like collectively our uh commitment |
[3314.36 --> 3321.36] to to open source and and uh real open source is is getting sort of sucked up by the corporate |
[3321.36 --> 3325.46] machine um he actually made a bet with me that night we were standing out in an intersection in |
[3325.46 --> 3330.04] portland at like two o'clock in the morning shouting at each other um he made a bet with me he said i'll |
[3330.04 --> 3335.72] bet you 20 bucks facebook never actually lets go with the spec and never actually makes it you know a |
[3335.72 --> 3341.96] properly community open source thing and he emailed me after the uh the spec actually got released on |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.