HHVM and Haswell

There is no question that PHP is the most popular language in use today to implement server code on web pages. Something like 80% of web sites are implemented using it. The extremely popular site Facebook has implemented their own PHP interpreter called HHVM, and they are doing code development on it as an open source project. Because of its performance and its open source methodology, it is also being adopted by sites other than Facebook.

PHP - the right tool for the job?

Today there is a profusion of computer languages targeted at different activities. It's important to choose the right one. A lot of programmers love Python because it's so fast to implement stuff, but it can be a pain to use to create a simple website. PHP is the most popular choice for implementing active content in a website. And it's rather obvious once you dig into it. As you create your web page in HTML, PHP code is very easy to stick into the HTML, such that when the page is rendered, the code is run.

My Reality Moment. Why Did I Ever Agree to Do This?

When I first took this job of leading our scripting languages area, the Reality Moment struck when I had my first real look at the challenges of dynamic languages. For example, if you compare two strings in a program, we have some new instructions in the processor which can make these go very fast. But unfortunately, if you compare two strings in PHP, you first need to determine if the strings could be interpreted as numbers. If so, you need to treat them as numbers.

The 0-Day Challenge: What is the Pulse of the Internet?

The core components of the Internet get updated constantly. Every time the source changes, the health and performance can change. A single source code change can fail to build, can break compatibility with existing code and can change the performance anywhere from a fraction of a percent up to 10% or more on major customer workloads. We're trying to read the pulse of our core components (Python, PHP, HHVM) every day. We call this our "0-day Lab". Here's how it works:

Exposing Processor Features to Dynamic Languages

Intel® for its part invests countless hours and billions of transistors to add features in our silicon products which will speed up people's lives. If only they knew how to take advantage of it! Part of our job in dynamic languages is what I call "putting the cookies on the bottom shelf". Make this advanced technology easily consumable, and show you the value of it so you can be sure to use it.

Contra Costa College - Intel - Student Code for Good Virtual Hackathon '13 Ends

This was a great hackathon.  We learned things we might not have without the hackathon.  I know for sure I did.  I was never able to setup Apache with PHP in the past because of reasons, but the hackathon had me tackle the problem until it was solved [for the entire 1st day].

Contra Costa College - Intel - Student Code for Good Virtual Hackathon '13 Begins

Finals at Contra Costa College are over & we are immediately starting the hackathon.  We have planned which house each team will stay in, ground rules for each house, the food to order, & times to check-in with each other.  We have about 50 hours together in this event.

Hackathon Tech
Some of the tech we
need for our hackathon:
computer, internet, microphone, music

Open Parallel: Optimizing Web Performance with TBB

Open Parallel is a research and development company that focuses on parallel programming and multicore development. We are a bunch of highly skilled geeks from various backgrounds that work together on problems in parallel programming and software development for multicore and manycore platforms.


$a = 'flower';
echo "She received some $as";
// 无效;字母s会被当成有效的变量名组成元素,但是这里的变量是$a
echo "She received some ${a}s"; // 有效
echo "She received some {$a}s"; // 有效;推荐的使用方法
echo "She received some $a"."s";
echo "She received some ".$a."s";
// 这两种习惯性的写法应该没有加花括号的写法简洁明了吧?
echo "She received some { $a}s";
Подписаться на PHP