Tech – walker – 2026-10-06

56 items · updated 2026-10-06 23:35 UTC · RSS · Up to 2026-10

Fix loss of initial value in Array#sum

github/ruby/ruby · 2026-10-06

When the not_exact case is hit, the initial value could be lost if it is a float. For example, the following code incorrectly outputs 1.5 bu

Add YJIT on mswin to NEWS

github/ruby/ruby · 2026-10-06

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Merge pull request #58904 from Shopify/ractorize_with_schema_reflection

github/rails/rails · 2026-10-06

Use a BoundSchemaReflection for the Ractor proxy pool's schema cache

YJIT: Fix C integer widths on LLP64

github/ruby/ruby · 2026-10-06

The bindings are generated on LP64, where ID and st_data_t are unsigned long and long is 64-bit. On Windows long is 32-bit and both are unsi

YJIT: Do not suggest ./configure --enable-yjit=dev on mswin

github/ruby/ruby · 2026-10-06

The disasm options and RubyVM::YJIT.disasm need a dev build, which win32/configure.bat cannot make. The warning for builds without YJIT also

Document YJIT on mswin

github/ruby/ruby · 2026-10-06

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

mswin: Build YJIT with --enable-yjit

github/ruby/ruby · 2026-10-06

rustc builds yjit.lib, which is linked into miniruby and the DLL directly. Archiving it into the static library would make mkexports.rb expo

YJIT: Use the Win64 calling convention on Windows

github/ruby/ruby · 2026-10-06

Generated code called C functions and Rust callbacks with the SysV convention. On Windows, pass the first four arguments in RCX, RDX, R8 and

YJIT: Convert stats to Integer without assuming Fixnum

github/ruby/ruby · 2026-10-06

Stats and counters can exceed the Fixnum range, which is 31 bits on Windows, and failed the assertion in VALUE::fixnum_from_usize. Co-Autho

Regenerate the JIT bindings for the helpers declared in internal/jit.h

github/ruby/ruby · 2026-10-06

bindgen now finds rb_jit_get_page_size and rb_jit_reserve_addr_space in internal/jit.h, which moves them in both generated files. Co-Author

YJIT: Make the LLP64 helpers Assembler methods

github/ruby/ruby · 2026-10-06

They emit instructions, which a call like asm.cmp_fixnum_fits_long(val) makes clearer than a free function taking asm. Co-Authored-By: Clau

YJIT: Ignore the perf map of --yjit-perf on Windows

github/ruby/ruby · 2026-10-06

/tmp/perf-{pid}.map resolves to a usually missing directory on the current drive, so the first compilation panicked, and Linux perf could no

CI: Build and test YJIT on mswin

github/ruby/ruby · 2026-10-06

The Win64 code paths and LLP64 guards in YJIT are compiled only for mswin, so no other YJIT job notices a change that breaks them. --yjit-ca

YJIT: Add Assembler#load_mem like ZJIT's

github/ruby/ruby · 2026-10-06

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

YJIT: Register unwind info for the JIT region on Windows

github/ruby/ruby · 2026-10-06

RtlUnwindEx(), which longjmp() and C++ exceptions use, needs unwind info for every frame, so raising through JIT frames skipped __finally bl

YJIT: Detect a console with rb_w32_isatty on mswin

github/ruby/ruby · 2026-10-06

UCRT&#39;s isatty returns 0x40 for a character device, so the comparison with 1 never held and --yjit-dump-disasm was never colored. Checkin

YJIT: Take the base and offset in c_long_mem

github/ruby/ruby · 2026-10-06

Nothing in it was specific to lengths, and building the C long memory operand inside saves each caller from spelling out its width. Co-Auth

YJIT: Guard Fixnum results to fit in long on LLP64

github/ruby/ruby · 2026-10-06

A Fixnum holds a C long, which is 32-bit on Windows, so an arithmetic result or a length that did not overflow 64 bits could still be out of

Reserve the JIT region near the Ruby DLL on Windows

github/ruby/ruby · 2026-10-06

VirtualAlloc(NULL) placed the region more than 2 GiB away from the DLL, so every C call from YJIT code became an indirect call through a reg

Reject --enable-yjit on mingw in configure

github/ruby/ruby · 2026-10-06

jit.c now picks its Windows code paths by _WIN32 alone, so an explicit --enable-yjit on mingw no longer stops at the #error there and would

Manage JIT code memory with the Windows virtual memory API

github/ruby/ruby · 2026-10-06

Reserve the region with VirtualAlloc and commit pages when they become writable, in place of mmap and mprotect. Freed pages stay committed w

YJIT: Check Fixnum overflow with a single branch on LLP64

github/ruby/ruby · 2026-10-06

Fixnum operands fit in 32 bits where long is 32-bit, so the 64-bit overflow check never fires there and the range check alone decides. Code

VitestでsetStateがエラーになった ReferenceError: setHoges is not defined

Qiita(trend) · 2026-10-06

はじめに Vitestの話 問題 エラーになるし、カスタムフックのモックで setHoges: vi.fn() にしても解消しない 解決 トップレベルで定義していると思っていたが、カスタムフック内で定義しているがトップレベルにimportしていないためそもそ...

Fix `to_markdown` code spans broken by tables and adjacent code (#58956)

github/rails/rails · 2026-10-06

* Strip whitespace from `to_markdown` code spans in table cells kramdown rebuilt a table cell&#39;s code span with one backtick when the co

マイクロソフト、VS CodeにAIモデルのオーケストレーションで高品質低コストなAIを実現する「HydraFusion」をプレビュー実装

Publickey · 2026-10-06

マイクロソフトは9月30日付けでリリースされたVisual Studio Code 1.140(以下、VS Code)で、複数のAIベンダから提供されているAIモデルをオーケストレーションすることでより高品質で低コストを実現するという「Hy...

FDE(フォワードデプロイドエンジニアリング)によって開発されたAIエージェントの7割は使われず、FDEの名前で単なるコンサルティングが販売されるようになる危険が高まるとガートナーが予測

Publickey · 2026-10-06

米調査会社のガートナーは、ベンダーのFDE(フォワードデプロイドエンジニアあるいはフォワードデプロイドエンジニアリング)によって開発されたAIエージェントの70%が2028年までに企業に使われずに放棄されるだろう(Gartner Predi...

Fix Array#sum when init is float but array contains non-float

github/ruby/ruby · 2026-10-06

If the initial value is a float but an element of the array is not a float, then it could be lost and an error won&#39;t be raised. For exam

Merge pull request #58946 from fabbyd/build-insert-values-list-once

github/rails/rails · 2026-10-06

Build the insert values list once for raw `on_duplicate` upserts on MySQL

[ruby/json] Report the attempted depth in generator nesting errors

github/ruby/ruby · 2026-10-06

https://github.com/ruby/json/commit/37a48ef6b8

[ruby/json] Reject non-ASCII BINARY strings during JSON generation

github/ruby/ruby · 2026-10-06

https://github.com/ruby/json/commit/8bab92d63b

[DOC] Doc for File::Stat#blksize

github/ruby/ruby · 2026-10-06

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

[DOC] Doc for File::Stat#blocks

github/ruby/ruby · 2026-10-06

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

[DOC] Harmonize chardev? methods

github/ruby/ruby · 2026-10-06

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

[DOC] Harmonize birthtime methods

github/ruby/ruby · 2026-10-06

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

rauchg/gdp-ts

リアルタイム版 JSer.info · 2026-10-06

TypeScript向けのGhosts of Departed Proofsを実装するライブラリ。name()で値にコンパイル時の名前を付け、defineProof()で認可チェックの結果を型として扱い、関数側で_proof引数を受け取って認可チェック済みの型かをチェックする。

[Bug #22401] addr2line.c: fall back to missing/crt_externs.h when the…

github/ruby/ruby · 2026-10-06

… header is absent The public iOS SDK does not ship crt_externs.h. addr2line.c included it unconditionally and failed to compile: addr

[ruby/erb] Respect ERB tag boundaries when detecting magic comments

github/ruby/ruby · 2026-10-06

https://github.com/ruby/erb/commit/934d51e24b

Make `remove_unreachable_chunk` linear in method size (#18823)

github/ruby/ruby · 2026-10-06

* Make remove_unreachable_chunk linear in method size remove_unreachable_chunk allocated and cleared a label_no-sized counter array on ever

Avoid quadratic compilation of and/or chains

github/ruby/ruby · 2026-10-06

The value-context NODE_AND / NODE_OR compiled nd_2nd recursively, so a chain such as `a &amp;&amp; b &amp;&amp; c` gave each operator its ow

エージェントの記憶はどこに置くか —— Skills・AGENTS.md・引き継ぎノートをClaude CodeとIBM Bobで検証した

Zenn · 2026-10-06

この記事のまとめ Claude CodeとIBM Bobで同じリポジトリを動かし、コーディングエージェントの「記憶の置き場所」について3つの検証をしました。 検証 確かめたこと 結果 1. Skills descriptionの書き方で、Skillの呼ばれやすさは変

win32: Exit configure.bat with the status of nmake

github/ruby/ruby · 2026-10-06

b5ecfd1eba saved the status in `error` before removing the temporary file but never returned it, so configure.bat succeeded even when setup.

[ruby/strscan] Reset the number of registers after string pattern

github/ruby/ruby · 2026-10-06

match (https://github.com/ruby/strscan/pull/221) `set_registers()` used `onig_region_set()` that doesn&#39;t change `num_regs` when the reg

[ruby/strscan] Fix match registers when position is larger than

github/ruby/ruby · 2026-10-06

INT_MAX (https://github.com/ruby/strscan/pull/220) ## What With `StringScanner.new(str, fixed_anchor: true)`, a scan position beyond `INT_

mswin: Favor speed in vm.c

github/ruby/ruby · 2026-10-06

With the default `-O2sy-`, cl.exe compiles the instruction dispatch in vm_exec_core into a binary search. Favoring speed only in vm.c gives

[ruby/rubygems] Regenerate gemfile(5) for override from: and to:

github/ruby/ruby · 2026-10-06

https://github.com/ruby/rubygems/commit/b0d1b89df0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

[ruby/rubygems] Document override from: and to: in gemfile(5)

github/ruby/ruby · 2026-10-06

https://github.com/ruby/rubygems/commit/9fabf718ee Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

[ruby/rubygems] Re-resolve when an override cuts a locked gem loose

github/ruby/ruby · 2026-10-06

Adding `to: nil` to an existing bundle left the dropped gem in the lockfile, because nothing marked the lockfile as changed. Frozen installs

[ruby/rubygems] Let override drop or replace one dependency of a gem

github/ruby/ruby · 2026-10-06

Some gems depend on a gem that only one of their features loads, or on a gem that an API-compatible one can stand in for. `override &quot;B&

嘘を嘘と見抜けない? Clef / Clef-Flashの判定性能を7タスクでJevと比較

Zenn · 2026-10-06

Jevの登場以降、確率で判断を返すAIモデルの話題が増えてきました。Layaや、Jev互換のAPIを備えたKevなど、オープンソースのモデルも公開されています。今回試すのは、その流れに加わったCloudflareのClefです。まずは判定精度を確かめて、売りである速さは次回、条件

Fix IO#set_encoding ignoring conversion options for Encoding objects …

github/ruby/ruby · 2026-10-06

…(#19215) [Bug #22209]

Set ISEQ_TRANSLATED without threaded code too

github/ruby/ruby · 2026-10-06

Without direct or call threaded code, as with MSVC, the flag was never set. YJIT asserts it on running iseqs, and iseq_free decrements rb_yj

Decode trace instructions to bare ones without threaded code

github/ruby/ruby · 2026-10-06

rb_vm_insn_decode is documented to return bare instructions, and rb_iseq_original_iseq maps encoded instructions back to bare ones, but both

Bump taiki-e/install-action

github/ruby/ruby · 2026-10-06

Bumps the github-actions group with 1 update in the / directory: [taiki-e/install-action](https://github.com/taiki-e/install-action). Upda

Use reg_pc in vm_exec_core on non-GNUC compilers too

github/ruby/ruby · 2026-10-06

Without it, MSVC merges the pc and sp updates of putobject into one 16-byte load and store on the control frame, which stalls on store forwa

Avoid locked instructions for atomic loads on x64 Windows

github/ruby/ruby · 2026-10-06

An aligned load is atomic on x64, and seq_cst because stores here use xchg. The fallbacks issued lock xadd or lock cmpxchg on every load, wh

fix out-of-bounds read in strftime %Z zone name copy

github/ruby/ruby · 2026-10-06

strlcpy returns the length of the source string, not the number of bytes it wrote into tbuf, so reusing its return value as the length for t