News for hackers. Stuff that matters.
Re:Why isn’t new technology making us more productive? by rowanG077 on Tuesday May 24, 2022 @08:09PM (#31499077)
The syntactic sugar is the entire point. If you don't have it it just sucks as a technology.
Re:Why isn’t new technology making us more productive? by wruza on Tuesday May 24, 2022 @08:45PM (#31499338)
Sometimes green threads require no syntactic featutes at all, e.g. Lua coroutines. You yield() through the stack and resume() back when “done”.

  local data = readfile("file1”)
  writefile("file2", data)
The above example may have async/await-ed two times without any sugar. I believe that’s exactly what coop-mt code would look like (but at the lower level, because of hw stack instead of heap-based), Tbf I never did that in windows 3.x, do I miss something?