NiLang.jl icon indicating copy to clipboard operation
NiLang.jl copied to clipboard

A differential eDSL that can run faster than light and go back to the past.

Results 17 NiLang.jl issues
Sort by recently updated
recently updated
newest added

Hi, just an idea, feel free to close. Would it be possible to write a reversible arithmetic encoder? Such that the inverse of the encoder is the decoder. And you...

@JuliaRegistrator register

1. Some of the latex is not rendering g 2. Errors resulting when defining functions for all nilang functions julia 1.6.2 NiLang v0.9.1 Pluto v0.16.1

A reason to remove general iterator support. https://github.com/jieli-matrix/NiSparseArrays.jl/pull/29

I thought something like this should work: ```julia @i function add1!(out!) out! .+= 1 end x = zeros(Int, 4, 4) add1_new!(x) # ERROR: MethodError: no method matching unzipped_broadcast(::PlusEq{typeof(identity)}, ::Matrix{Int64}, ::Int64)...

I'm still learning NiLang, please kindly point out things that I misunderstood :)

## Performance tips * [ ] when does compiler optimize away ~@routine ## Notations * [ ] how to input leftarrow. ## others * [ ] integers are not differentiated.

Hi, l wanted to write my reversible matrix-vector dot product by followings the examples at https://github.com/GiggleLiu/NiLang.jl/blob/master/src/stdlib/sparse.jl But I got some error. The details are as follows: I rewrote this function...

I don't know whether `@inbounds` and `@simd` is allowed in NiLang. ```julia x = rand(64, 64) @btime i_mean_sum(0.0, 0.0, $x) # 228.673 ns (0 allocations: 0 bytes) # PR #...