HN user

whiteros_e

118 karma
Posts5
Comments8
View on HN

it is indeed a great teacher but there are times where it hallucinates and sticks to the hallucinated content even after several iteration unless human in the loop breaks it. i've wasted hours believing what LLM hallucinated.

my learnings are a lot of microdoses of things that I usually don't work on in a day to day so i don't want to spend time reading about it but yes this sort of learning would be otherwise impossible so gotta thank LLM for that.

Dynamic classes cannot be GC'd without the classloader being dereferenced. In this case, if eval used an existing classloader we would end up exhausting metaspace and leading to MaxPermGen exception.

Initial Clojure implementation was checking for an already created classloader and tried to reuse. They had commented out the code that was doing it.

Link to the code in the compiler: https://github.com/clojure/clojure/blob/clojure-1.11.0/src/j...

The platform was written in Clojure from ground up since the team was small and rest of the company was using Clojure mostly in combination of Java.

Now most of the company moved out of Clojure for various reasons but they didn't try to write performant code and instead just chose to rewrite which I want to avoid. Try as much as possible before deciding to rewrite since rewrite is expensive given the codebase has lot of things.

I am glad, it's not Java though.

Lack of documentation around performance related stuff and high memory usage because of immutable data structure.

Otherwise it's great. I try to do it in my free time since most of the clojure services are stable(in terms of features) and we are just scaling it up as we see increase in traffic but it's not really helping right now.