Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
psf
@psf@oldbytes.space  ·  activity timestamp 2 weeks ago

Putting Lua through its paces. Here's Advent of Code 2024, Day 13, running on all my favorite hardware that I had on hand, through the power of Lua.

Ryzen 5 9600X modern desktop - 1 ms.

HP 200LX, 8 MHz 186, 640 KB RAM available to Lua: 62 seconds.

TI-92+, 12 MHz 68000, 64 KB RAM available to Lua: 65 seconds.

"Write once, run anywhere".

#retrocomputing #lua #ticalc #ti92 #hp200lx

Texas Instruments TI-92+ graphing calculator.  Unlike most calculators, this machine is in landscape form factor and has a built-in QWERTY keyboard.
Lua session showing a row of "."s (progress meter) then the correct answer to the problem.
Texas Instruments TI-92+ graphing calculator. Unlike most calculators, this machine is in landscape form factor and has a built-in QWERTY keyboard. Lua session showing a row of "."s (progress meter) then the correct answer to the problem.
Texas Instruments TI-92+ graphing calculator. Unlike most calculators, this machine is in landscape form factor and has a built-in QWERTY keyboard. Lua session showing a row of "."s (progress meter) then the correct answer to the problem.
HP 200LX palmtop computer
Lua session showing a row of "."s (progress meter) then the correct answer to the problem.
HP 200LX palmtop computer Lua session showing a row of "."s (progress meter) then the correct answer to the problem.
HP 200LX palmtop computer Lua session showing a row of "."s (progress meter) then the correct answer to the problem.
Terminal emulator on a modern Linux PC
$ lua 13.lua 
Part A, B: 	36571	85527711500010
Terminal emulator on a modern Linux PC $ lua 13.lua Part A, B: 36571 85527711500010
Terminal emulator on a modern Linux PC $ lua 13.lua Part A, B: 36571 85527711500010
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login