Ket
Ket
MModular
Created by Ket on 1/23/2025 in #questions
Asynchronous functions: how to use in mono?
I saw the devblogs saying that mojo currently lacks wrappers for async fn awating, however it supports the coroutines themselves. If it is possible, how does one write a function that, say, prints whichever result is faster from functions a() and b()? I am trying to write a Thread manager for my project that heavily interfaces with the filesystem, which means a lot of recursion, shared cache, etc
2 replies
MModular
Created by Ket on 10/23/2024 in #questions
Pyserial-like communication in Mojo
Hi) Trying to port a FFT realtime audio signal visualiser in Mojo. Decided to reimplement most of my imports that were used in the python. However! I do not see any stdlib support for serial communication. no class, etc. So I decided to import it from a foreighn language: saw an example of C++ header import in the roadmap. Instructions unclear, can i use c++ based compiled *.so, or not?
3 replies