Repository navigation
jule
- add: the
inline,noinline, andnoinitdirectives - add: address casting support for structure and trait methods
- add: compiler intrinsics
- add: the built-in
clear,sizeof,alignof, andoffsetoffunctions - add: the
shiftoption to thedisabledirective - update:
uintptrsupports pointer arithmetic now - update: address casting semantics for functions
- update: concurrency model
- update: add
catchkeyword for fallible functions instead ofelse - remove:
namespacedirective
julec
- update: fallback to undeterministic but efficient name generation for IR
- update:
darwinoperating system target asmacos - update: avoid double computation of the length data when the built-in
makefunction uses length data as capacity for slice allocation - update: catch negative shift amount values at runtime and panic
- update:
--opt-inineno longer marks#exportfunctions as inline by default to improve API develeopment experience - improve: generate IR code to prevent infinite loop undefined behavior based optimizations of the back-end compilers
- fix: code generation for underlying tuple types of function result types may generate same type name for different function attributes
- fix: generation of duplicate source code arguments for external use statements linking to a source file
- fix: optimized shift expressions may block possible optimizations on parent expressions
- ast: rename
ScopeTreeasScope - sema: fix untyped status of untyped constant values is removed when they used in binary expression and operands are different kind of types
- sema: include module/package name in type error messages when suitable
- sema: migrate to AST-backed semantic AST
- sema: improve error message for non-instantiated generic types in casting expressions
- sema: allow blank identifiers for scope variables
- sema: catch constant negative shift amount values at comptime
- sema: fix assignments with constant values can cause mutability error when type is mutable
- sema: fix compiler error may appear when comparing trait with a compatible type
- sema: fix misused comptime functions may cause compiler crash due to nil pointer dereference
- sema: fix variadic arguments with a compatibile type allowed for type enums and traits
- sema: fix method analysis of structures
- sema: fix illegal cycle analysis for structures
- sema: fix goto and label handling of the missing return analysis
- sema: fix type compatibility analysis of binary eval for numerical types
Standard Library
- remove:
std/mem - all: migrate to sync runtime and remove async runtime specifics
- runtime: add
Task - runtime: migrate to runtime implemented allocator
- runtime:
printandprintlncalls panics if write operation failed - runtime: replace
darwinvalue ofOSvariable asmacos - runtime: show dereferencing location instead of panic call location for nil reference pointer dereferencing panics
- (darwin) runtime: use
CLOCK_UPTIME_RAWinstead ofCLOCK_MONOTONICfor nanotime - runtime: fix
juleToStringimplementation of functions - runtime: fix channel senders may be blocked infinitely
- add:
std/intrinsic - std/comptime: add
HasTag - std/comptime: rename
IncludeStrasIncludeString - std/comptime: rename
TypeOfasTypeof - std/comptime: rename
ValueOfasValueof - std/encoding/json: fix depth handling of encoding
- std/encoding/json: unkown fields disallowed by default
- std/encoding/json: reimplement
Decoder.DisallowUnknownFields - std/fmt: reimplement formatting
- std/jule/ast: reimplement
- std/jule/directive: remove
Namespace - std/jule/directive: add
Noinit,Noinline,Inline - std/jule/dist: add
MacOS,IsMacOS - std/jule/mod: add
InvalidID - std/jule/parser: add
Parser - std/jule/token: reimplement
- std/math/big: update mutability of
Int - (darwin) std/net: fix XNU kernel bug for accepted sockets
- (darwin) std/net: fix max listener backlog detection passes invalid syscall argument
- std/os: remove unnecessary mutability of
Cmd.New - std/slices: add
IsSortedFunc - std/sync/atomic: add
Fence - std/sync/atomic: reimplement
CompareAndSwapandCompareAndSwapWeak - std/time: add
Instant
API
- add:
__JULE_NOINLINE - add:
__jule_unreachable - add:
__jule_doSpin - add:
__jule_malloc - add:
__jule_free - remove:
__jule_readStdin - remove:
__jule_pseudoMalloc
Backwards Compatibility
This version includes fundamental changes, such as a shift in the concurrency model. Code written for older versions may exhibit significant differences in behavior or fail to compile.