Kenta Iwasaki
Kenta Iwasaki
`pike.init()` / `pike.deinit()` are only used to initialize winsock2 on Windows. A global atomic counter may be used to silently initialize winsock2 upon the very first `Socket.init()` call, and silently...
As of right now, `Socket.get()` and `Socket.set()` assume that the level parameter which is passed to `getsockopt()` / `setsockopt()` os `SOL_SOCKET`. However, there exist other options that don't necessarily assume...
This is just an idea so far, though the idea is that for each exposed syscall (e.g. `read()`), there would be two variants: `Socket.read(buf: []u8) !usize`, and `Socket.readAsync(buf: []u8) callconv(.Async)...
Sockets on Windows are represented by a `ws2_32.SOCKET`, unlike generic file handles which are represented by `windows.HANDLE`. To cleanup all the verbose `@ptrCast(ws2_32.SOCKET, self.handle.inner)` casts in `socket_windows.zig`, it would be...
`PackedWaker` / `PackedList` in `waker.zig` was quickly written and could possibly be improved. It takes a `Set` which is a packed struct of booleans representative of a bitset. The `PackedWaker`...
Pike right now has three configurable build flags: - `pike_task`: struct type representing an asynchronous task. - `pike_batch` struct type representing a batch of asynchronous tasks. - `pike_notifier` struct type...
Error sets should be well-defined with the documentation for methods of `Socket` across platforms. Unit tests should be written to also demonstrate that behavior across platforms for the intersection set...
On Windows, `Socket.call()` is responsible for driving the asynchronous execution of a socket I/O syscall. What needs to be done is that prior to the execution of a syscall, an...
### Version 1.14.0 ### What happened? sqlc appears to be referencing invalid table names when parsing the following JSON-heavy query. ### Relevant log output ```shell % ~/go/bin/sqlc generate panic: runtime...