Re:Embed Crystal code directly in Ruby
by mathverse on Thursday April 11, 2024 @03:10AM
(#39999190)
Could not in theory the stdlib and most used libraries be heavily type annotated to assist the compiler?
[ Parent
| on HN ]
Re:Embed Crystal code directly in Ruby
by actionfromafar on Thursday April 11, 2024 @06:51AM
(#40000761)
The compiler could grow a cache of sorts, analysing "bubbles" of code which does not touch other bubbles and keep type info (and compilation output!).