Video wird geladen...
Video konnte nicht geladen werden
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

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?

The V Programming Languagevor 1 Jahr
So that the compiler knows which functions to load dynamically. Perhaps we can remove this in the future.

(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

The V Programming Languagevor 1 Jahr
No :D

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

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?

The V Programming Languagevor 1 Jahr
dlopen for live functions
