Linked by Thom Holwerda on Sun 30th Sep 2012 20:15 UTC, submitted by MOS6510
General Development "The ObjectScript is a new programing language that mixes benefits of JavaScript, Lua, and PHP. The ObjectScript has syntax from JavaScript, multiple results from Lua, OOP from PHP and much more."
Thread beginning with comment 537182
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: Comment by YEPHENAS
by Alfman on Mon 1st Oct 2012 18:33 UTC in reply to "RE[3]: Comment by YEPHENAS"
Member since:


(Adding back my numbers for context)

2. Thread safety

"2. that isn't true. Pretty much every extension that is support on Windows has threading support."

It is true, at least on linux/apache, I've tested it myself, it was racy (I'm not referring to extensions either). If they've fixed it I'd really like to know from someone who's *thoroughly* tested a more recent version.

"2. on Unix/Linux a large share of Apache users still uses pre-fork of FastCGI. Thus threaded PHP does not gets a lot of testing. "

That's rather circular isn't it? I say we're stuck using pre-fork because of threaded PHP bugs, you say threaded PHP is buggy because we're still using pre-fork.

4. Magic quotes.

"4. is gone in 5.4."

Yea, it represents yet another compatibility breaking change. In a production environment a hosting provider cannot simply update to 5.4 and break all the installations of OS commerce etc, so many providers are still holding back, which is arguably the right thing to do instead of breaking client websites. My provider actually *still* assigns .php to PHP4 for this reason. For PHP5, we can use .php5 files. I suppose they could install PHP5.4 and make us use .php54 files or some .htaccess kludge, but we're only in this stupid situation because of the shortsightedness of PHP developers in the first place.

I am thankful that future code will be free of the magic quotes crap, but we're still in the fallout.

5. Lack of session concurrency.

"5. is depends."

...on what? Take a stock PHP installation, use the stock session handler, and it blocks like a mutex.

I'd hope PHP eventually solves all the technical shortcomings. In the end, it's a "good enough" language, but the mess with namespaces/function names is probably never going away.

Edited 2012-10-01 18:39 UTC

Reply Parent Score: 4