Re:Roll your own JavaScript runtime, pt. 3
by keb_ on Thursday May 04, 2023 @05:21PM
(#35822252)
Speaking of Lua, does anyone know of a Lua implementation with filesystem access that is smaller than (or as small as) QuickJS (~800KB)?
[ Parent
| on HN ]
Re:Roll your own JavaScript runtime, pt. 3
by jabbequbs on Thursday May 04, 2023 @08:10PM
(#35823813)
Last time I compiled standard Lua I think it was only 300-400KB. It has all the cross platform file manipulation capabilities that C does. I was using TCC though, and it does seem to generate small (unoptimized) binaries.