News for hackers. Stuff that matters.
Re:PostgreSQL is the worlds’ best database by BiteCode_dev on Friday April 03, 2020 @09:38AM (#22769004)
> Development and unit tests for these functions is as easy as plain Javascript.

Since most popular product in the JS world are product to avoid writing Javascript (webpack+babel, typescript, coffeescript, jsx, etc), and plv8 supports non of that nor does it support standard unit tests framework like Jest, I'm not convinced.

To make things even worst, remote debugging is not supported anymore: https://github.com/plv8/plv8/issues/131#issuecomment-2377111...

Re:PostgreSQL is the worlds’ best database by sscarduzio on Friday April 03, 2020 @10:45AM (#22769669)
I personally this time around, I found no need to even use a framework for unit testing a single javascript function.

If I had to do something that feels too complex, I'd write some interfaces in TypeScript to represent the tuples, then implement the function in TS, and compile it into plain JS in order to deploy it to plv8.