# Io\_uring support?

**URL:** <https://discourse.julialang.org/t/io-uring-support/48666>\
**Category:** Internals & Design\
**Created:** [October 20, 2020, 2:26am UTC](https://discourse.julialang.org/t/io-uring-support/48666 "2020-10-20T02:26:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sashmit](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sashmit/32/18791_2.png) [@sashmit](https://discourse.julialang.org/u/sashmit)\
**Post date:** [October 20, 2020, 2:26am UTC](https://discourse.julialang.org/t/io-uring-support/48666/1 "2020-10-20T02:26:05Z")

</div>

I’m currently experimenting with rust creating “glue” static analysis/bridge/compilers/abstract interpreters across some other langs (rust since it has a 2nd strong borrow checker that can just drop 1 bit refs and has ML-like semantics) = 2nd order substructural linear logics. This can do kripe-like \*-semantics and can easily do webasm and webrtc (this basically poses the question in something like names of stuff are irrelevent for related generalized modern understanding computation, structure and compatibility laws do matter), everything else can be rectified into a linear space then transversed into a decoded abstraction of trees (or whatever computer eigen number problem). I can safely gradually type stuff in (say) type(script) some glue lang like a implicit (lua) (as an generalized assocative hash array) and then send buzz tones to say python or R. Julia sounds better to me because it has much cleaner numerical code and it is a similar more lisp-y lang. So supercomputing (exascale) and discrete logic microprocessoring code should theoretically be more power/energy/efficient with this type of constructive tissue.

Anyone tried to port any of the julia internals to io\_ring?

> **[Automatic buffer selection for io\_uring \[LWN.net\]](https://lwn.net/Articles/815491/)**
>
> The io\_uring subsystem has, in the last
> year, redefined how asynchronous I/O is done on Linux systems. As this
> subsystem grows in both capability and users, though, it starts to run into
> limitations in the types of operations that can be expressed. ...

[https://github.com/coilhq/tiger-beetle/tree/master/demos/io\_uring](https://github.com/coilhq/tiger-beetle/tree/master/demos/io_uring)

Especially on very high perf or low memory compute or things that need to be safe by design (think software defined hardware) or general energy scavaging devices, let me know if anyone has worked on this problem in julia.

---

<div class="post-metadata">

**Author:** ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)\
**Post date:** [June 17, 2021, 11:35pm UTC](https://discourse.julialang.org/t/io-uring-support/48666/4 "2021-06-17T23:35:55Z")

</div>

[https://despairlabs.com/posts/2021-06-16-io-uring-is-not-an-event-system/](https://despairlabs.com/posts/2021-06-16-io-uring-is-not-an-event-system/)

helped clarify the significance of io\_uring for me.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [June 18, 2021, 12:28pm UTC](https://discourse.julialang.org/t/io-uring-support/48666/5 "2021-06-18T12:28:50Z")

</div>

That is a really good explanation of why io\_uring is a breakthrough.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [June 18, 2021, 12:31pm UTC](https://discourse.julialang.org/t/io-uring-support/48666/6 "2021-06-18T12:31:07Z")

</div>

There is [an effort](https://github.com/libuv/libuv/pull/2322) to add io\_uring support to libuv, which automatically gives Julia support for it. So we’ll wait for that to happen.

---

<div class="post-metadata">

**Author:** ![caleb-allen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/caleb-allen/32/14054_2.png) [@caleb-allen](https://discourse.julialang.org/u/caleb-allen)\
**Post date:** [July 18, 2024, 12:38am UTC](https://discourse.julialang.org/t/io-uring-support/48666/7 "2024-07-18T00:38:56Z")

</div>

It appears libuv has now [merged](https://github.com/libuv/libuv/pull/3952) io\_uring support!
