Fil-C: C/C++ 호환성을 유지하며 완전한 메모리 안전성을 구현하는 소프트웨어 기반 컴파일러

Fil-C는 기존 C/C++ 코드를 대규모 수정 없이 컴파일하여 런타임에 발생할 수 있는 메모리 안전성 문제를 원천 차단하는 소프트웨어 기반 컴파일러 구현체다.

🔗 원문 보기

Fil-C: C/C++ 호환성을 유지하며 완전한 메모리 안전성을 구현하는 소프트웨어 기반 컴파일러

Fil-C는 기존 C/C++ 코드를 대규모 수정 없이 컴파일하여 런타임에 발생할 수 있는 메모리 안전성 문제를 원천 차단하는 소프트웨어 기반 컴파일러 구현체다.

Ruby-News | 루비 AI 뉴스

Zero: The Programming Language for Agents

Zero는 에이전트용 시스템 프로그래밍 언어로, 작은 네이티브 도구, 명시적 효과, 예측 가능한 메모리 관리, 구조화된 컴파일러 출력을 목표로 한다. 현재 실험 단계이며, 컴파일러와 표준 라이브러리, 문서, 예제 등이 제공되어 언어 학습과 피드백에 활용 가능하다. Linux-musl-x64 타겟 등 다양한 빌드 옵션과 CLI 명령어를 지원하며, VSCode 확장도 포함되어 있다. AI 에이전트 개발에 특화된 새로운 프로그래밍 언어로서 향후 발전 가능성이 주목된다.

https://github.com/vercel-labs/zero

#programminglanguage #agents #systemslanguage #compiler #nativetools

GitHub - vercel-labs/zero: The programming language for agents

The programming language for agents. Contribute to vercel-labs/zero development by creating an account on GitHub.

GitHub

Fix pathological performance in trait solver

Rust 컴파일러의 trait solver에서 오류가 포함된 순환 타입을 평가할 때 발생하는 극단적인 성능 저하 문제를 해결하는 패치가 제안되었습니다. 기존에는 오류가 있는 경우 전역 캐시 저장이 제한되어 동일한 순환을 반복 평가하며 컴파일 시간이 수시간까지 늘어났으나, 오류가 감지된 추론 컨텍스트에서는 전역 캐시를 허용해 재평가를 방지하도록 개선했습니다. 이로 인해 대규모 코드베이스에서도 컴파일 오류 보고 시간이 수십 초로 단축되었으며, 컴파일러 종료와 응답성을 우선시하는 실용적 타협을 도입했습니다. 해당 수정은 Rust 컴파일러의 내부 trait solver 안정성과 성능에 직접적인 영향을 미치는 중요한 개선입니다.

https://github.com/rust-lang/rust/pull/155355

#rust #compiler #traitsolver #performance #bugfix

Fix pathological performance in trait solver cycles with errors by erickt · Pull Request #155355 · rust-lang/rust

Fuchsia's Starnix system has had a multi-year long bug where occasionally a typo could cause the rust compiler to take 10+ hours to report an error (see #136516 and #150907). This was particula...

GitHub

Implemented the RV32I pass-by-register calling convention in the simple SR32 code generator... as a compiler parameter.

Updated the emulator to support either calling convention (at runtime) for syscalls.

This all works, which is nice, but now I've just added a third dimension to the test grid, which is less nice.

#Projects #Compiler #PLdev

Add an LLM policy for `rust-lang/rust` by jyn514 · Pull Request #1040 · rust-lang/rust-forge

View all comments FCP link this comment Summary This document establishes a policy for how LLMs can be used when contributing to rust-lang/rust. Subtrees, submodules, and dependencies from crates.i...

GitHub

Rearranged the register assignments in my softrisc32 ISA to match that of RV32I because there's no point in maintaining a variant register map just because I find the RV32I map "untidy" (due to them arranging stuff to make sense when the top half are missing in RV32E).

This has the side-effect of making (textual) sr32 assembly even closer to rv32i assembly.

About to shift from passing parameters on the stack to passing parameters in registers.

#Projects #Compiler #PLdev

Starting to allocate some registers. I need more test cases with greater register pressure. Most of them fit within 4 working registers just fine.

I did update my live range graph in the IR dump to use dashed lines for spilled registers.

Here's one that spills at 4 and spills a bit more at 3.

#Projects #Compiler #PLdev

TLX: Hardware-Native, Evolvable MIMW GPU Compiler for Large-Scale Production

TLX는 MIMW(Multi-Instruction, Multi-Warp) 기반의 하드웨어 네이티브 GPU 컴파일러로, 대규모 생산 환경에서 GPU의 비동기 연산과 데이터 이동, 텐서 코어 계산, 동기화를 효율적으로 조율한다. Triton의 프로그래밍 모델을 확장하여 멀티 워프 실행과 로컬 메모리 오케스트레이션, 클러스터 인지 제어를 명시적으로 지원하며, 적은 개발 노력으로 높은 맞춤화가 가능하다. TLX로 작성된 커널은 대규모 학습 및 추론 시스템에 이미 배포되어 경쟁력 있는 성능을 입증했다. 오픈소스로 공개되어 GPU 컴파일러 및 AI 인프라 최적화에 실무 적용 가능성이 크다.

https://arxiv.org/abs/2605.10905

#gpu #compiler #hardwarearchitecture #mimw #triton

TLX: Hardware-Native, Evolvable MIMW GPU Compiler for Large-scale Production Environments

Modern GPUs increasingly rely on specialized hardware units and asynchronous coordination mechanisms, so performance depends on orchestrating data movement, tensor-core computation, and synchronization rather than exposing more thread-level parallelism. This creates a programming-model tension: if too much execution structure is hidden, the compiler must catch up to new hardware mechanisms; if too much is exposed, the burden of orchestration falls back onto the programmer. We present TLX (Triton Low-level Language Extensions), built around MIMW (Multi-Instruction, Multi-Warp), which expresses orchestration at warp-group granularity while preserving Triton's productive blocked programming model for regular computation. TLX realizes this idea as an embedded extension to Triton, exposing explicit interfaces for multi-warp execution, local-memory orchestration, asynchronous operations, and cluster-aware control. Our evaluation shows that TLX supports substantial customization with limited development effort while remaining competitive with state-of-the-art implementations. TLX-authored kernels have been deployed in large-scale training and inference production systems. Our code is open sourced at https://github.com/facebookexperimental/triton.

arXiv.org

Gecko: A fast GLR parser with automatic syntax error recovery

Gecko는 C로 구현된 빠른 GLR 파서 라이브러리로, 모든 문맥 자유 문법(CFG)을 지원하며 모호한 문법도 처리할 수 있습니다. YACC/Bison과 달리 문법 수정 없이 자동 구문 오류 복구 기능을 제공하며, 속도는 비모호 문법에서 YACC와 경쟁할 정도로 빠릅니다. 또한, YACC 스타일의 연산자 우선순위 및 결합성 선언을 지원하고, 라이브러리 형태로 임베딩이 쉬워 다양한 프로젝트에 활용할 수 있습니다. Gecko는 복잡한 문법을 다루는 컴파일러 및 언어 도구 개발에 유용한 최신 GLR 파서 솔루션입니다.

https://vnmakarov.github.io/parsing/compilers/c/open-source/2026/04/22/gecko-glr.html

#glr #parser #syntaxerrorrecovery #cprogramming #compiler

Gecko: a fast GLR parser with automatic syntax error recovery

Gecko: A Fast, Standalone GLR Parser Library in C

Vladimir Makarov