Загрузка видео...

Не удалось загрузить видео

На главную

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

Похожие видео