Skip to content

wrap libuv to provide some fundamental async apis #433

@Chronostasys

Description

@Chronostasys

use libuv as our event loop and wrap libuv apis into pl's async std lib

  • evloop
  • uv_async
  • delay async
  • uv metrics
  • uv error handle
  • streams
    • uv_buf_t
    • tcp
      • listen
      • read
      • write
      • connect
    • file system
    • udp

Some knowledge important for writting libuv wrappers: https://chronostasys.github.io/pivot-lang/2024/09/14/GC-And-Async.html

libuv reference: https://docs.libuv.org/en/v1.x/api.html

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions