-
```scala
pub def main(): Bool = f(32, 12)
pub def f(x: t, n: Int32): Bool = {
if (n == 0) true else f(x :: Nil, n - 1)
}
```
```
Exception in thread "ForkJoinPool-3-worker-7" java.lang.Ou…
-
I have the following code:
```rust
#![allow(dead_code)]
trait Foo {
fn baz() {
const { panic!() }
}
}
impl Foo for () {}
```
If I build normally (using `cargo build`), it succeeds.…
-
## ~Example 1~ (Fixed in master by the `AnyType`)
Which of these cases would match un-annotated `Nil` (ignoring ordering)
```
case l: List[Int32] =>
case l: List[Unit] =>
case l: List[Object] …
-
Generic modules are a reasonably convenient way of introducing powerful generics without requiring full WGSL type checking. For example, instead of repeatedly writing `my_generic_func(3)`, one could r…
-
Consider, for example, any type-polymorphic construct (e.g. a generic function, method or class).
Is there a way to guarantee that any such construct is monomorphized (i.e. duplicated during compil…
-
This is a topic I've been thinking about for a while based on the following observations:
* Value conversions take an observable amount of time in flamegraphs
* Function lookup and calling takes a…
-
`async-task` contains an optimisation for handling large futures in the definition of [spawn_unchecked](https://github.com/smol-rs/async-task/blob/master/src/runnable.rs#L516). This leads to excessive…
-
I get this compile error on nightly-2024-09-17:
```
error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: simd_shuffle index must be a SIMD vector of `u32`, got `[u32; 4]`
--> /U…
-
As part of the HLS Filament #454 project, we want a nice way to implement some of the SDC scheduling logic using Filament. Paramount to this is an ability to represent the dependency graph of nodes. S…
-
In monomorphization, we have a function to monomorphize a component's signature because this needs to be done as we add things to the queue. Externals and non-external components call the same functio…