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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
