-
In the following code snippet
```rust
fn foo() -> &'static i32 {
&(5 + 6)
}
```
we evaluate the `&(5 + 6)` for every monomorphization of `foo`, even though we could just do this once. We…
-
Attempting to compile the following Hylo source:
```swift
trait BidirectionalCollection: Collection {
fun position(before: Position) -> Position
}
public conformance Array: BidirectionalC…
-
I have come across more code that makes the alias analysis panic that is related to nested `oneOf`s from the [roc-parser package](https://github.com/lukewilliamboswell/roc-parser) and `expect`s. When …
-
We begin by introducing a new constructs for declaring algebraic effects, for invoking them, and for handling them.
### Part 1: Declarations
An algebraic effect is declared as follows:
```sc…
-
Hi, this code
```rust
fn main() {
let masks = [m32::new(false); 1024];
let mask_ptr = cptrx8::splat(masks.as_ptr());
let mask = unsafe {
mask_ptr.read(m32x8::splat(true), m…
leudz updated
5 years ago
-
### Describe the bug
I'm attaching three HTML files to this report. The first is `llvm-cov show -format=html` output for one file of a project I'm working on, and the other two are llvm-cov-pretty…
-
On current nightly, this code works:
```rust
#![feature(inline_const)]
fn foo() {
const {
assert!(N > 0);
}
}
fn main() {
foo::();
}
```
However this code fails…
-
I am trying to implement zero-cost recursion schemes in Dart.
I'm using a technique that, I believe, is formally known as [type defunctionalization](https://github.com/dart-lang/language/issues/844…
-
### Problem
`Kind::Any` was implicitly added (as `None: Option`) in https://github.com/noir-lang/noir/pull/5837 and is explicitly added in https://github.com/noir-lang/noir/pull/6094
It's a `Kind`…
-
This document outlines our focused tasks for TypeScript 5.6. It minimally indicates intent to investigate tasks or contribute to an implementation. Nothing is set in stone, but we will strive to compl…