正在加载视频...

视频加载失败

V's hot code reloading now works on Windows. Previously it only worked on Linux and macOS.

16,150 次观看 • 1 年前 •via X (Twitter)

7 条评论

Hunam 的头像
Hunam1 年前

That’s really cool! Would it be possible to hit reload any function/why do you need to mark them with live?

The V Programming Language 的头像
The V Programming Language1 年前

So that the compiler knows which functions to load dynamically. Perhaps we can remove this in the future.

(Raíz1) Icycoide & Costmiku 的头像
(Raíz1) Icycoide & Costmiku1 年前

Weren't you guys stealing Rust's syntax from rust and functionally equivalent to compiled python or am I thinking of a different thing

The V Programming Language 的头像
The V Programming Language1 年前

No :D

Sasha 的头像
Sasha1 年前

just checked. message.v works, but bounce.v does not. master branch with -cg or with -cc tcc too, same result (

marcus andré 的头像
marcus andré1 年前

How it works interrnally the hotreload? It suspend the process and write the patched code somewhere and update all callers instructions? Maybe just put a jmp in the old function to the new one?

The V Programming Language 的头像
The V Programming Language1 年前

dlopen for live functions

相关视频