# \#feature-request

**URL:** https://forum.modular.com/tag/feature-request/3.md

[Latest](https://forum.modular.com/latest.md) · [Categories](https://forum.modular.com/categories.md) · [Tags](https://forum.modular.com/tags.md)

---

## [Proposal: reflection for struct parameters](https://forum.modular.com/t/proposal-reflection-for-struct-parameters/3352)

<div class="topic-metadata">

**Author:** [@samufi](https://forum.modular.com/u/samufi)\
**Replies:** 3\
**Last updated:** [July 28, 2026, 7:05pm UTC](https://forum.modular.com/t/proposal-reflection-for-struct-parameters/3352 "2026-07-28T19:05:36Z")

</div>

I was amazed how well the reflection API worked for building generic Python wrappers of Mojo structs. With the current reflection API, this already works well for types that have Scalar attributes. However, when building…

---

## [Proposal: Allow importing CUDA/HIP stream handles in DeviceContext](https://forum.modular.com/t/proposal-allow-importing-cuda-hip-stream-handles-in-devicecontext/2836)

<div class="topic-metadata">

**Author:** [@bwibking](https://forum.modular.com/u/bwibking)\
**Replies:** 3\
**Last updated:** [April 11, 2026, 9:42pm UTC](https://forum.modular.com/t/proposal-allow-importing-cuda-hip-stream-handles-in-devicecontext/2836 "2026-04-11T21:42:50Z")

</div>

Summary: The Mojo standard library currently supports exporting CUDA/HIP stream handles, but does not expose an API to import them. Mojo should provide a minimal public API to import stream handles and launch device ker…

---

## [StaticString as keys in \*\*kwargs](https://forum.modular.com/t/staticstring-as-keys-in-kwargs/1671)

<div class="topic-metadata">

**Author:** [@emil.martens](https://forum.modular.com/u/emil.martens)\
**Replies:** 1\
**Last updated:** [June 16, 2025, 2:59pm UTC](https://forum.modular.com/t/staticstring-as-keys-in-kwargs/1671 "2025-06-16T14:59:10Z")

</div>

Hi, would it be possible to use StaticString instead of String as the key type when using \*\*kwargs? This would make it easier to create lists of ConstantMemoryMapping among other things.

---

## [Naming conflict between struct parameters and trait alias](https://forum.modular.com/t/naming-conflict-between-struct-parameters-and-trait-alias/1659)

<div class="topic-metadata">

**Author:** [@emil.martens](https://forum.modular.com/u/emil.martens)\
**Replies:** 1\
**Last updated:** [June 16, 2025, 2:27am UTC](https://forum.modular.com/t/naming-conflict-between-struct-parameters-and-trait-alias/1659 "2025-06-16T02:27:40Z")

</div>

Hi, this is not a critical feature, but I think it will enhance code quality when working with traits. I often find myself using the pattern below and have seen it in files like modular/max/kernels/src/kv\_cache/types.mo…

---

## [Why no math.pow()](https://forum.modular.com/t/why-no-math-pow/615)

<div class="topic-metadata">

**Author:** [@notnot](https://forum.modular.com/u/notnot)\
**Replies:** 3\
**Last updated:** [March 15, 2025, 1:04pm UTC](https://forum.modular.com/t/why-no-math-pow/615 "2025-03-15T13:04:09Z")

</div>

Why is there no math.pow() function?

---

## [Struct's extendability](https://forum.modular.com/t/structs-extendability/591)

<div class="topic-metadata">

**Author:** [@jymchng](https://forum.modular.com/u/jymchng)\
**Replies:** 6\
**Last updated:** [March 1, 2025, 4:19pm UTC](https://forum.modular.com/t/structs-extendability/591 "2025-03-01T16:19:49Z")

</div>

Given Mojo’s syntax of ‘implementing’ a trait for a struct, e.g.: trait Permissable: ... struct Permission(Permissable): ... This would mean that there is no way to ‘implement’ a local trait on a foreign typ…

---

## [VariadicList Not Working as Expected](https://forum.modular.com/t/variadiclist-not-working-as-expected/551)

<div class="topic-metadata">

**Author:** [@guna](https://forum.modular.com/u/guna)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 8:01pm UTC](https://forum.modular.com/t/variadiclist-not-working-as-expected/551 "2025-02-22T20:01:39Z")

</div>

Hey everyone! I’m running into an issue with VariadicList initialization in Mojo #3987 Here’s a minimal example of what I’m trying: fn main(): alias shape\_type = \_\_mlir\_type\[\`!kgen.variadic\<\`, Int, \`\>\`\] # Ca…

---

## [How to import and run an exported MAX Model from MEF](https://forum.modular.com/t/how-to-import-and-run-an-exported-max-model-from-mef/580)

<div class="topic-metadata">

**Author:** [@TilliFe](https://forum.modular.com/u/TilliFe)\
**Replies:** 3\
**Last updated:** [February 17, 2025, 5:57pm UTC](https://forum.modular.com/t/how-to-import-and-run-an-exported-max-model-from-mef/580 "2025-02-17T17:57:08Z")

</div>

We can export a compiled MAX Model via export\_compiled\_model. What really is the MEF and is there a way to import and execute such a exported model at a later stage (in the Mojo API)? I’d love to learn more about this …

---

## [Green threads and runtime](https://forum.modular.com/t/green-threads-and-runtime/576)

<div class="topic-metadata">

**Author:** [@ucirello](https://forum.modular.com/u/ucirello)\
**Replies:** 6\
**Last updated:** [February 16, 2025, 2:00am UTC](https://forum.modular.com/t/green-threads-and-runtime/576 "2025-02-16T02:00:05Z")

</div>

Hi, I have a question regarding the vision that Mojo’s team and Chris may have regarding offering a UX similar to Go’s go symbol. In Rust, they opted over there to not have a runtime at all, and Tokyo became the de-fac…

---

## [How to build a standalone application](https://forum.modular.com/t/how-to-build-a-standalone-application/454)

<div class="topic-metadata">

**Author:** [@Hylke](https://forum.modular.com/u/Hylke)\
**Replies:** 6\
**Last updated:** [January 23, 2025, 7:10pm UTC](https://forum.modular.com/t/how-to-build-a-standalone-application/454 "2025-01-23T19:10:51Z")

</div>

How do I build a binary file that I can ship to users? That is, to build a statically linked application using magic run mojo build myfile.mojo -o myapp Currently, it looks like the paths to the libraries are hardcoded…

---

## [MAX on CPU doubt and request](https://forum.modular.com/t/max-on-cpu-doubt-and-request/434)

<div class="topic-metadata">

**Author:** [@Dasor](https://forum.modular.com/u/Dasor)\
**Replies:** 2\
**Last updated:** [January 10, 2025, 7:59pm UTC](https://forum.modular.com/t/max-on-cpu-doubt-and-request/434 "2025-01-10T19:59:41Z")

</div>

As far as I understand (feel free to correct me) most AI inference workloads specially LLMS are memory bound so running inference on CPU can also be a great idea. So, I thought it would be great to also have a MAX server…

---

## [How to build an extendable parametric struct](https://forum.modular.com/t/how-to-build-an-extendable-parametric-struct/347)

<div class="topic-metadata">

**Author:** [@samufi](https://forum.modular.com/u/samufi)\
**Replies:** 2\
**Last updated:** [December 31, 2024, 1:41pm UTC](https://forum.modular.com/t/how-to-build-an-extendable-parametric-struct/347 "2024-12-31T13:41:30Z")

</div>

I want to build a package with a struct that relies on some element type parameters but can be extended to work with additional element types as well. Suppose this is the basic structure: struct MyStruct\[\*Ts: AnyType\]: …

---

## [Changing default version constraints for magic](https://forum.modular.com/t/changing-default-version-constraints-for-magic/370)

<div class="topic-metadata">

**Author:** [@toiletsandpaper](https://forum.modular.com/u/toiletsandpaper)\
**Replies:** 4\
**Last updated:** [December 26, 2024, 2:49pm UTC](https://forum.modular.com/t/changing-default-version-constraints-for-magic/370 "2024-12-26T14:49:01Z")

</div>

A long time ago, the Python community decided that we should use SemVer as the default versioning system. This was a great idea because it allows us to explicitly indicate when something will be broken in the next releas…
