Loading video...

Video Failed to Load

Go Home

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

16,150 views • 1 year ago •via X (Twitter)

7 Comments

Hunam's profile picture
Hunam1 year ago

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's profile picture
The V Programming Language1 year ago

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

(Raíz1) Icycoide & Costmiku's profile picture
(Raíz1) Icycoide & Costmiku1 year ago

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's profile picture
The V Programming Language1 year ago

No :D

Sasha's profile picture
Sasha1 year ago

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

marcus andré's profile picture
marcus andré1 year ago

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's profile picture
The V Programming Language1 year ago

dlopen for live functions

Related Videos