|
"Ideas are nothing, execution is all." (Unknown)
Better tools let you build better solutions
G-WAN is a web server, with a small-footprint (50 KB). It supports GET, HEAD, POST, PUT, DELETE and OPTIONS, conditional requests and directory listings. G-WAN is also provably safer (speed is just a welcome side-effect).
G-WAN is an application server (hence the other 50 KB). Its 'edit & play' ANSI C89 scripts are as fast as static contents. To extend servlets (with SQL , drawing , charting , scientific libraries) just drop the libraries in a folder!
Why use C rather than a 'modern' language for G-WAN scripts?
1. If you know C, how many other languages do you need to learn?
2. ANSI C is stable, efficient and available on all hardware platforms.
3. C can be as safe as any other language (see the 'crash.c' servlet).
The best way to understand G-WAN's capabilities is to play with it: just click on the links below (press the browser's 'back' button to return to this page):
| servlet description | run | src |
| 'Hello World' sample (used to benchmark servlets) | [run] | [src] |
| Calculate an HTTP time string (G-WAN vs. Windows) | [run] | [src] |
| (GET or POST) AJAX form to calculate loan payments | [run] | [src] |
| (GET or POST) contact form to get email from users | [run] | [src] |
| Query the ECB to get 34 currency exchange rates | [run] | [src] |
| Attack G-WAN with hundreds of malicious URIs (be creative) | [run] | [src] |
| Make G-WAN crash (it won't) and get an useful crash report | [run] | [src] |
C is a 40-year-old reliable and widely available open-standard that offers more source code than any 'modern' alternative (which have all been written in C).
|