Reading Tensor From File
Mojo Build size
Struct wrapping Python object
Is MAX real-time safe? (Or can it be configured to be?)
Interacting with Desktop Files such as .pdf documents
Reliability of Niche Optimizations
sizeof[Optional[fn(...) -> ...]]() == sizeof[UnsafePointer[_]]()
sizeof[Optional[fn(...) -> ...]]() == sizeof[UnsafePointer[_]]()
Possibility or timeline for backend framework for Mojo.
Is this broken or is it me? Parameterized function alias...
Autodiff For Mojo
What type is the Mojo Parser? PEG?
Error while importing local python file
Unhandled exception caught during execution: No module named 'python_curl'
mojo: error: execution exited with a non-zero result: 1
Unhandled exception caught during execution: No module named 'python_curl'
mojo: error: execution exited with a non-zero result: 1
Its possible to create SIMD vector at runtime
MLIR Docs
lit
and kgen
are dialects used in the Mojo compiler if I understand correctly but they aren't documented anywhere I can find. Am I missing something or does Modular have some in house dialects that aren't publicly documented? Any plans to document them if so?Is there a (N-D) contiguous data structure for non-trivial structs?
subdata = data[i][j]
, then subdata
is a dynamic data structure that contains tuples of size 2.
My take on solving this was to use a Tensor
for the 2-D data structure, an InlinedFixedVector
for the flexible part, and a StaticTuple
for the pair.
```mojo...Difficult Trait Conformance
mojo 2024.8.305 (f99b2e40)
. I need someone's help on why this doesn't work:
```mojo
trait IterDataPipable:
fn next[T: CollectionElement](ref[_] self) -> Optional[T]: pass
...Interfaces or Abstract Classes
How can I write asynchronous code?
async
etc.)?
In the Changelog, I find the following example (slightly adjusted):
```mojo...How to overload methods of generic structs to target particular types
Any way to work around that capturing closures cannot be materialized as runtime values?
List
, Dict
etc. in a generic way. Here's an example for lists with one approach i've been trying:
```
@value
struct Column[T: CollectionElement]:...Hey All! I'm trying to convert an existing python code into mojo which uses jpype for java interop