Remix.run Logo
freakynit an hour ago

Probably because Redis gives you a very well-defined/understood set of rich data structures with built-in behavior like TTL, atomic operations, eviction, and persistence. These things are otherwise usually scattered across native types, helper classes, or entirely separate libraries.

stingraycharles an hour ago | parent [-]

It doesn’t seem like the right tool for the job, though. Aren’t your own programming language’s constructs much more well-defined / understood ?

freakynit 33 minutes ago | parent | next [-]

Language's own native data-structures are generally much more capable and vast. 99%+ developers use only a very limited set of those capabilities. This approach packages those most used ones into a nice, consistent DSL.

It's similar in effect to what busybox does to shell utilities, though the motives are different.

lpapez 39 minutes ago | parent | prev [-]

I use PHP. None of the language tools or constructs available to me are adequate.

https://blog.codinghorror.com/the-php-singularity/

stingraycharles 31 minutes ago | parent [-]

And you want to embed Redis inside PHP as a solution?? That’s nuts.