News for hackers. Stuff that matters.
Re:Deno 2.8 by vrighter on Saturday May 23, 2026 @09:39AM (#48247587)
one more reason I would have preferred a world in which lua was used in js's place
Re:Deno 2.8 by AgentME on Tuesday May 26, 2026 @03:16PM (#48284552)
Isn't Lua equally monkey-patchable? Both of the languages, along with Python and Ruby, represent nearly everything as mutable objects.
Re:Deno 2.8 by vrighter on Monday June 08, 2026 @03:53AM (#48442464)
but you can relatively easily sandbox anything you want and close all escape hatches. If you want to turn off the monkeypatching functionality, that's just a metatable or two away. I can and regularly disable monkeypatching on some of my libraries (especially where it interacts with c++ interop). JS now has proxy objects, but lua has been able to do this since way before

And also those stackful coroutines, would have made callback hell non-existent, and no async/await function coloring either (as long as you started one coroutine somewhere up the call stack.