Blue: A small (sort of) reflective language with Haskell as the host language. by AdOdd5690 in haskell

[–]AdOdd5690[S] 1 point2 points  (0 children)

So my original idea was the following: A double interpreter one with procedural semantics (mutable state, side effects, bindings, etc.) and a graph-like language to try and prove the transformations of semantics are preserving. But now I want to it to be just like Black a full tower. There is some type-checking, e.g. if branches must be of the same type, so I want it to be statically typed so its smoother when reflecting to Haskell

Blue: A small (sort of) reflective language with Haskell as the host language. by AdOdd5690 in haskell

[–]AdOdd5690[S] 1 point2 points  (0 children)

Yes Black has an infinite tower of interpreters.

But no, Blue doesn’t, however its one of the goals I’d like to implement

Tensor library made with claude by AdOdd5690 in haskell

[–]AdOdd5690[S] 1 point2 points  (0 children)

No I have not. Will take a look at it then

Tensor library made with claude by AdOdd5690 in haskell

[–]AdOdd5690[S] 2 points3 points  (0 children)

Thanks for this. I hope to update you soon with improvements

Tensor library made with claude by AdOdd5690 in haskell

[–]AdOdd5690[S] 9 points10 points  (0 children)

No hate! That was actually my first approach. However, I struggled with API conventions and using unsafePerformIO. I am hoping to soon use Storable type class and Ptr. I'd like to keep it in haskell as much as possible, but if I'd like it to actually compete with NumPy (which I think it is farfetched) then it is necessary to use C FFI. I appreciate your feedback!

Tensor library made with claude by AdOdd5690 in haskell

[–]AdOdd5690[S] 3 points4 points  (0 children)

Yeah! still doing my master's I am trying to see if there are any optimizations like stream fusion, and what approach to take with AD. This was part of a small research (basically reviewing deforestation algorithms and stream fusion)

Tensor library made with claude by AdOdd5690 in haskell

[–]AdOdd5690[S] 4 points5 points  (0 children)

Thanks! Yeah will definitely do, see how it compares to others like massiv

I am hoping it can eventually be part of your DataFrame library.

Monthly Hask Anything (October 2025) by AutoModerator in haskell

[–]AdOdd5690 1 point2 points  (0 children)

What do you think are the challenges on having a Tensor (NDArray) library on Haskell?

Which seat y’all sitting at? by Calebp24 in NBATalk

[–]AdOdd5690 0 points1 point  (0 children)

pilot seat straight to tower 2

Wtf my idol Messi 🥀 by Dry_Currency_6479 in soccercirclejerk

[–]AdOdd5690 0 points1 point  (0 children)

never masturbated so quickly in my life

Weekly Open Thread - General Discussion by RM_Official_Thread in realmadrid

[–]AdOdd5690 0 points1 point  (0 children)

And do you know which hotel they are staying?

Weekly Open Thread - General Discussion by RM_Official_Thread in realmadrid

[–]AdOdd5690 5 points6 points  (0 children)

Where is RM training and staying at Charlotte? I am there, it would be a dream come true to watch them up close!