CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 23 Aug 2025 18:47:35 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100710043636
location: https://web.archive.org/web/20100710043636/https://github.com/kylecordes/code-camp-2006-lua
server-timing: captures_list;dur=0.852555, exclusion.robots;dur=0.031659, exclusion.robots.policy;dur=0.013735, esindex;dur=0.014601, cdx.remote;dur=24.719924, LoadShardBlock;dur=491.590371, PetaboxLoader3.datanode;dur=165.320409, PetaboxLoader3.resolve;dur=247.437822
x-app-server: wwwb-app203
x-ts: 302
x-tr: 565
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app203; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 23 Aug 2025 18:47:36 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sat, 10 Jul 2010 04:36:36 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "91381ef68c2a02578d93c28a7587198d"
x-archive-orig-x-runtime: 166ms
x-archive-orig-content-length: 28411
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: windows-1252
memento-datetime: Sat, 10 Jul 2010 04:36:36 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 10 Jul 2010 04:36:36 GMT", ; rel="memento"; datetime="Sat, 10 Jul 2010 04:36:36 GMT", ; rel="next memento"; datetime="Mon, 11 Jun 2018 00:27:54 GMT", ; rel="last memento"; datetime="Tue, 24 Nov 2020 06:42:08 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_16_20100710032555_crawl102-c/52_16_20100710043559_crawl101.arc.gz
server-timing: captures_list;dur=0.623375, exclusion.robots;dur=0.023961, exclusion.robots.policy;dur=0.011267, esindex;dur=0.012463, cdx.remote;dur=10.121185, LoadShardBlock;dur=213.119721, PetaboxLoader3.datanode;dur=164.849760, PetaboxLoader3.resolve;dur=326.356540, load_resource;dur=364.164794
x-app-server: wwwb-app203
x-ts: 200
x-tr: 671
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
kylecordes's code-camp-2006-lua at master - GitHub
kylecordes / code-camp-2006-lua
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
README.txt
St. Louis Code Camp ? Lua Talk Notes and Source Code Copyright 2006 Kyle Cordes At the St. Louis Code Camp on May 6 2006, I gave a talk that was somewhat poorly titled "Painless Scripting with Lua". The topic more mostly about the overall use of scripting as a configuration and extension mechanism, with Lua as an example language. The talk had no slides, only code and a 1-page handful with some notes. Alternate Hard and Soft Layers This is a Pattern from the C2 Wiki: https://c2.com/cgi/wiki?AlternateHardAndSoftLayers In a system built with "hard" code (not in the sense of difficulty, rather in the sense of statically typed, statically compiled languages), organize that code in to layers, and between those hard layers, put "soft" layers in the form of scripts written in a dynamic, runtime modifying languages. AHSL is closely related to the idea of scriptable applications, with the additional notion of layering, rather than ad hoc extension. "hard layer" languages: C C# C++ Delphi (*) Java "soft layer" languages: bash BeanShell Emacs Lisp Groovy JavaScript Lua (*) Python Ruby Tcl This talks' examples are in Delphi (hard) and Lua (soft). Delphi is a mostly static language, essentially similar in certain ways to C, C++, and Java, but with a Pascalish syntax. Key Points about Lua: * An easily learned, dynamic programming language * Small, highly embeddable (~ 100 KB) * Multi-platform (highly portable C code) * Well suited to "Alternate Hard and Soft Layers" * Free and open source * Stable and mature * Safe and Sandboxed * Actively developed and maintained Recommendation on Scripting: * If you're building a Java system, the most appealing scripting language is JavaScript, because it will be "in the box" in Java 6. * If you're building a .NET system, use a .NET-centric scripting mechanism * If you're building a Win32 system with a lot of COM in it, use the Windows Scripting Host and expose your system's feature to the scripts via COM. * If you're building a system with a "hard" (very static) language, and want to keep your options open for cross-platform development / deployment, than Lua is an excellent choice, it is small, fast, proven, COM-free, and cross-platform. https://kylecordes.com