Research


[Source Code Walkthrough] TinyHttpd: The Simplest Web Server Implementation
2015-07-25 Research C webserver

Annotated TinyHttpd source code and a brief analysis.

PHP Performance Bottlenecks and Optimization Approaches
2015-06-24 Research PHP HipHop HHVM JIT

This article systematically reviews the performance issues caused by PHP’s dynamic characteristics and their underlying reasons, and provides an in-depth analysis of the well-known open-source PHP engine HHVM and its predecessor, the HipHop Compiler, explaining how they improve PHP execution efficiency.

Getting Started with Bison
2015-06-18 Research Compiler Bison

A simple Bison example that generates a parser and evaluator for arithmetic expressions, illustrating the power of syntax analysis.

Flex Tips Summary && [LeetCode] Valid Number Solution
2015-06-15 Research Compiler DFA

A structured summary of practical flex tricks that may come up in real use, and a demonstration of how to solve a harder LeetCode problem by reusing the DFA generated by flex.

SSH Remote Port Forwarding Principles and NAT Traversal
2015-02-20 Research SSH Forwarding

A brief analysis of the basic concept of SSH remote port forwarding and its concrete application scenario—NAT traversal.

An In-Depth Look at Some Details When PHP Calls External Programs
2015-02-09 Research Bash PHP Linux

A summary of the various detours and tweaks from the past two days while building my personal homepage. Long read ahead...

Working Entirely with Python — A Concise Guide to Getting Started with F2PY

A concise quick-start document for F2PY

A Quick-Solving Program for Computational Methods Exam Problems Based on a Graphing Calculator