Archive for May, 2009

Now that I’ve shown how to build a cool .Format() method for strings, we can put it to good use in a lot of places. In batch scripting, it’s really nice to be able to make nearly every call support replacement arguments in a consistent fashion. In cmd.exe batch scripts, we use %var% all over [...]

Monday, May 18th, 2009 at 13:19 Comments Off

I’ve just finished tweakin’ out the PGO (Profiled Guided Optimization) build script for PHP on Windows to crank out the thread-safe version of PHP as well. So, now you can test PHP 5.3 RC3-dev PGO optimized for Windows with Apache 2.2! What’s the difference between thread-safe and non-thread-safe? The non-thread-safe version of PHP should be [...]

Monday, May 18th, 2009 at 12:14 Comments Off

Last time, I wrote about synthesizing an #include facility along with handling environment variables in a trivial way. This time, let’s look at filling in a couple more gaps in JScript’s basic scripting functionality. What’s wrong with String? The String class in JavaScript/JScript is … ok. If you work in .NET enough, you’ll eventually get [...]

Friday, May 15th, 2009 at 16:14 Comments Off

As I mentioned a few days ago, I chose JScript to script of the optimized PHP build process that I’ve built. JScript in-box on pretty much every modern Windows operating system, and provides a great deal of flexibility and benefits for a scripting language: – it’s syntax is C like. Very tasty. – it gives [...]

Friday, May 8th, 2009 at 10:02 Comments Off

Howdy, I’ve been working for many months with Pierre Joye“”well really, many people in the PHP community–on getting PHP to run faster on Windows. Pierre has been working rapidly on upgrading libraries (Pierre pioneered the work to get PHP and its hoard of dependent libraries updated and properly compiling on Windows), replacing old POSIX-emulation code [...]

Thursday, May 7th, 2009 at 13:14 Comments Off

Right now, I’m automating an optimized build process for PHP on Windows that requires a substantial amount of scripting to create the results that I’m looking for. I wrote the first master script in CMD’s batch script, which gave me almost satisfactory results. Almost. Finding myself with the need to recreate the build script, I [...]

Monday, May 4th, 2009 at 13:54 Comments Off