You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add ffi/malloc and ffi/free. Useful as tools of last resort.
Add ffi/jitfn to allow calling function pointers generated at runtime from machine code.
Bring your own assembler, though.
Channels can now be marshalled. Pending state is not saved, only items in the channel.
Use the new .length function pointer on abstract types for lengths. Adding
a length method will still work as well.
Support byte views on abstract types with the .bytes function pointer.
Add the u format specifier to printf family functions.
Allow printing 64 integer types in printf and string/format family functions.
Allow importing modules from custom directories more easily with the @ prefix
to module paths. For example, if there is a dynamic binding :custom-modules that
is a file system path to a directory of modules, import from that directory with (import @custom-modules/mymod).
Fix error message bug in FFI library.
This discussion was created from the release Janet 1.26.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
ffi/malloc
andffi/free
. Useful as tools of last resort.ffi/jitfn
to allow calling function pointers generated at runtime from machine code.Bring your own assembler, though.
.length
function pointer on abstract types for lengths. Addinga
length
method will still work as well..bytes
function pointer.u
format specifier to printf family functions.printf
andstring/format
family functions.@
prefixto module paths. For example, if there is a dynamic binding :custom-modules that
is a file system path to a directory of modules, import from that directory with
(import @custom-modules/mymod)
.This discussion was created from the release Janet 1.26.0.
Beta Was this translation helpful? Give feedback.
All reactions