Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

16,150 Aufrufe • vor 1 Jahr •via X (Twitter)

7 Kommentare

Profilbild von Hunam
Hunamvor 1 Jahr

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

Profilbild von The V Programming Language
The V Programming Languagevor 1 Jahr

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

Profilbild von (Raíz1) Icycoide & Costmiku
(Raíz1) Icycoide & Costmikuvor 1 Jahr

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

Profilbild von The V Programming Language
The V Programming Languagevor 1 Jahr

No :D

Profilbild von Sasha
Sashavor 1 Jahr

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

Profilbild von marcus andré
marcus andrévor 1 Jahr

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?

Profilbild von The V Programming Language
The V Programming Languagevor 1 Jahr

dlopen for live functions

Ähnliche Videos