Carter Li

Results 433 comments of Carter Li

Well, I don't have a build of the original bsnes/higan on OSX, but I get some new findings. It seems the lags are related to Audio Frequency. The video lags...

> I'm tinkering a bit with the install script for OS X, to have the plug-in dylibs live inside the app bundle. That should be much better. We can move...

Temporal is now in Stage 3

@danywheeler You may add `-source 8 -target 8` to `javac` arguments and try again

What about use io_uring directly for polling? * Since we don't need an eventfd to bridge io_uring-aio and epoll, then we can get better performance and Linux 5.1 support. *...

> You mean just for file I/O, not replacing epoll entirely (io_uring for file I/O, io_submit for TCP/UDP, idk what else epoll is used for), right? 😟 Sorry for my...

Polling timerfd seems like a hack. Since if the kernel support io_uring it must support IOCB_CMD_POLL, using IOCB_CMD_POLL can be another option ( we still need to poll io_uring events...

I'm suggesting not putting liburing code into libuv's codebase. Besides their different coding style, liburing is being actively developed, it's hard to track its changes ( for example high priority...

> liburing is LGPL, which AFAIK means we can't look at it. Oh, sorry I missed that

Operations failing with EINVAL means that fd type doesn't support [read_iter](https://github.com/torvalds/linux/blob/master/fs/io_uring.c#L1101) or [write_iter](https://github.com/torvalds/linux/blob/master/fs/io_uring.c#L1148), eg tty (0, 1, 2 in your example) and timerfd ([mentioned in my comment above](https://github.com/libuv/libuv/pull/2322#issuecomment-500150292)), but seekable...