Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TimJYoung
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
511.
▲
by
TimJYoung
16y ago
The author is referring to the LockFile API call, which only supports exclusive byte-range locks, vs. the LockFileEx API call, which does support shared byte-range locks, but is only available on the Windows NT variants (NT 4 and above), no
512.
▲
by
TimJYoung
16y ago
Thanks. That's what I thought, but I'm fairly new to PHP, and wasn't entirely sure.
513.
▲
by
TimJYoung
16y ago
Thanks for the response. I knew that PHP was reference counted, but what I was asking (not particularly well) was more along the lines of: is it possible to have objects live longer than the scope of a single script ? IOW, is there a poin
514.
▲
by
TimJYoung
16y ago
Most developers that I know of that have been using OO languages for some time, including myself, also usually start with the data items being dealt with and proceed from there. In fact, it's not particularly natural to do it any other way
515.
▲
by
TimJYoung
16y ago
Question: when are PHP's object destructors called ? I can see some issues with external resources if an object instance hangs around until it is garbage collected. PHP might not have an issue with this if it does GC for every page load,
516.
▲
by
TimJYoung
16y ago
I agree. Most OO implementations are simply the foo instance data combined with a pointer to a table of foo function/method pointers that keep the foo functions in a nice tidy location, Throw in some scoping rules enforced by the compiler
517.
▲
by
TimJYoung
16y ago
I'm going to ask the same questions as others - are you looking to start a company, and if so, will you need a steady supply of local talent, or will you need to find employment in the tech industry ?