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
Working LinkedList using pointers
How to delete/uninitialize a variable in mojo when running through notebooks
variable = None
variable = None
del variable
del variable
__del__
__del__
Why doesn't this work for creating lists?
fn main() -> None:
var any_list = List[Int](range(1, 10_000_000))
fn main() -> None:
var any_list = List[Int](range(1, 10_000_000))
max engine leaking?
Matrix Multiplication (matmul): `numpy` hard to beat? even by mojo?
Is Mojo suited for developing optimization algorithms like genetic algorithms?
Mojo extension in Vscodium