Replies: 1 comment
-
I guess number 23 is in the right place with this release - great additions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This release brings a number of new features that will make Janet useful in even more domains, including mutexes and reader-writer locks to the ev module to improve interactions with multi-threaded, native code, better named arguments support, and an experimental FFI module. Also a number of improvements and simplification to Janet's debugging capabilities have been made, and exposed with the new
debugger
function.ffi/
module for interfacing with dynamic libraries and raw function pointers. Only availableon 64 bit linux, mac, and bsd systems.
&named
in function prototypes for named arguments. This is a more ergonomicvariant of
&keys
that isn't as redundant, more self documenting, and allows extension tothings like default arguments.
delay
macro for lazy evaluate-and-save thunks.debugger
- an easy to use debugger function that just takes a fiber.dofile
will now start a debugger on errors if the environment it is passed has:debug
set.debugger-on-status
function, which can be passed torun-context
to start a debugger onabnormal fiber signals.
-d
flag to use the built-in debugger on errors and breakpoints.parse-all
as a generalization of theparse
function.os/cpu-count
to get the number of available processors on a machineThis discussion was created from the release Janet 1.23.0.
Beta Was this translation helpful? Give feedback.
All reactions