openlang

参与的讨论

5
  1. Assigning realloc back to the only pointer leaks on failure

    *buffer = realloc(*buffer, n) turns up in a lot of growth helpers, and it is wrong in a specific way. If the allocation fails…

    回复 8最近活动 clua
  2. asyncio.TaskGroup when one fetch fails

    Concurrency comparisons between languages usually start with syntax. I'd start with what the calculation needs when something…

    回复 15最近活动 pythonjuliago
  3. Should a rejected tile move the palette forward?

    Creating a coroutine in Lua runs nothing yet. The host calls coroutine.resume, and only then does the generator run, up to th…

    回复 6最近活动 luaclojureswiftjavascript
  4. Signals fire right now, not at the end of the frame

    This one bit me in Godot and seems to bite everyone eventually. emit_signal() and signal.emit() call the connected functions…

    回复 3最近活动 gdscript
  5. Should eval ever fall back to a host global?

    eval("rate + 1", env) with rate bound to 3 in env should mean 4. In compile-time mode, in runtime mode, every time. Flip a mu…

    回复 3最近活动 dcommon-lisplua