mojo
mojo copied to clipboard
The Mojo Programming Language
In Rust, shadowing of let bindings are allowed. I have found this feature relatively nice to have. One example is casting data types: ``` fn my_fn(i: F32): let i =...
I see strings are defined as mutable dynamic vectors of si8 and null terminated for C compatibility. Is that the plan, or temporary? Is it planned that strings be immutable...
## Request Add support for Apache Arrow to enable usage of all the tools that come with it, potentially via arrow2 ### Motivation Apache Arrow and pyarrow are big parts...
## Request Hash the username/email that's used on the Mojo playground notebook server URLs, instead of parsing it as it. ### Motivation As of now, the Mojo playground service URLs...
Here are some potential docs fixes I found. I'm not sure if they're all correct so feel free to ignore any that are unwanted. ## Page: [Why Mojo🔥](https://docs.modular.com/mojo/why-mojo.html) > When...
## Request A strict-mode version of `lambda` that supports multiple statements. ### Motivation and Description Similar to how `fn` is like a strict-mode version of `def`, it seems like Mojo...
## Request Add to Mojo, support for Python backend development frameworks like Django and FastAPI ### Motivation The same reason people use Python for backend development! You don't need to...
## Request The ability to have high level layers kinda like in the [`keras.layers`](https://keras.io/api/layers/) api to kinda do something like `layers.Dense(32, activation='relu')` or [`pytorch.nn`](https://pytorch.org/docs/stable/nn.html) with `torch.nn.Linear(5, 32)` ### Motivation this...
## Bug Description I was following the tutorial and ran this code. ```python struct MyPair: var first: Int var second: Int # We use 'fn' instead of 'def' here -...
## Bug Description The example code is: ```python struct MyString: var data: Pointer[Int8] # StringRef has a data + length field def __init__(self&, input: StringRef): let data = Pointer[Int8].alloc(input.length+1) data.memcpy(first.data,...